diff options
author | Werner Koch <[email protected]> | 2016-09-14 16:44:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-09-14 16:59:55 +0000 |
commit | bfd2bd0ccc9fed8284ef932ac788d4ca0dba0336 (patch) | |
tree | d5e1d2bf6ada915c1fc43343b32134fd84a798c8 /src/context.h | |
parent | python: Clarify that we support Python 2.7 too. (diff) | |
download | gpgme-bfd2bd0ccc9fed8284ef932ac788d4ca0dba0336.tar.gz gpgme-bfd2bd0ccc9fed8284ef932ac788d4ca0dba0336.zip |
core: New function gpgme_op_keysign.
* src/gpgme.h.in (gpgme_op_keysign_start, gpgme_op_keysign): New.
(GPGME_KEYSIGN_LOCAL): New.
(GPGME_KEYSIGN_LFSEP): New.
(GPGME_KEYSIGN_NOEXPIRE): New.
* src/context.h (ctx_op_data_id_t): Add OPDATA_KEYSIGN.
* src/keysign.c: New.
* src/Makefile.am (main_sources): Add keysig.
* src/libgpgme.vers, src/gpgme.def: Add gpgme_op_keysign_start.
* src/engine.c (_gpgme_engine_op_keysign): New.
* src/engine-backend.h (engine_ops): Add 'keysign' and adjust all
engine initializers.
* src/engine-gpg.c (_add_arg): Add args PREFIX and ARGLEN and change
callers to set them.
(add_arg_pfx): New.
(add_arg_len): New.
(gpg_keysign): New.
(_gpgme_engine_ops_gpg): Set keysign to gpg_keysign.
* tests/run-keysign.c: New.
* tests/Makefile.am (noinst_PROGRAMS): Add run-keysign.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.h b/src/context.h index de69a7a6..c099d668 100644 --- a/src/context.h +++ b/src/context.h @@ -38,7 +38,7 @@ typedef enum OPDATA_DECRYPT, OPDATA_SIGN, OPDATA_ENCRYPT, OPDATA_PASSPHRASE, OPDATA_IMPORT, OPDATA_GENKEY, OPDATA_KEYLIST, OPDATA_EDIT, OPDATA_VERIFY, OPDATA_TRUSTLIST, OPDATA_ASSUAN, OPDATA_VFS_MOUNT, - OPDATA_PASSWD, OPDATA_EXPORT + OPDATA_PASSWD, OPDATA_EXPORT, OPDATA_KEYSIGN } ctx_op_data_id_t; |