aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-ldap.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-06-20 13:17:19 +0000
committerWerner Koch <[email protected]>2025-06-20 13:17:19 +0000
commit3f825b044b2f1db8773f27a96034c925177fe9f0 (patch)
tree4b705371e69b8bb52ad701db918e28723269f160 /dirmngr/ks-engine-ldap.c
parentdirmngr: Do not require a keyserver for KS_FETCH. (diff)
downloadgnupg-3f825b044b2f1db8773f27a96034c925177fe9f0.tar.gz
gnupg-3f825b044b2f1db8773f27a96034c925177fe9f0.zip
gpg: Show revocation reason with a standard -k listing.
* g10/packet.h (struct revoke_info): Extend to carry the recocation reason. * g10/getkey.c (sig_to_revoke_info): Extend to strore the reason. (merge_selfsigs): Extend to also store the reason in the public key. * g10/keylist.c (list_signature_print): Factor some code out to ... (print_revocation_reason_comment): new function. (print_revocation_reason): New. (print_key_line): Call new function to print the reason. * g10/import.c (get_revocation_reason): Use print_revocation_reason_comment and factor some code out to ... (revocation_reason_code_to_str): new function. * g10/gpgv.c (revocation_reason_code_to_str): Add stub. * g10/test-stubs.c (revocation_reason_code_to_str): Ditto. -- With this change the revocation reason of a revoked key (but not for a revoked uid or subkey) is now displayed in "gpg -k" listing right below the primary key fingerprint. Before that "gpg --checks-sigs" was required to do show this info. GnuPG-bug-id: 7083
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions