mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
dirmngr: Print a brief list of URLs with LISTCRLS.
* dirmngr/crlcache.c (crl_cache_list): Print a summary of URLs. * sm/call-dirmngr.c (gpgsm_dirmngr_run_command): Print a notice to stdout if the dirmngr has been disabled. -- GnuPG-bug-id: 7337
This commit is contained in:
parent
f8bf5e01f7
commit
f8b1b7b4df
2
NEWS
2
NEWS
@ -1,6 +1,8 @@
|
||||
Noteworthy changes in version 2.5.2 (unreleased)
|
||||
------------------------------------------------
|
||||
|
||||
* dirmngr: A list of used URLs for loaded CRLs is printed first in
|
||||
the output of the LISTCRL command. [T7337]
|
||||
|
||||
See-also: gnupg-announce/2024q4/000xxx.html
|
||||
Release-info: https://dev.gnupg.org/T7289
|
||||
|
@ -2645,6 +2645,11 @@ crl_cache_list (estream_t fp)
|
||||
crl_cache_entry_t entry;
|
||||
gpg_error_t err = 0;
|
||||
|
||||
for (entry = cache->entries;
|
||||
entry && !entry->deleted;
|
||||
entry = entry->next )
|
||||
es_fprintf (fp, "URL: %s\n", entry->url );
|
||||
|
||||
for (entry = cache->entries;
|
||||
entry && !entry->deleted && !err;
|
||||
entry = entry->next )
|
||||
|
@ -1143,6 +1143,8 @@ gpgsm_dirmngr_run_command (ctrl_t ctrl, const char *command,
|
||||
struct run_command_parm_s parm;
|
||||
|
||||
rc = start_dirmngr (ctrl);
|
||||
if (gpg_err_code (rc) == GPG_ERR_NO_DIRMNGR)
|
||||
fputs (_("no dirmngr running in this session\n"), stdout);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user