Home GnuPG
Diffusion GnuPG 52cf32ce2f90

dirmngr: New option --ldapserver

Description

dirmngr: New option --ldapserver

* dirmngr/dirmngr.c (opts): Add option --ldapserver.
(ldapserver_list_needs_reset): New var.
(parse_rereadable_options): Implement option.
(main): Ignore dirmngr_ldapservers.conf if no --ldapserver is used.
* dirmngr/server.c (cmd_ldapserver): Add option --clear and list
configured servers if none are given.

This option allows to specify LDAP keyserver in dirmngr instead of
using gpgsm.conf.

(cherry picked from commit ff17aee5d10c8c5ab902253fb4332001c3fc3701)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 26 2021, 3:49 PM
Parents
rGeb3a629154de: dirmngr: Allow for non-URL specified ldap keyservers.
Branches
Unknown
Tags
Unknown