1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-17 15:44:34 +02:00

* gpg.c (main): Add --require-cross-certification to

--openpgp/--rfc4880 mode.
This commit is contained in:
David Shaw 2007-10-23 03:00:21 +00:00
parent b550330067
commit 960ac80048
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2007-10-22 David Shaw <dshaw@jabberwocky.com> 2007-10-22 David Shaw <dshaw@jabberwocky.com>
* gpg.c (main): Add --require-cross-certification to
--openpgp/--rfc4880 mode.
* gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by * gpg.c (main): Disable --rfc2440-text and --force-v3-sigs by
default. Enable --require-cross-certification by default. default. Enable --require-cross-certification by default.
--openpgp (--rfc4880) is the same as --rfc2440 except with --openpgp (--rfc4880) is the same as --rfc2440 except with

View File

@ -2258,10 +2258,11 @@ main (int argc, char **argv )
case oOpenPGP: case oOpenPGP:
case oRFC4880: case oRFC4880:
/* This is effectively the same as RFC2440, but with /* This is effectively the same as RFC2440, but with
"--enable-dsa2 --no-rfc2440-text "--enable-dsa2 --no-rfc2440-text --escape-from-lines
--escape-from-lines". */ --require-cross-certification". */
opt.compliance = CO_RFC4880; opt.compliance = CO_RFC4880;
opt.flags.dsa2 = 1; opt.flags.dsa2 = 1;
opt.flags.require_cross_cert = 1;
opt.rfc2440_text = 0; opt.rfc2440_text = 0;
opt.allow_non_selfsigned_uid = 1; opt.allow_non_selfsigned_uid = 1;
opt.allow_freeform_uid = 1; opt.allow_freeform_uid = 1;