aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-11-03 14:16:26 +0000
committerIngo Klöcker <[email protected]>2021-11-03 14:16:26 +0000
commit0a7d772a5c43eddad6fb3238614b8af722453919 (patch)
treec28d4a72e36ae0193672070f4950fa44326e156a
parentscd: Simplify the loop of DEVINFO. (diff)
downloadgnupg-ikloecker/t5462.tar.gz
gnupg-ikloecker/t5462.zip
gpgconf: Allow changing gpg's deprecated keyserver optionikloecker/t5462
* tools/gpgconf-comp.c (known_options_gpg): Add "keyserver". -- This allows Kleopatra to read and change the keyserver that is used by gpg if the deprecated keyserver option in gpg.conf is set. GnuPG-bug-id: 5462
-rw-r--r--tools/gpgconf-comp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 73921ddb2..b316d83d6 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -417,6 +417,7 @@ static known_option_t known_options_gpg[] =
{ "debug-level", GC_OPT_FLAG_ARG_OPT, GC_LEVEL_ADVANCED },
{ "log-file", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,
GC_ARG_TYPE_FILENAME },
+ { "keyserver", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
{ "auto-key-locate", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED },
{ "auto-key-import", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC },
{ "auto-key-retrieve", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT },