Home GnuPG
Diffusion GnuPG 6c1dcd79cf09

dirmngr: Keep track of domains used for WKD queries

Description

dirmngr: Keep track of domains used for WKD queries

* dirmngr/domaininfo.c: New file.
* dirmngr/Makefile.am (dirmngr_SOURCES): Add file.
* dirmngr/server.c (cmd_wkd_get): Check whether the domain is already
known and tell domaininfo about the results.

This adds a registry for domain information to eventually avoid
useless queries for domains which do not support WKD. The missing
part is a background task to check whether a queried domain supports
WKD at all and to expire old entries.

(cherry picked from commit 65038e6852185c20413d8f6602218ee636413b77)

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

Details

Provenance
wernerAuthored on Nov 13 2017, 4:09 PM
Parents
rG3e72143023aa: doc: Typo fix
Branches
Unknown
Tags
Unknown