Home GnuPG
Diffusion GPGME f3407d0ee4e3

core: New function gpgme_op_revsig.

Tags
None
Subscribers
None
Tokens
"Orange Medal" token, awarded by werner.

Description

core: New function gpgme_op_revsig.

* src/gpgme.h.in (gpgme_op_revsig_start, gpgme_op_revsig): New.
(GPGME_REVSIG_LFSEP): New.
* src/context.h (ctx_op_data_id_t): Add OPDATA_REVSIG.
* src/revsig.c: New.
* src/Makefile.am (main_sources): Add revsig.
* src/libgpgme.vers, src/gpgme.def: Add gpgme_op_revsig and
gpgme_op_revsig_start.
* src/engine.h, src/engine.c: (_gpgme_engine_op_revsig): New.
* src/engine-backend.h (engine_ops): Add 'revsig' and adjust all
engine initializers.
* src/engine-gpg.c (gpg_revsig): New.
(_gpgme_engine_ops_gpg): Set revsig to gpg_revsig.
* doc/gpgme.texi: Document new functions.
* tests/run-keysign.c: Add option --revoke.

This extends GPGME to support the --quick-revoke-sig command
added by GnuPG 2.2.24. This allows revoking key signatures.

Details

Provenance
ikloeckerAuthored on Oct 27 2020, 3:33 PM
Parents
rM089164a0c0d6: python: Handle the when case __doc__ is None.
Branches
Unknown
Tags
Unknown
Tasks
T5094: Kleopatra: Add "revsig" support