gpg: Reject signatures made with MD5.
authorWerner Koch <wk@gnupg.org>
Mon, 17 Mar 2014 16:54:36 +0000 (17:54 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 17 Mar 2014 17:14:23 +0000 (18:14 +0100)
commitf90cfe6b66269de0154d810c5cee1fe9a5af475c
tree8029968d62c1aa04655c4e942cb5d0b08972a5bb
parent1e2e39c5758ffaf62f8bb85b4a86dc49c41f3a68
gpg: Reject signatures made with MD5.

* g10/gpg.c: Add option --allow-weak-digest-algos.
(main): Set option also in PGP2 mode.
* g10/options.h (struct opt): Add flags.allow_weak_digest_algos.
* g10/sig-check.c (do_check): Reject MD5 signatures.
* tests/openpgp/defs.inc: Add allow_weak_digest_algos to gpg.conf.
doc/gpg.texi
g10/gpg.c
g10/options.h
g10/sig-check.c
tests/openpgp/defs.inc