aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-08-23 09:27:58 +0000
committerWerner Koch <[email protected]>2024-08-23 09:28:30 +0000
commit1eb382fb1f431575872b47dc160807858b7df3e5 (patch)
tree8d5712de54567e711e2b34d4c53087fb25953981 /g10/gpg.c
parentgpg: Warn if a keyring is specified along with --use-keyboxd. (diff)
downloadgnupg-1eb382fb1f431575872b47dc160807858b7df3e5.tar.gz
gnupg-1eb382fb1f431575872b47dc160807858b7df3e5.zip
gpg: New option --proc-all-sigs
* g10/options.h (flags): Add proc_all_sigs. * g10/mainproc.c (proc_tree): Do not stop signature checking if this new option is used. * g10/gpg.c (oProcAllSigs): New. (opts): Add "proc-all-sigs". (main): Set it. -- GnuPG-bug-id: 7261
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 8e38ec0af..e61b6879a 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -459,6 +459,7 @@ enum cmd_and_opt_values
oAssertPubkeyAlgo,
oKbxBufferSize,
oRequirePQCEncryption,
+ oProcAllSigs,
oNoop
};
@@ -907,6 +908,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_n (oBatch, "batch", "@"),
ARGPARSE_s_n (oNoBatch, "no-batch", "@"),
+ ARGPARSE_s_n (oProcAllSigs, "proc-all-sigs", "@"),
ARGPARSE_s_n (oAnswerYes, "yes", "@"),
ARGPARSE_s_n (oAnswerNo, "no", "@"),
ARGPARSE_s_i (oStatusFD, "status-fd", "@"),
@@ -2811,6 +2813,10 @@ main (int argc, char **argv)
nogreeting = 1;
break;
+ case oProcAllSigs:
+ opt.flags.proc_all_sigs = 1;
+ break;
+
case oUseAgent: /* Dummy. */
break;