summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-08-23 09:19:55 +0200
committerWerner Koch <wk@gnupg.org>2024-08-23 09:19:55 +0200
commit3171ca9b949b0412433f1f4afd3a85d1a955d91b (patch)
tree1dc8cc2b3f001b0ff56be8d0b28da98c28695338 /g10
parentcommon: Do not call the agent with the obsolete --use-standard-socket. (diff)
downloadgnupg2-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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index aab884d02..8e38ec0af 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -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;