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