1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch d4e2302d8f
dirmngr: Check for WKD support at session end
* dirmngr/domaininfo.c (insert_or_update): Copy the name.
* dirmngr/misc.c (copy_stream): Allow arg OUT to be NULL.
* dirmngr/server.c (set_error): Protect CTX.
(dirmngr_status): Protect against missing ASSUAN_CTX.
(dirmngr_status_help): Ditto.
(dirmngr_status_printf): Ditto.
(cmd_wkd_get): Factor code out to ...
(proc_wkd_get): new func.  Support silent operation with no CTX.
(task_check_wkd_support): New.
--

This finalizes the feature to efficiently cache WKD checks.  If a
standard WKD query returns no data, we queue a test to be run after
the end of the session (so that we do not delay the calling client).
This check tests whether the server responsible for the queried
address has WKD at all enabled.  The test is done by checking whether
the "policy" file exists.  We do not check the "submission-address"
file because that is not necessary for the web key operation.  The
policy file is now required.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-11-14 16:24:12 +01:00
..
2010-12-14 19:17:58 +00:00
2017-02-21 13:11:46 -05:00
2017-02-21 13:11:46 -05:00
2016-09-17 15:57:31 +09:00
2017-04-03 20:56:12 +02:00
2017-07-19 13:41:18 +09:00
2017-07-25 11:49:23 +09:00
2016-12-14 15:56:58 +01:00
2017-03-03 17:17:26 +01:00
2017-07-18 13:56:33 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2014-03-07 19:00:31 +01:00
2010-06-09 16:53:51 +00:00
2017-07-24 15:35:34 +09:00
2017-04-03 20:56:12 +02:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2017-03-07 20:25:54 +09:00