diff options
author | David Shaw <[email protected]> | 2004-12-30 03:26:57 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-12-30 03:26:57 +0000 |
commit | b37facc5939cf7bd262c543aad9008d6147ea128 (patch) | |
tree | 97ea29413c3b845e803af5cf3f64dbc25d8d37e5 /g10/keyedit.c | |
parent | Better implementation for the SRV check. We don't need to actually check (diff) | |
download | gnupg-b37facc5939cf7bd262c543aad9008d6147ea128.tar.gz gnupg-b37facc5939cf7bd262c543aad9008d6147ea128.zip |
* packet.h, getkey.c (merge_selfsigs_main, sig_to_revoke_info), keyid.c
(revokestr_from_pk), keyedit.c (show_key_with_all_names): Show who revoked
a key (either the same key or a designated revoker) and when.
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r-- | g10/keyedit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 28e153f1f..badac86c9 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -2317,6 +2317,15 @@ show_key_with_all_names( KBNODE keyblock, int only_marked, int with_revoker, primary=pk; } + if(pk->is_revoked) + { + char *user=get_user_id_string_native(pk->revoked.keyid); + const char *algo=pubkey_algo_to_string(pk->revoked.algo); + tty_printf(_("This key was revoked on %s by %s key %s\n"), + revokestr_from_pk(pk),algo?algo:"?",user); + m_free(user); + } + if(with_revoker) { if( !pk->revkey && pk->numrevkeys ) |