1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
gnupg/doc
Daniel Kahn Gillmor 76afaed65e
gpg: Add option --weak-digest to gpg and gpgv.
* g10/options.h: Add additional_weak_digests linked list to opts.
* g10/main.h: Declare weakhash linked list struct and
additional_weak_digest() function to insert newly-declared weak
digests into opts.
* g10/misc.c: (additional_weak_digest): New function.
(print_digest_algo_note): Check for deprecated digests; use proper
gcry_md_algos type.
* g10/sig-check.c: (do_check): Reject weak digests in addition to MD5.
* g10/gpg.c: Add --weak-digest option to gpg.
* doc/gpg.texi: Document gpg --weak-digest option.
* g10/gpgv.c: Add --weak-digest option to gpgv.
* doc/gpgv.texi: Document gpgv --weak-digest option.

--
gpg and gpgv treat signatures made over MD5 as unreliable, unless the
user supplies --allow-weak-digests to gpg.  Signatures over any other
digest are considered acceptable.

Despite SHA-1 being a mandatory-to-implement digest algorithm in RFC
4880, the collision-resistance of SHA-1 is weaker than anyone would
like it to be.

Some operators of high-value targets that depend on OpenPGP signatures
may wish to require their signers to use a stronger digest algorithm
than SHA1, even if the OpenPGP ecosystem at large cannot deprecate
SHA1 entirely today.

This changeset adds a new "--weak-digest DIGEST" option for both gpg
and gpgv, which makes it straightforward for anyone to treat any
signature or certification made over the specified digest as
unreliable.

This option can be supplied multiple times if the operator wishes to
deprecate multiple digest algorithms, and will be ignored completely
if the operator supplies --allow-weak-digests (as before).

MD5 is still always considered weak, regardless of any further
--weak-digest options supplied.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Capitialized some comments, shorted a line in do_check, and changed
subject to name the option.  -wk
2015-10-19 14:24:27 +02:00
..
examples add new certifciates 2008-06-25 11:14:48 +00:00
a-decade-of-gnupg.txt doc: Typo fixes. 2014-12-14 12:15:21 +01:00
announce-2.0.txt sm/ 2006-11-14 10:23:21 +00:00
announce-2.1.txt doc: Add announce text for 2.1 2014-11-06 10:03:39 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
com-certs.pem Remove all expired common CA certificates. 2014-11-04 21:47:03 +01:00
contrib.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
DCO Add missing file. 2013-04-17 11:26:27 +02:00
debugging.texi doc: Do not used fixed file names in the manuals. 2015-06-09 21:29:15 +02:00
DETAILS g10: Add TOFU support. 2015-10-18 18:45:40 +02:00
dirmngr.texi dirmngr: Make --use-tor work - still leaks DNS. 2015-10-19 13:17:58 +02:00
FAQ doc: Fix FAQ stub and remove faq build rules. 2015-03-04 15:10:52 +01: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
gnupg7.texi Include dirmngr manual 2010-06-10 10:39:44 +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 g10: Add TOFU support. 2015-10-18 18:45:40 +02:00
gpg-agent.texi agent: New option --pinentry-invisible-char. 2015-09-16 21:24:14 +02:00
gpg.texi gpg: Add option --weak-digest to gpg and gpgv. 2015-10-19 14:24:27 +02:00
gpgsm.texi gpgsm: Add command option "offline". 2015-06-29 11:06:41 +02:00
gpgv.texi gpg: Add option --weak-digest to gpg and gpgv. 2015-10-19 14:24:27 +02:00
gpl.texi doc: Formatting fixes. 2013-04-19 12:01:22 +02:00
HACKING doc: Remove C++ style comments and update HACKING. 2015-08-20 17:42:55 +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 po: Add lost translation of validity strings. 2015-08-20 16:58:30 +02: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_BR.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.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 drop long-deprecated gpgsm-gencert.sh 2015-07-03 22:21:52 +02:00
howtos.texi Add a howto section. 2007-05-08 13:59:41 +00:00
instguide.texi doc: Do not used fixed file names in the manuals. 2015-06-09 21:29:15 +02:00
KEYSERVER Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
Makefile.am drop long-deprecated gpgsm-gencert.sh 2015-07-03 22:21:52 +02:00
mkdefsinc.c doc,w32: Fix compiler warnings. 2015-09-28 18:40:38 +02:00
mksamplekeys Adjust awk to not add trailing whitespace. 2012-11-30 12:43:34 -05: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
opt-homedir.texi doc: Do not used fixed file names in the manuals. 2015-06-09 21:29:15 +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 doc: Do not used fixed file names in the manuals. 2015-06-09 21:29:15 +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: Remove warning message for non-implemented search modes. 2014-11-07 18:42:37 +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 drop long-deprecated gpgsm-gencert.sh 2015-07-03 22:21:52 +02:00
TRANSLATE copyright assignments are not anymore required. 2013-03-29 09:13:05 +01: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
whats-new-in-2.1.txt build: Update README.maint. 2014-11-05 08:55:17 +01:00
yat2m.c doc: Do not used fixed file names in the manuals. 2015-06-09 21:29:15 +02:00