summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-29 21:53:21 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-29 21:53:21 -0200
commitb6115dbdc3c7b77be834a474131c9f68bbdd7487 (patch)
treeee9fb2a1f9dc955c6850fd2dcbaf1a736f7c9882 /scripts
parent8a5ad881c96aa85b2ca8057c313183ee5cddb4e9 (diff)
downloadkeyringer-b6115dbdc3c7b77be834a474131c9f68bbdd7487.tar.gz
keyringer-b6115dbdc3c7b77be834a474131c9f68bbdd7487.tar.bz2
Minor changes
Diffstat (limited to 'scripts')
-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`"