From 9290bd98bfef3e7bd9cb4b4027fadf97aec70c69 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 13 Oct 2006 16:41:59 +0000 Subject: small fixes --- firma | 64 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 31 deletions(-) (limited to 'firma') diff --git a/firma b/firma index b6a6a09..99274e7 100755 --- a/firma +++ b/firma @@ -889,7 +889,7 @@ function NewList { # list description, passphrase and key size if [ "$return_code" == "0" ]; then - read -rep " List description (optional): " DESCRIPTION + read -rep " List description (optional): " KEY_DESCRIPTION while true; do read -rep " Automatically create a passphrase for the list pubkey? (Y/n) " answer answer="`echo $answer | tr '[:lower:]' '[:upper:]'`" @@ -967,16 +967,17 @@ function NewList { if [ -f "$LIST_CONFIG_FILE" ]; then DeclareGpgVars echo -e "LIST_HOMEDIR='$LIST_HOMEDIR'\nLIST_ADDRESS='$LIST_ADDRESS'\nLIST_ADMIN='$LIST_ADMIN'\nPASSPHRASE='$PASSPHRASE'" > $LIST_CONFIG_FILE + echo -e "KEY_SIZE='$KEY_SIZE'\nKEY_DESCRIPTION=$KEY_DESCRIPTION" >> $LIST_CONFIG_FILE echo "Now generating your keyring..." $GPG --gen-key <