gpgme/tests
Ingo Klöcker db82e99a8a core: New function gpgme_op_setexpire.
* src/gpgme.h.in (gpgme_op_setexpire_start, gpgme_op_setexpire): New.
* src/libgpgme.vers, src/gpgme.def: Add new functions.
* src/genkey.c (setexpire): New.
(gpgme_op_setexpire_start, gpgme_op_setexpire): New.
* src/engine.h, src/engine.c: (_gpgme_engine_op_setexpire): New.
* src/engine-backend.h (engine_ops): Add 'setexpire' and adjust all
engine initializers.
* src/engine-gpg.c (gpg_setexpire): New.
(_gpgme_engine_ops_gpg): Set setexpire to gpg_setexpire.
* doc/gpgme.texi: Document new functions.
* tests/run-genkey.c: Add option --setexpire.
--

This extends GPGME to support the --quick-set-expire command
added by GnuPG 2.1.22. This allows changing subkeys expiry
date without going through the editinteractor interface.

Co-authored-by: Andre Heinecke <aheinecke@gnupg.org>
GnuPG-bug-id: 4999
2020-08-04 16:51:56 +02:00
..
gpg core: Deprecate the non-working trustlist functions. 2020-07-15 16:34:24 +02:00
gpgsm tests: Add ECC key generation for tests/gpgsm. 2020-03-27 19:50:24 +09:00
json tests, json: Do not check for keygrip of pubkeys 2020-05-08 10:30:53 +02:00
opassuan build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. 2019-01-16 10:59:25 +09:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
Makefile.am build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. 2019-01-16 10:59:25 +09:00
run-decrypt.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-encrypt.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-export.c core: New export mode to export as OpenSSH public key. 2020-07-16 12:00:46 +02:00
run-genkey.c core: New function gpgme_op_setexpire. 2020-08-04 16:51:56 +02:00
run-identify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-import.c tests: Add cms mode to run-import 2019-05-02 10:26:44 +02:00
run-keylist.c core: Extend gpgme_user_id_t with uidhash member. 2019-12-13 15:11:00 +01:00
run-keysign.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-sign.c core: New context flags "include-key-block" and "auto-key-import". 2020-03-17 17:24:21 +01:00
run-support.h Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-swdb.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-threaded.c tests: Minor fix to run-threaded.c. 2019-06-06 18:59:16 +02:00
run-tofu.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
run-verify.c core: New context flags "include-key-block" and "auto-key-import". 2020-03-17 17:24:21 +01:00
start-stop-agent tests: Fix distcheck. 2017-07-13 16:06:27 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-engine-info.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
t-version.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00