aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index a11ea12f9..4ab5ba1b0 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -285,6 +285,7 @@ enum cmd_and_opt_values
oAlwaysTrust,
oTrustModel,
oForceOwnertrust,
+ oNoAutoTrustNewKey,
oSetFilename,
oForYourEyesOnly,
oNoForYourEyesOnly,
@@ -692,6 +693,7 @@ static gpgrt_opt_t opts[] = {
ARGPARSE_s_n (oAutoCheckTrustDB, "auto-check-trustdb", "@"),
ARGPARSE_s_n (oNoAutoCheckTrustDB, "no-auto-check-trustdb", "@"),
ARGPARSE_s_s (oForceOwnertrust, "force-ownertrust", "@"),
+ ARGPARSE_s_n (oNoAutoTrustNewKey, "no-auto-trust-new-key", "@"),
#endif
@@ -2969,6 +2971,8 @@ main (int argc, char **argv)
}
break;
+ case oNoAutoTrustNewKey: opt.flags.no_auto_trust_new_key = 1; break;
+
case oCompliance:
{
int compliance = gnupg_parse_compliance_option