From 575f4ced80428f7063a00c6957956d7160b6f31c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 31 Jan 2011 21:24:36 -0200 Subject: Adding license to ruby files --- bin/keyringer | 1 - lib/backend.rb | 20 ++++++++++++++++++++ lib/backend/recipients_store.rb | 20 ++++++++++++++++++++ lib/keyring.rb | 20 ++++++++++++++++++++ lib/keyring/crypt.rb | 20 ++++++++++++++++++++ lib/keyring/fs.rb | 21 ++++++++++++++++++++- lib/keyring/recipients.rb | 20 ++++++++++++++++++++ lib/keyringer.rb | 20 ++++++++++++++++++++ lib/keyringer/actions/decrypt.rb | 20 ++++++++++++++++++++ lib/keyringer/actions/recipients.rb | 20 ++++++++++++++++++++ lib/keyringer/bash_wrapper.rb | 20 ++++++++++++++++++++ 11 files changed, 200 insertions(+), 2 deletions(-) diff --git a/bin/keyringer b/bin/keyringer index 098719b..fa569ff 100755 --- a/bin/keyringer +++ b/bin/keyringer @@ -46,4 +46,3 @@ rescue Exception => e exit 1 end - diff --git a/lib/backend.rb b/lib/backend.rb index 6be9016..e427d2e 100644 --- a/lib/backend.rb +++ b/lib/backend.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + # internal requires $:.unshift File.dirname(__FILE__) require 'backend/crypt' diff --git a/lib/backend/recipients_store.rb b/lib/backend/recipients_store.rb index 158aabf..16b063b 100644 --- a/lib/backend/recipients_store.rb +++ b/lib/backend/recipients_store.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Backend # a store for the recipients configuration class RecipientsStore diff --git a/lib/keyring.rb b/lib/keyring.rb index d3e9260..d394f47 100644 --- a/lib/keyring.rb +++ b/lib/keyring.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + # internal requires $:.unshift File.dirname(__FILE__) require 'backend' diff --git a/lib/keyring/crypt.rb b/lib/keyring/crypt.rb index 5968730..06b8ad7 100644 --- a/lib/keyring/crypt.rb +++ b/lib/keyring/crypt.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyring class Crypt def decrypt(filename) diff --git a/lib/keyring/fs.rb b/lib/keyring/fs.rb index 9f20378..26bdcb8 100644 --- a/lib/keyring/fs.rb +++ b/lib/keyring/fs.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyring class Fs def get_as_string(filename) @@ -10,4 +30,3 @@ module Keyring end end end - diff --git a/lib/keyring/recipients.rb b/lib/keyring/recipients.rb index 4cd9a48..af3491e 100644 --- a/lib/keyring/recipients.rb +++ b/lib/keyring/recipients.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyring class Recipients def initialize(aBaseDirectory = '..') diff --git a/lib/keyringer.rb b/lib/keyringer.rb index 257c5ad..f719052 100644 --- a/lib/keyringer.rb +++ b/lib/keyringer.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + # internal requires $:.unshift File.dirname(__FILE__) require 'keyring' diff --git a/lib/keyringer/actions/decrypt.rb b/lib/keyringer/actions/decrypt.rb index 8fdd175..f76dcc9 100644 --- a/lib/keyringer/actions/decrypt.rb +++ b/lib/keyringer/actions/decrypt.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyringer module Actions class Decrypt diff --git a/lib/keyringer/actions/recipients.rb b/lib/keyringer/actions/recipients.rb index c5f30ed..c093416 100644 --- a/lib/keyringer/actions/recipients.rb +++ b/lib/keyringer/actions/recipients.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyringer module Actions class Recipients diff --git a/lib/keyringer/bash_wrapper.rb b/lib/keyringer/bash_wrapper.rb index b93a080..30aa3d2 100644 --- a/lib/keyringer/bash_wrapper.rb +++ b/lib/keyringer/bash_wrapper.rb @@ -1,3 +1,23 @@ +#!/usr/bin/env ruby +# +# Keyringer secret management system. +# +# Copyright (C) 2011 Keyringer Development Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + module Keyringer class BashWrapper def execute -- cgit v1.2.3