aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-06-22 16:23:26 +0200
committerIngo Klöcker <[email protected]>2021-06-22 16:35:03 +0200
commit34d9defc42bacfaf2bb1ce70b2c3f0fdf0a106c3 (patch)
treeb643534e981ba4326e0a451ecaa8e08f1d51cfe7 /NEWS
parentUpdate NEWS. (diff)
downloadgpgme-34d9defc42bacfaf2bb1ce70b2c3f0fdf0a106c3.tar.gz
gpgme-34d9defc42bacfaf2bb1ce70b2c3f0fdf0a106c3.zip
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
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 46679471..01f7b990 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,15 @@
Noteworthy changes in version 1.15.2 (unreleased)
-------------------------------------------------
+ * New context flag "cert-expire".
+
* cpp, qt: Add support for trust signatures. [#5421]
* qt: Add support for flags in LDAP server options. [#5217]
* Interface changes relative to the 1.15.1 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ gpgme_set_ctx_flag EXTENDED: New flag 'cert-expire'.
cpp: SignKeyJob::setTrustSignature NEW.
cpp: TrustSignatureTrust NEW.
cpp: GpgSignKeyEditInteractor::setTrustSignatureTrust NEW.