aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-02-28 13:59:11 +0000
committerJustus Winter <[email protected]>2017-02-28 13:59:11 +0000
commitd379a0174cca595204b32da9a66c513a1304e6d0 (patch)
treeb7fd1bcfa38c822d74750ee783154ed311c5f776 /tools/gpgconf-comp.c
parenttests: Improve support for gpgconf. (diff)
downloadgnupg-d379a0174cca595204b32da9a66c513a1304e6d0.tar.gz
gnupg-d379a0174cca595204b32da9a66c513a1304e6d0.zip
gpg,tools: Make auto-key-retrieve configurable via gpgconf.
* g10/gpg.c (gpgconf_list): Add 'auto-key-retrieve'. * tools/gpgconf-comp.c (gc_options_gpg): Likewise. GnuPG-bug-id: 2381 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r--tools/gpgconf-comp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 1840b8f32..d53947e7f 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -748,6 +748,8 @@ static gc_option_t gc_options_gpg[] =
{ "auto-key-locate", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,
"gnupg", N_("|MECHANISMS|use MECHANISMS to locate keys by mail address"),
GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
+ { "auto-key-retrieve", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
+ NULL, NULL, GC_ARG_TYPE_NONE, GC_BACKEND_GPG },
GC_OPTION_NULL