aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2007-10-23 03:00:21 +0000
committerDavid Shaw <[email protected]>2007-10-23 03:00:21 +0000
commit960ac800487dbc9d91bbef005fee4ecbfae72e83 (patch)
tree0820380997486094c8eaafb0a850a78a783ca2bd
parent* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by default. (diff)
downloadgnupg-960ac800487dbc9d91bbef005fee4ecbfae72e83.tar.gz
gnupg-960ac800487dbc9d91bbef005fee4ecbfae72e83.zip
* gpg.c (main): Add --require-cross-certification to
--openpgp/--rfc4880 mode.
-rw-r--r--g10/ChangeLog3
-rw-r--r--g10/gpg.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index ac5221ad6..433b609cc 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,5 +1,8 @@
2007-10-22 David Shaw <[email protected]>
+ * gpg.c (main): Add --require-cross-certification to
+ --openpgp/--rfc4880 mode.
+
* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by
default. Enable --require-cross-certification by default.
--openpgp (--rfc4880) is the same as --rfc2440 except with
diff --git a/g10/gpg.c b/g10/gpg.c
index fbfd756a0..8a265d632 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2258,10 +2258,11 @@ main (int argc, char **argv )
case oOpenPGP:
case oRFC4880:
/* This is effectively the same as RFC2440, but with
- "--enable-dsa2 --no-rfc2440-text
- --escape-from-lines". */
+ "--enable-dsa2 --no-rfc2440-text --escape-from-lines
+ --require-cross-certification". */
opt.compliance = CO_RFC4880;
opt.flags.dsa2 = 1;
+ opt.flags.require_cross_cert = 1;
opt.rfc2440_text = 0;
opt.allow_non_selfsigned_uid = 1;
opt.allow_freeform_uid = 1;