1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-30 16:17:02 +01:00
Werner Koch b52a0e244a
dirmngr: Distinguish between "no crl" and "crl not trusted".
* dirmngr/crlcache.h (CRL_CACHE_NOTTRUSTED): New.
* dirmngr/crlcache.c (cache_isvalid): Set this status.
(crl_cache_cert_isvalid): Map it to GPG_ERR_NOT_TRUSTED.
(crl_cache_reload_crl): Move diagnostic to ...
* dirmngr/crlfetch.c (crl_fetch): here.
* dirmngr/server.c (cmd_isvalid): Map it to GPG_ERR_NOT_TRUSTED.
* dirmngr/validate.c (check_revocations): Handle new status.  Improve
diagnostics.
* common/status.c (get_inv_recpsgnr_code): Map INV_CRL_OBJ.
* common/audit.c (proc_type_verify): Ditto.
--

This avoids repeated loading of CRLs in case of untrusted root
certificates.
2023-03-09 18:28:39 +01:00
..
2018-10-25 16:53:05 -04:00
2017-02-21 13:11:46 -05:00
2023-02-23 10:21:07 +01:00
2023-02-23 10:21:07 +01:00
2021-01-19 10:33:03 +01:00
2017-03-03 17:17:26 +01:00
2022-05-10 14:54:40 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2021-12-17 13:33:40 +09:00
2010-06-09 16:53:51 +00:00
2022-12-09 14:06:08 +09:00
2018-11-05 09:00:02 +01:00
2011-02-04 12:57:53 +01:00
2022-02-27 12:26:38 +01:00
2020-02-18 18:07:46 -05:00