Home GnuPG
Diffusion GnuPG e1fc053dc1ad

gpgconf: Tweak the use of ldapserver.

Description

gpgconf: Tweak the use of ldapserver.

* tools/gpgconf-comp.c (known_options_gpgsm): Make "keyserver"
invisible.
(known_options_dirmngr): Add "ldapserver".
* sm/gpgsm.c (oKeyServer_deprecated): New.
(opts): Assign "ldapserver" to the new option and makr it as obsolete.

We want to use "ldapserver" in dirmngr but need to keep using
"keyserver" in gpgsm for existant versions of Kleopatra etc.