summaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-12-06 20:04:56 +0100
committerWerner Koch <wk@gnupg.org>2019-12-06 20:04:56 +0100
commit8a6ecc6ff52b9ec045e200cc200977707278f89c (patch)
tree9e4d892e1f59165e6b313cb12b77a20a1c185b8c /dirmngr/server.c
parentgpg: Use AKL for angle bracketed mail address with -r. (diff)
downloadgnupg2-8a6ecc6ff52b9ec045e200cc200977707278f89c.tar.xz
gnupg2-8a6ecc6ff52b9ec045e200cc200977707278f89c.zip
dirmngr: Tell gpg about WKD looks resulting from a cache.
* dirmngr/server.c (proc_wkd_get): Print new NOTE status "wkd_cached_result". * g10/call-dirmngr.c (ks_status_cb): Detect this and print a not ein verbose mode. -- This little patch is helpful to see why a WKD change still does not work after it has been updated on the server. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r--dirmngr/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c
index 4a242539b..357aaa592 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -876,6 +876,7 @@ proc_wkd_get (ctrl_t ctrl, assuan_context_t ctx, char *line)
if (domaininfo_is_wkd_not_supported (domain_orig))
{
err = gpg_error (GPG_ERR_NO_DATA);
+ dirmngr_status_printf (ctrl, "NOTE", "wkd_cached_result %u", err);
goto leave;
}
}