1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Print a note for revoked signing keys.

This commit is contained in:
Werner Koch 2008-05-08 10:10:27 +00:00
parent 99361140a2
commit dbaca1ed0f
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-05-08 Werner Koch <wk@g10code.com>
* sig-check.c (do_check_messages): Print a revocation diagnostic
in verbose mode.
2008-05-07 Werner Koch <wk@g10code.com> 2008-05-07 Werner Koch <wk@g10code.com>
* gpg.c: New command --locate-keys. New options --with-sig-list * gpg.c: New command --locate-keys. New options --with-sig-list

View File

@ -220,8 +220,14 @@ do_check_messages( PKT_public_key *pk, PKT_signature *sig,
*r_expired = 1; *r_expired = 1;
} }
if(pk->is_revoked && r_revoked) if (pk->is_revoked)
{
if (opt.verbose)
log_info (_("NOTE: signature key %s has been revoked\n"),
keystr_from_pk(pk));
if (r_revoked)
*r_revoked=1; *r_revoked=1;
}
return 0; return 0;
} }