tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 66aa7fdac754a505c749c984766c101ca52030eb
parent 3e0dd1e1112e186d96956842ef9dd4ca9f6c2df8
Author: Jaromil <jaromil@dyne.org>
Date:   Sun, 16 Apr 2017 12:07:41 +0200

minor corrections to new gpg related message formatting

Diffstat:
Mtomb | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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