]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Minor changes
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Dec 2009 23:53:21 +0000 (21:53 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Dec 2009 23:53:21 +0000 (21:53 -0200)
scripts/decrypt
scripts/encrypt
scripts/genpair
scripts/recrypt

index a6fb8d5457852ddef5d53da23e0b19c791cf9ea0..55888ee9142f36a1b82af71af056104f8a560566 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-# decrypt
+#
+# Decrypt files.
+#
 
 FILE="$1"
 BASENAME="`basename $0`"
index d5a2e1c1e739550e0ddc8dc5ce7390eb00504b3c..23aeaf73ed5480ccaa690316a9e38036f1b21214 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-# encrypt to multiple recipients
+#
+# Encrypt files to multiple recipients.
+#
 
 FILE="$1"
 BASENAME="`basename $0`"
index 1c0fa4c93bf8503065d6ef09823ffb48588d45ea..ddbc2fd98785705e9436281e548312457b876b05 100755 (executable)
@@ -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
index f2c8d6a254ce54656cc1c698bfde61579d4ef1a2..48c4d40d0bf8e5e0096ecf0d49371814f08ccf4a 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
-# re-encrypt to multiple recipients
+#
+# Re-encrypt files to multiple recipients.
+#
 
 FILE="$1"
 BASENAME="`basename $0`"