Home GnuPG
Diffusion GPGME adadfac997a8

core: Add information about revocation keys to keys

Description

core: Add information about revocation keys to keys

* src/gpgme.h.in (struct _gpgme_revocation_key,
gpgme_revocation_key_t): New.
(struct _gpgme_key): Add fields 'revkeys', '_last_revkey'.
* src/key.c (_gpgme_key_add_rev_key): New.
(gpgme_key_unref): Free revkeys.
* src/keylist.c (keylist_colon_handler): Parse rvk lines.
* src/ops.h (_gpgme_key_add_rev_key): New.
* tests/run-keylist.c (main): Print revocation key info.

Details

Provenance
ikloeckerAuthored on May 15 2024, 10:31 AM
Parents
rMac4bf86bb65a: tests: Fix segv in t-json.c
Branches
Unknown
Tags
Unknown
Tasks
T7118: gpgme: Add support for designated revokers