aboutsummaryrefslogtreecommitdiff
path: root/lib/keyring
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyring')
-rw-r--r--lib/keyring/crypt.rb20
-rw-r--r--lib/keyring/fs.rb21
-rw-r--r--lib/keyring/recipients.rb20
3 files changed, 60 insertions, 1 deletions
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 = '..')