diff options
author | Werner Koch <wk@gnupg.org> | 2024-08-23 09:19:55 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-08-23 09:19:55 +0200 |
commit | 3171ca9b949b0412433f1f4afd3a85d1a955d91b (patch) | |
tree | 1dc8cc2b3f001b0ff56be8d0b28da98c28695338 /g10 | |
parent | common: Do not call the agent with the obsolete --use-standard-socket. (diff) | |
download | gnupg2-3171ca9b949b0412433f1f4afd3a85d1a955d91b.tar.xz gnupg2-3171ca9b949b0412433f1f4afd3a85d1a955d91b.zip |
gpg: Warn if a keyring is specified along with --use-keyboxd.
* g10/gpg.c (main): Print the warning.
--
GnuPG-bug-id: 7265
Diffstat (limited to 'g10')
-rw-r--r-- | g10/gpg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |