aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-08-23 07:19:55 +0000
committerWerner Koch <[email protected]>2024-08-23 07:20:58 +0000
commit92667aa8c208e3bdc107f5f5742ece51d3097af2 (patch)
treea7ba01e49db5e8140479d547995508f5e690676e
parentgpg: Minor fix when building with --disable-exec (diff)
downloadgnupg-92667aa8c208e3bdc107f5f5742ece51d3097af2.tar.gz
gnupg-92667aa8c208e3bdc107f5f5742ece51d3097af2.zip
gpg: Warn if a keyring is specified along with --use-keyboxd.
* g10/gpg.c (main): Print the warning. -- GnuPG-bug-id: 7265
-rw-r--r--g10/gpg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index ff83d0bce..461feff50 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -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;