mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
Don't print anonymous recipient messages in quiet mode.
This is bug#1378.
This commit is contained in:
parent
958f29d225
commit
ea9df94ec8
@ -1,3 +1,8 @@
|
||||
2011-11-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* pubkey-enc.c (get_session_key): Don't print anonymous recipient
|
||||
messages in quiet mode. This is bug#1378.
|
||||
|
||||
2011-11-06 Werner Koch <wk@g10code.com>
|
||||
|
||||
* card-util.c (generate_card_keys): Add arg CTRL.
|
||||
|
@ -110,13 +110,15 @@ get_session_key (PKT_pubkey_enc * k, DEK * dek)
|
||||
if (!(sk->pubkey_usage & PUBKEY_USAGE_ENC))
|
||||
continue;
|
||||
keyid_from_pk (sk, keyid);
|
||||
log_info (_("anonymous recipient; trying secret key %s ...\n"),
|
||||
keystr (keyid));
|
||||
if (!opt.quiet)
|
||||
log_info (_("anonymous recipient; trying secret key %s ...\n"),
|
||||
keystr (keyid));
|
||||
|
||||
rc = get_it (k, dek, sk, keyid);
|
||||
if (!rc)
|
||||
{
|
||||
log_info (_("okay, we are the anonymous recipient.\n"));
|
||||
if (!opt.quiet)
|
||||
log_info (_("okay, we are the anonymous recipient.\n"));
|
||||
break;
|
||||
}
|
||||
else if (gpg_err_code (rc) == GPG_ERR_FULLY_CANCELED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user