Home GnuPG
Diffusion GPGME 7bc5d3c7e41c

Add ctx flag for auto-key-locate

Description

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.

Differential Revision: https://dev.gnupg.org/D463

Details

Provenance
aheineckeAuthored on Jul 3 2018, 5:50 PM
Differential Revision
D463: Add ctx flag for auto-key-locate
Parents
rMcacca62d06c6: python bindings: howto examples
Branches
Unknown
Tags
Unknown
Tasks
T2917: --locate-key should re-fetch key via WKD if it is expired