tminor corrections to new gpg related message formatting - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 66aa7fdac754a505c749c984766c101ca52030eb
DIR parent 3e0dd1e1112e186d96956842ef9dd4ca9f6c2df8
HTML Author: Jaromil <jaromil@dyne.org>
Date: Sun, 16 Apr 2017 12:07:41 +0200
minor corrections to new gpg related message formatting
Diffstat:
M tomb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/tomb b/tomb
t@@ -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
t@@ -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