aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-15 09:47:19 +0000
committerWerner Koch <[email protected]>2021-03-15 09:47:19 +0000
commit1523b5f76f6e600c4f2d153b49a807ff2dc8d268 (patch)
tree34f7fc39bb8b95264b8ead7c4060cab2697b64a6 /g10/options.h
parentw32: Silence a compiler warning in dirmngr.c (diff)
downloadgnupg-1523b5f76f6e600c4f2d153b49a807ff2dc8d268.tar.gz
gnupg-1523b5f76f6e600c4f2d153b49a807ff2dc8d268.zip
gpg: New option --no-auto-trust-new-key.Beta-2.3.0-beta1655
* g10/gpg.c (oNoAutoTrustNewKey): New. (opts): Add --no-auto-trust-new-key. (main): Set it. * g10/options.h (opt): Add flags.no_auto_trust_new_key. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index f502ace61..958d3fb87 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -254,6 +254,8 @@ struct
unsigned int full_timestrings:1;
/* Force signing keys even if a key signature already exists. */
unsigned int force_sign_key:1;
+ /* On key generation do not set the ownertrust. */
+ unsigned int no_auto_trust_new_key:1;
} flags;
/* Linked list of ways to find a key if the key isn't on the local