gnupg/doc
Werner Koch 8fd150b05b gpg: Remove all support for v3 keys and always create v4-signatures.
* g10/build-packet.c (do_key): Remove support for building v3 keys.
* g10/parse-packet.c (read_protected_v3_mpi): Remove.
(parse_key): Remove support for v3-keys.  Add dedicated warnings for
v3-key packets.
* g10/keyid.c (hash_public_key): Remove v3-key support.
(keyid_from_pk): Ditto.
(fingerprint_from_pk): Ditto.

* g10/options.h (opt): Remove fields force_v3_sigs and force_v4_certs.
* g10/gpg.c (cmd_and_opt_values): Remove oForceV3Sigs, oNoForceV3Sigs,
oForceV4Certs, oNoForceV4Certs.
(opts): Turn --force-v3-sigs, --no-force-v3-sigs, --force-v4-certs,
--no-force-v4-certs int dummy options.
(main): Remove setting of the force_v3_sigs force_v4_certs flags.
* g10/revoke.c (gen_revoke, create_revocation): Always create v4 certs.
* g10/sign.c (hash_uid): Remove support for v3-signatures
(hash_sigversion_to_magic): Ditto.
(only_old_style): Remove this v3-key function.
(write_signature_packets): Remove support for creating v3-signatures.
(sign_file): Ditto.
(sign_symencrypt_file): Ditto.
(clearsign_file): Ditto.  Remove code to emit no Hash armor line if
only v3-keys are used.
(make_keysig_packet): Remove arg SIGVERSION and force using
v4-signatures.  Change all callers to not pass a value for this arg.
Remove all v3-key related code.
(update_keysig_packet): Remove v3-signature support.
* g10/keyedit.c (sign_uids): Always create v4-signatures.

* g10/textfilter.c (copy_clearsig_text): Remove arg pgp2mode and
change caller.
--

v3 keys are deprecated for about 15 years and due the severe
weaknesses of MD5 it does not make any sense to keep code around to
use these old and broken keys.  Users who need to decrypt old messages
should use gpg 1.4 and best re-encrypt them to modern standards.
verification of old (i.e. PGP2) created signatures is thus also not
anymore possible but such signatures have no values anyway - MD5 is
just too broken.

We have also kept support for v3 signatures until now.  With the
removal of support for v3 keys it is questionable whether it makes any
sense to keep support for v3-signatures.  What we do now is to keep
support for verification of v3-signatures but we force the use of
v4-signatures.  The latter makes the --pgp6 and --pgp7 switch a bit
obsolete because those PGP versions require v3-signatures for
messages.  These versions of PGP are also really old and not anymore
maintained so they have not received any bug fixes and should not be
used anyway.

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-10-17 13:32:16 +02:00
..
examples add new certifciates 2008-06-25 11:14:48 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
DCO Add missing file. 2013-04-17 11:26:27 +02:00
DETAILS gpg: Remove extra RSA import status line. 2014-10-13 15:08:58 +02:00
FAQ Add a static FAQ. 2010-10-05 13:56:25 +00:00
HACKING speedo: Support building from dist-source generated tarball. 2014-06-17 10:37:55 +02:00
KEYSERVER Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
Makefile.am doc: Remove GnuPG-1 related parts from gpg.texi. 2014-09-29 11:49:50 +02:00
Notes Changed license of the manual stuff to GPL. 2004-09-29 11:04:30 +00:00
OpenPGP gpg: Remove all support for v3 keys and always create v4-signatures. 2014-10-17 13:32:16 +02:00
TRANSLATE copyright assignments are not anymore required. 2013-03-29 09:13:05 +01:00
a-decade-of-gnupg.txt Workaround for a mingw runtime bug. 2008-09-04 10:35:41 +00:00
announce-2.0.txt sm/ 2006-11-14 10:23:21 +00:00
com-certs.pem Add the STEED Self-Signing Nonthority certificate. 2011-12-20 15:35:42 +01:00
contrib.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
debugging.texi doc: Improve the rendering of the manual 2014-06-25 11:15:45 +02:00
dirmngr.texi dirmngr: Add support for hkps keyservers. 2014-05-05 16:23:37 +02:00
faq.org faq: Add a section on copyright assignments 2012-12-19 11:05:05 +01:00
fdl.texi Taken from NewPG 2003-01-09 13:24:01 +00:00
glossary.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
gnupg-badge-openpgp.eps * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
gnupg-badge-openpgp.jpg * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
gnupg-badge-openpgp.pdf Made make distcheck work again 2006-06-20 17:47:10 +00:00
gnupg-card-architecture.fig Changed to GPLv3. 2007-07-04 19:49:40 +00:00
gnupg-logo-tr.png Beautified the online html manual 2011-08-12 14:40:47 +02:00
gnupg-logo.eps Add new logo. 2007-03-08 18:31:56 +00:00
gnupg-logo.pdf doc: Add gnupg-logo.pdf 2014-07-03 11:03:22 +02:00
gnupg-logo.png doc: Improve the rendering of the manual 2014-06-25 11:15:45 +02:00
gnupg.texi doc: Improve the rendering of the manual 2014-06-25 11:15:45 +02:00
gnupg7.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
gpg-agent.texi doc: Fix a man page rendering problem. 2014-10-10 13:51:19 +02:00
gpg.texi gpg: Remove all support for v3 keys and always create v4-signatures. 2014-10-17 13:32:16 +02:00
gpgsm.texi Remove support for the GPG_AGENT_INFO envvar. 2014-10-03 11:58:58 +02:00
gpgv.texi doc: Some gpg and gpgv clarifications. 2013-10-04 14:31:35 +02:00
gpl.texi doc: Formatting fixes. 2013-04-19 12:01:22 +02:00
help.be.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ca.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.cs.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.da.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.de.txt Changes the header presented before requesting the user ID. 2008-06-01 19:44:05 +00:00
help.el.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.eo.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.es.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.et.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.fi.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.fr.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.gl.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.hu.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.id.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.it.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ja.txt Japanese: update po and doc. 2013-02-12 14:15:21 +09:00
help.nb.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pl.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pt.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pt_BR.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ro.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ru.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.sk.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.sv.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.tr.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.txt gpg: Add shortcut for setting key capabilities. 2014-09-26 14:43:48 +02:00
help.zh_CN.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.zh_TW.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
howto-create-a-server-cert.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
howtos.texi Add a howto section. 2007-05-08 13:59:41 +00:00
instguide.texi doc: Remove some stuff for the very incomplete instguide. 2014-09-03 09:45:20 +02:00
mksamplekeys Adjust awk to not add trailing whitespace. 2012-11-30 12:43:34 -05:00
opt-homedir.texi w32: Add code to support a portable use of GnuPG. 2013-08-01 11:20:48 +02:00
qualified.txt add new certifciates 2008-06-25 11:14:48 +00:00
samplekeys.asc Refresh sample keys 2012-11-30 12:47:49 -05:00
scdaemon.texi scd: Support for SmartCard-HSM 2014-07-25 09:43:29 +02:00
see-also-note.texi More man pages. Added include files for 2 common paragraphs. 2006-08-18 13:05:39 +00:00
specify-user-id.texi gpg: Allow use of a standard space separated fingerprint. 2012-01-06 13:36:47 +01:00
sysnotes.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
texi.css Beautified the online html manual 2011-08-12 14:40:47 +02:00
tools.texi doc: Add note regarding gpg-preset-passphrase and --max-cache-ttl. 2014-06-24 13:46:52 +02:00
vuln-announce-2007-multiple-message.txt Changes to let the key listing use estream to help systems without 2007-03-19 14:35:04 +00:00
vuln-announce-2010-kbx-realloc.txt Some work on the dirmngr 2010-07-23 16:16:14 +00:00
vuln-announce-cve-2006-6235.txt 2006-12-06 16:38:34 +00:00
yat2m.c yat2m: Support @set and @value. 2014-08-18 11:42:10 +02:00