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:
parent
99361140a2
commit
dbaca1ed0f
@ -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
|
||||||
|
@ -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)
|
||||||
*r_revoked=1;
|
{
|
||||||
|
if (opt.verbose)
|
||||||
|
log_info (_("NOTE: signature key %s has been revoked\n"),
|
||||||
|
keystr_from_pk(pk));
|
||||||
|
if (r_revoked)
|
||||||
|
*r_revoked=1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user