aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpgme.texi
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-07-03 15:50:23 +0000
committerAndre Heinecke <[email protected]>2018-07-09 08:58:04 +0000
commit7bc5d3c7e41c6e42a583a61a4c9504058fbb2976 (patch)
tree68a40e8c6a2ab8a9a9af69b2e85636d1085cbe1c /doc/gpgme.texi
parentpython bindings: howto examples (diff)
downloadgpgme-7bc5d3c7e41c6e42a583a61a4c9504058fbb2976.tar.gz
gpgme-7bc5d3c7e41c6e42a583a61a4c9504058fbb2976.zip
Add ctx flag for auto-key-locate
* src/context.h (gpgme_context): Add auto_key_locate. * src/engine-gpg.c (engine_gpg): Add auto_key_locate. (gpg_set_engine_flags, build_argv): Handle auto_key_locate. (gpg_release): Free auto_key_locate. * src/gpgme.c (gpgme_release): Free auto_key_locate. (gpgme_get_ctx_flag, gpgme_set_ctx_flag): Handle auto-key-locate. * doc/gpgme.texi: Document auto-key-locate flag. * tests/run-keylist.c (show_usage, main): Add --from-wkd option. -- This enables users of GPGME to control more fine grained what auto-key-locate does. Especially for WKD lookups / refreshes can this be useful. GnuPG-Bug-Id: T2917 Differential Revision: https://dev.gnupg.org/D463
Diffstat (limited to 'doc/gpgme.texi')
-rw-r--r--doc/gpgme.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 3dac60d0..6e328e69 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -3096,6 +3096,16 @@ result of the former try had the decryption result flag
@code{legacy_cipher_nomdc} set. For failsafe reasons this flag is
reset after each operation.
+@item "auto-key-locate"
+The string given in @var{value} is passed to gpg. This can be used
+to change the behavior of a @code{GPGME_KEYLIST_MODE_LOCATE} keylisting.
+Valid values are documented in the GnuPG manual and the gpg man page under
+the option @option{--auto-key-locate}.
+Requires at least GnuPG 2.1.18.
+
+Note: Keys retrieved through @code{auto-key-locate} are automatically
+imported in the keyring.
+
@end table
This function returns @code{0} on success.