Diffusion GnuPG b7cd2c2093ae

gpg: Print revocation reason for "rvs" records.

Authored by werner on Jun 21 2018, 6:32 PM.


gpg: Print revocation reason for "rvs" records.

* g10/import.c (get_revocation_reason): New.
(list_standalone_revocation): Extend function.

Note that this function extends the "rvs" field signature-class (field

  1. with the revocation reason. GPGME does not yet parse this but it

can be expected that the comma delimiter does not break other parsers.

A new field is added to the "rvs" (and in future also the "rev")
record to carry a record specific comment. Hopefully all parsers
meanwhile learned the lesson from other new fields and don't bail out
on more fields than they know about.

This is partial solution to

  • GnuPG-bug-id: T1173
  • Signed-off-by: Werner Koch <wk@gnupg.org>