mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
gpg: Silence expired trusted-key diagnostics in quiet mode.
* g10/trustdb.c (validate_keys): Take care of --quiet. -- GnuPG-bug-id: 7351
This commit is contained in:
parent
0f76dd905d
commit
7b2748c6d8
4
NEWS
4
NEWS
@ -2,6 +2,10 @@ Noteworthy changes in version 2.5.3 (unreleased)
|
|||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
See-also: gnupg-announce/2024q4/000xxx.html
|
||||||
|
Release-info: https://dev.gnupg.org/T7442
|
||||||
|
|
||||||
|
|
||||||
Noteworthy changes in version 2.5.2 (2024-12-05)
|
Noteworthy changes in version 2.5.2 (2024-12-05)
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
|
@ -2240,15 +2240,17 @@ validate_keys (ctrl_t ctrl, int interactive)
|
|||||||
keyblock = get_pubkeyblock (ctrl, k->kid);
|
keyblock = get_pubkeyblock (ctrl, k->kid);
|
||||||
if (!keyblock)
|
if (!keyblock)
|
||||||
{
|
{
|
||||||
log_info (_("Note: ultimately trusted key %s not found\n"),
|
if (!opt.quiet)
|
||||||
keystr(k->kid));
|
log_info (_("Note: ultimately trusted key %s not found\n"),
|
||||||
|
keystr(k->kid));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
pk = keyblock->pkt->pkt.public_key;
|
pk = keyblock->pkt->pkt.public_key;
|
||||||
if (pk->has_expired)
|
if (pk->has_expired)
|
||||||
{
|
{
|
||||||
log_info (_("Note: ultimately trusted key %s expired\n"),
|
if (!opt.quiet)
|
||||||
keystr(k->kid));
|
log_info (_("Note: ultimately trusted key %s expired\n"),
|
||||||
|
keystr(k->kid));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user