Home GnuPG
Diffusion GnuPG 8a4bd132f73a

gpg: Reject signatures made with MD5.
8a4bd132f73aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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/gpg.conf.tmpl: Add allow_weak_digest_algos.

(cherry picked from commit f90cfe6b66269de0154d810c5cee1fe9a5af475c)

Resolved conflicts:
g10/gpg.c - adjust.
tests/openpgp/defs.inc - no changes

Details

Provenance
wernerAuthored on Mar 17 2014, 5:54 PM
Parents
rG3d4a36c8c98a: gpg: Remove useless diagnostic in MDC verification.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8a4bd132f73a: gpg: Reject signatures made with MD5. (authored by Werner Koch <wk@gnupg.org>).Jun 3 2014, 8:44 AM