From b49a36a07b66b8576bfeca83779125b5a64e4435 Mon Sep 17 00:00:00 2001 From: bjonnh Date: Fri, 17 Aug 2018 14:03:33 -0500 Subject: [PATCH] Add support for multiple keys especially subkeys Correcting issue #316 --- tomb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomb b/tomb index b2e86de..1fe7765 100755 --- a/tomb +++ b/tomb @@ -1242,7 +1242,7 @@ gen_key() { _warning "It is your responsibility to check these fingerprints." _warning "The fingerprints are:" for gpg_id in ${recipients[@]}; do - _warning " `_fingerprint "$gpg_id"`" + _warning " `_fingerprint "$gpg_id" ($gpg_id)`" done gpgopt+=(`_recipients_arg "$recipients_opt" $recipients`) @@ -1322,7 +1322,7 @@ gen_key() { local tmpres=$TOMBTMP print $opt - "$gpgpass" \ | gpg --openpgp --force-mdc --cipher-algo ${algo} \ - --batch --no-tty ${gpgopt[@]} \ + --batch --no-tty ${gpgopt} \ --status-fd 2 -o - --armor 2> $tmpres unset gpgpass # check result of gpg operation