diff options
author | Werner Koch <[email protected]> | 2018-04-12 07:17:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-12 07:17:27 +0000 |
commit | f7700a016926f0d8e9cb3c0337837deb7fe01079 (patch) | |
tree | cd622990455db03ba7b67cd1f1acd192eb38463c /doc/gpgme.texi | |
parent | qt: Add test for resetting config value (diff) | |
download | gpgme-f7700a016926f0d8e9cb3c0337837deb7fe01079.tar.gz gpgme-f7700a016926f0d8e9cb3c0337837deb7fe01079.zip |
core: Add new context flag "no-symkey-cache".
* src/gpgme.c (gpgme_set_ctx_flag): Set flag.
(gpgme_get_ctx_flag): Get flag.
* src/context.h (struct gpgme_context): Add field no_symkey_cache.
* src/engine-gpg.c (struct engine_gpg): Ditto.
(gpg_set_engine_flags): Set flag.
(build_argv): Pass option --no-symkey-cache to gpg.
* tests/run-decrypt.c (print_result): Fix segv for symmetric messages.
(main): New option --no-symkey-cache.
* tests/run-encrypt.c (main): New option --no-symkey-cache.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpgme.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index ab554d86..cbb0e649 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3069,7 +3069,13 @@ the time when you verified the signature. The string given in @var{value} is passed to the GnuPG engines to request restrictions based on the origin of the request. Valid values are documented in the GnuPG manual and the gpg man page under the -option ``--request-origin''. +option ``--request-origin''. Requires at least GnuPG 2.2.6 to have an +effect. + +@item "no-symkey-cache" +For OpenPGP disable the passphrase cache used for symmetrical en- and +decryption. This cache is based on the message specific salt value. +Requires at least GnuPG 2.2.7 to have an effect. @end table |