summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2017-04-16 10:07:41 (GMT)
committer Jaromil <jaromil@dyne.org>2017-04-16 10:07:41 (GMT)
commit66aa7fdac754a505c749c984766c101ca52030eb (patch)
tree50f701764a33b2dc79655d57bacf188567f31de5
parent3e0dd1e1112e186d96956842ef9dd4ca9f6c2df8 (diff)
minor corrections to new gpg related message formatting
-rwxr-xr-xtomb4
1 files 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