1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-20 14:51:42 +02:00

gpg: Warn if a keyring is specified along with --use-keyboxd.

* g10/gpg.c (main): Print the warning.
--
GnuPG-bug-id: 7265
This commit is contained in:
Werner Koch 2024-08-23 09:19:55 +02:00
parent 41b06b5579
commit 3171ca9b94
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -3896,6 +3896,9 @@ main (int argc, char **argv)
opt.keyboxd_program = comopt.keyboxd_program;
comopt.keyboxd_program = NULL;
}
if (opt.use_keyboxd && nrings)
log_info ("Note: Specified keyrings are ignored due to option \"%s\"\n",
"use-keyboxd");
if (comopt.no_autostart)
opt.autostart = 0;