diff options
-rwxr-xr-x | bin/keyringer | 1 | ||||
-rw-r--r-- | lib/backend.rb | 20 | ||||
-rw-r--r-- | lib/backend/recipients_store.rb | 20 | ||||
-rw-r--r-- | lib/keyring.rb | 20 | ||||
-rw-r--r-- | lib/keyring/crypt.rb | 20 | ||||
-rw-r--r-- | lib/keyring/fs.rb | 21 | ||||
-rw-r--r-- | lib/keyring/recipients.rb | 20 | ||||
-rw-r--r-- | lib/keyringer.rb | 20 | ||||
-rw-r--r-- | lib/keyringer/actions/decrypt.rb | 20 | ||||
-rw-r--r-- | lib/keyringer/actions/recipients.rb | 20 | ||||
-rw-r--r-- | 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 <http://www.gnu.org/licenses/>. +# + # 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 <http://www.gnu.org/licenses/>.
+#
+
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 <http://www.gnu.org/licenses/>. +# + # 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 <http://www.gnu.org/licenses/>. +# + 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 <http://www.gnu.org/licenses/>. +# + 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 <http://www.gnu.org/licenses/>.
+#
+
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 <http://www.gnu.org/licenses/>. +# + # 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 <http://www.gnu.org/licenses/>. +# + 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 <http://www.gnu.org/licenses/>.
+#
+
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 <http://www.gnu.org/licenses/>. +# + module Keyringer class BashWrapper def execute |