From 66aa7fdac754a505c749c984766c101ca52030eb Mon Sep 17 00:00:00 2001 From: Jaromil Date: Sun, 16 Apr 2017 12:07:41 +0200 Subject: [PATCH] minor corrections to new gpg related message formatting --- tomb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomb b/tomb index 9e0d26e..abb56f4 100755 --- a/tomb +++ b/tomb @@ -842,7 +842,7 @@ is_valid_recipients() { for gpg_id in ${recipients[@]}; do gpg --list-keys "$gpg_id" &> /dev/null [[ $? != 0 ]] && { - _warning "$gpg_id is not a valid key ID." + _warning "Not a valid GPG key ID: ::1 gpgid:: " $gpg_id return 1 } done @@ -1248,7 +1248,7 @@ gen_key() { _failure "You set an invalid GPG ID." } - _warning "You are going to encrypt a tomb key with ${#recipients} recipient(s)." + _warning "You are going to encrypt a tomb key with ::1 nrecipients:: recipient(s)." ${#recipients} _warning "It is your responsibility to check these fingerprints." _warning "The fingerprints are:" for gpg_id in ${recipients[@]}; do