aboutsummaryrefslogtreecommitdiffstats
path: root/src/context.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-10-27 14:33:51 +0000
committerIngo Klöcker <[email protected]>2020-10-29 11:57:10 +0000
commitf3407d0ee4e34ed33be18de5f886a4da2affbf9f (patch)
treeffdd4777a07af84a034e58b0c9459e37013a61d7 /src/context.h
parentpython: Handle the when case __doc__ is None. (diff)
downloadgpgme-f3407d0ee4e34ed33be18de5f886a4da2affbf9f.tar.gz
gpgme-f3407d0ee4e34ed33be18de5f886a4da2affbf9f.zip
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. GnuPG-bug-id: 5094
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.h b/src/context.h
index 7f745a52..3ed38188 100644
--- a/src/context.h
+++ b/src/context.h
@@ -39,7 +39,7 @@ typedef enum
OPDATA_IMPORT, OPDATA_GENKEY, OPDATA_KEYLIST, OPDATA_EDIT,
OPDATA_VERIFY, OPDATA_TRUSTLIST, OPDATA_ASSUAN, OPDATA_VFS_MOUNT,
OPDATA_PASSWD, OPDATA_EXPORT, OPDATA_KEYSIGN, OPDATA_TOFU_POLICY,
- OPDATA_QUERY_SWDB, OPDATA_SETEXPIRE
+ OPDATA_QUERY_SWDB, OPDATA_SETEXPIRE, OPDATA_REVSIG
} ctx_op_data_id_t;