1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

gpg: Print the revocation reasons as comment in the pub record.

* g10/keylist.c (list_keyblock_colon): Print the revocation reasons in
the pub record's comment field.
--

GnuPG-bug-id: 7083
This commit is contained in:
Werner Koch 2025-06-20 15:52:54 +02:00
parent 3f825b044b
commit ce5e903bec
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 26 additions and 3 deletions

View file

@ -296,9 +296,12 @@ described here.
*** Field 21 - Comment
This is currently only used in "rev" and "rvs" records to carry
the the comment field of the revocation reason. The value is
quoted in C style.
This is currently only used in "rev", "rvs", ans "pub" records to
carry the comment field of the revocation reason. The value is
quoted in C style. For a "pub" record the comment is preceeded by
a human readable recovation reason followed by a LF; this allows
to show the import entire key revocation (class 0x20) reason
without running a --with-sigs listing.
** Special fields