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-10-31 12:35:14 +01:00
2018-11-08 12:34:27 +07:00
2018-11-08 12:34:27 +07:00
2020-11-09 11:50:46 +01:00
2020-10-29 12:57:10 +01:00
2020-08-14 11:11:23 +02:00
2020-10-29 12:57:10 +01:00
2018-11-12 09:59:05 +09:00
2017-12-08 05:59:11 +01:00
2020-11-03 17:47:44 -08:00
2020-10-29 12:57:10 +01:00
2020-11-03 17:47:44 -08:00
2021-01-08 18:14:33 +01:00