Home GnuPG
Diffusion GnuPG 37a899d0e4fd

dirmngr: Fix adding keys to an LDAP server.

Description

dirmngr: Fix adding keys to an LDAP server.

* dirmngr/ks-engine-ldap.c (ks_ldap_put): Extract attribites into
addlist.

The code used the wrong list which resulting in adding attributes
marked for deletion. In particular Active Directory does not accept
such an data and rejects them. The bug was introduced into 2.1 while
porting the code from the old keyserver helpers to dirmngr.

Details

Provenance
wernerAuthored on Dec 14 2020, 3:15 PM
Parents
rG3b3926308813: scd:nks: Support READKEY with keygrip and for "NKS-IDLM" keyref.
Branches
Unknown
Tags
Unknown