Ingo Klöcker 34d9defc42 core: Allow specifying an expiration date for key signatures
* src/context.h (struct gpgme_context): Add 'cert_expire'.
* src/engine-gpg.c (append_args_from_cert_expire): New.
(gpg_edit): Set option according to the new flag.
* src/gpgme.c (gpgme_release): Free 'cert_expire'.
(gpgme_set_ctx_flag, gpgme_get_ctx_flag): Add "cert-expire".

* tests/gpg/Makefile.am (c_tests): Add new test.
(gpg.conf): Write "allow-weak-key-signatures" to gpg.conf.
* tests/gpg/t-edit-sign.c: New.
--

The new context flag "cert-expire" allows setting the expiration date
for key signatures created with gpgme_op_interact.

GnuPG-bug-id: 5336, 5505
2021-06-22 16:35:03 +02:00
..
2018-11-08 12:34:27 +07:00
2018-11-08 12:34:27 +07:00
DCO
2012-09-25 19:21:00 +02:00
2015-08-26 10:06:00 +02:00
2015-08-26 10:06:00 +02:00
2008-07-04 15:46:01 +00:00
2016-08-10 16:33:20 +02:00