Home GnuPG
Diffusion GnuPG 39ca2f6dad38

dirmngr: New LDAP keyserver flag "upload"

Description

dirmngr: New LDAP keyserver flag "upload"

* dirmngr/dirmngr.h (struct ldap_server_s): Add flag "upload".
* dirmngr/ldapserver.c (ldapserver_parse_one): Parse and set new flag.
* dirmngr/ks-action.c: Include ldapserver.h
(ks_action_get): Skip servers with the upload flag set.
(ks_action_put): Use the first server with the upload flag set if any
such flag is used.

Note that this flag can only be specified using the modern colon
syntax.

Backported-from-master: 31de5d0d8cd59195bfb57f9ff3b490cd5e30b3ce

Details