summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/decrypt4
-rwxr-xr-xscripts/encrypt4
-rwxr-xr-xscripts/genpair6
-rwxr-xr-xscripts/recrypt4
4 files changed, 12 insertions, 6 deletions
diff --git a/scripts/decrypt b/scripts/decrypt
index a6fb8d5..55888ee 100755
--- a/scripts/decrypt
+++ b/scripts/decrypt
@@ -1,5 +1,7 @@
#!/bin/bash
-# decrypt
+#
+# Decrypt files.
+#
FILE="$1"
BASENAME="`basename $0`"
diff --git a/scripts/encrypt b/scripts/encrypt
index d5a2e1c..23aeaf7 100755
--- a/scripts/encrypt
+++ b/scripts/encrypt
@@ -1,5 +1,7 @@
#!/bin/bash
-# encrypt to multiple recipients
+#
+# Encrypt files to multiple recipients.
+#
FILE="$1"
BASENAME="`basename $0`"
diff --git a/scripts/genpair b/scripts/genpair
index 1c0fa4c..ddbc2fd 100755
--- a/scripts/genpair
+++ b/scripts/genpair
@@ -7,7 +7,7 @@
#
# Generate a keypair, ssh version
-function keygen_ssh {
+function genpair_ssh {
echo "Make sure that $homedir is atop of an encrypted volume."
read -p "Hit ENTER to continue." prompt
@@ -19,7 +19,7 @@ function keygen_ssh {
}
# Generate a keypair, gpg version
-function keygen_gpg {
+function genpair_gpg {
echo "Make sure that $homedir is atop of an encrypted volume."
read -p "Enter password for the private key: " passphrase
@@ -64,4 +64,4 @@ if [ "$?" != "0" ]; then
fi
# Dispatch
-keygen_$keytype
+genpair_$keytype
diff --git a/scripts/recrypt b/scripts/recrypt
index f2c8d6a..48c4d40 100755
--- a/scripts/recrypt
+++ b/scripts/recrypt
@@ -1,5 +1,7 @@
#!/bin/bash
-# re-encrypt to multiple recipients
+#
+# Re-encrypt files to multiple recipients.
+#
FILE="$1"
BASENAME="`basename $0`"