Home GnuPG
Diffusion GnuPG bee65edfbc8c

dirmngr: Emit SOURCE status also on NO_DATA.

Description

dirmngr: Emit SOURCE status also on NO_DATA.

* dirmngr/ks-engine-hkp.c (ks_hkp_search): Send SOURCE status also on
NO DATA error.
(ks_hkp_get): Ditto.
* g10/call-dirmngr.c (gpg_dirmngr_ks_search): Print "data source" info
also on error.
(gpg_dirmngr_ks_get): Ditto.

If a keyserver does not return any data it can be useful to know which
keyserver out of the pool answered.

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

Details

Provenance
wernerAuthored on Sep 7 2018, 11:48 AM
Parents
rG04b56eff118e: dirmngr: hkp: Avoid potential race condition when some hosts die.
Branches
Unknown
Tags
Unknown