1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Don't show the "fast path listing" diagnostic with --quiet.

* g10/call-agent.c (agent_probe_any_secret_key): Act on --quiet.
--

When using the extra-socket this disagnostic will be printed because a
listing of all secret keys is not allowed by a remote gpg.
This commit is contained in:
Werner Koch 2024-04-05 11:02:43 +02:00
parent 0b1f7427b3
commit 548fd7bca7
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2319,6 +2319,7 @@ agent_probe_any_secret_key (ctrl_t ctrl, kbnode_t keyblock)
}
if (err)
{
if (!opt.quiet)
log_info ("problem with fast path key listing: %s - ignored\n",
gpg_strerror (err));
err = 0;