Home GnuPG
Diffusion GnuPG 355e2992c043

dirmngr: Do not block threads in LDAP keyserver calls.

Description

dirmngr: Do not block threads in LDAP keyserver calls.

* dirmngr/ks-engine-ldap.c: Wrap some ldap calls.

The former gpgkeys_ldap module has once been ported to dirmngr but
unfortunately the dirmngr_ldap wrapper has not been used so that we
have internal LDAP calls with these problems:

  • No usable timeouts.
  • On non-Windows platforms a lot of extra libs and possibly even a second copy of Libgcrypt is pulled in.
  • Only one threads runs at a time.

This patch mitigates the last point.

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

Details

Provenance
wernerAuthored on Dec 18 2020, 11:56 AM
Parents
rG4a3836e2b2f9: gpg: New AKL method "ntds"
Branches
Unknown
Tags
Unknown