1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01: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 c884e22140
commit 92667aa8c2
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -3871,6 +3871,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;