Home GnuPG
Diffusion GnuPG 09ee3833ef6a

gpgsm: Emit more details when failing to check a crlDP.

Description

gpgsm: Emit more details when failing to check a crlDP.

* dirmngr/crlcache.c (crl_cache_reload_crl): Print status messages on
errors.
* dirmngr/ks-engine-http.c (ks_http_fetch): Print a status message on
error.
* sm/call-dirmngr.c (warning_and_note_printer): Add new warning
messages.
* sm/certchain.c (is_cert_still_valid): Log an error message when
failing to retrieve a crlDP.

Let the dirmngr emit status messages on errors regarding checking a
CRL. These messages are then read by gpgsm and a warning is
printed. This commit adds warnings for http errors, fetching CRL
errors and inserting CRLs into cache errors.