Home GnuPG
Diffusion GnuPG 43e5d28c6dba

gpg: Reject signatures made with MD5.
43e5d28c6dbaUnpublished

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 Oct 27 2015, 5:01 AM
Parents
rGfc30a414d8d6: gpg: Change default cipher for --symmetric from CAST5 to AES-128.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG43e5d28c6dba: gpg: Reject signatures made with MD5. (authored by Werner Koch <wk@gnupg.org>).Dec 19 2015, 3:11 PM