From a304ec0ede937e21df5b4a311cbaf8d89f13ef59 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 29 Oct 2024 11:59:51 +0100 Subject: core: New context flags "known-notations". * src/gpgme.c (gpgme_set_ctx_flag): Add "known-notations". (gpgme_get_ctx_flag): Ditto. (gpgme_release): Free variable. * src/context.h (struct gpgme_context): Add "known_notations". * src/engine-gpg.c (struct engine_gpg): Add "known_notations". (gpg_release): Free variable. (gpg_set_engine_flags): Set variable. (add_known_notations): New. (gpg_decrypt, gpg_verify): Call function. * tests/run-decrypt.c (main): Add option --known-notations. * tests/run-verify.c (main): Ditto. -- GnuPG-bug-id: 4060 --- doc/gpgme.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/gpgme.texi') diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 70db653b..bb0fd38e 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3297,6 +3297,11 @@ signature checking of data after a bad signatures. This option is ignored if the backend itself does not support the --proc-all-sigs option. +@item "known-notations" +@since{1.24.0} +The @var{value} is a space or comma delimited list of notation names +which will be used to create @option{--known-notation} options for gpg. + @end table -- cgit v1.2.3