aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-01-25 19:22:46 +0000
committerWerner Koch <[email protected]>2022-01-25 19:24:25 +0000
commit0b4fdbd5f41e1b93a67a65617c7c382c65dfb7c6 (patch)
tree7bd16cef6543681fb83dbe3a31bd45af3ef78a50 /dirmngr
parentdoc: Add comments on the legacy status of gpgconf.conf. (diff)
downloadgnupg-0b4fdbd5f41e1b93a67a65617c7c382c65dfb7c6.tar.gz
gnupg-0b4fdbd5f41e1b93a67a65617c7c382c65dfb7c6.zip
gpgconf: Return --ldapserver and --keyserver from dirmngr.
* dirmngr/dirmngr.c: Reorder two option groups. * tools/gpgconf-comp.c (known_options_gpgsm): Rename "keyserver" to "ldapserver" and set level to invisible. (known_options_dirmngr): Add "ldapserver" at the basic level. * sm/gpgsm.c (opts): No more help text for "ldapserver". -- GnuPG-bug-id: 5800
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/dirmngr.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 78ca4b215..21aaecef7 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -237,13 +237,6 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_i (oConnectQuickTimeout, "connect-quick-timeout", "@"),
- ARGPARSE_header ("Keyserver", N_("Configuration for Keyservers")),
-
- ARGPARSE_s_s (oKeyServer, "keyserver",
- N_("|URL|use keyserver at URL")),
- ARGPARSE_s_s (oHkpCaCert, "hkp-cacert",
- N_("|FILE|use the CA certificates in FILE for HKP over TLS")),
-
ARGPARSE_header ("HTTP", N_("Configuration for HTTP servers")),
ARGPARSE_s_n (oDisableHTTP, "disable-http", N_("inhibit the use of HTTP")),
@@ -255,8 +248,14 @@ static gpgrt_opt_t opts[] = {
N_("use system's HTTP proxy setting")),
ARGPARSE_s_s (oLDAPWrapperProgram, "ldap-wrapper-program", "@"),
+ ARGPARSE_header ("Keyserver", N_("Configuration for OpenPGP servers")),
+
+ ARGPARSE_s_s (oKeyServer, "keyserver",
+ N_("|URL|use keyserver at URL")),
+ ARGPARSE_s_s (oHkpCaCert, "hkp-cacert",
+ N_("|FILE|use the CA certificates in FILE for HKP over TLS")),
- ARGPARSE_header ("LDAP", N_("Configuration of LDAP servers to use")),
+ ARGPARSE_header ("LDAP", N_("Configuration for X.509 servers")),
ARGPARSE_s_n (oDisableLDAP, "disable-ldap", N_("inhibit the use of LDAP")),
ARGPARSE_s_n (oIgnoreLDAPDP,"ignore-ldap-dp",