Home GnuPG
Diffusion GnuPG b98939812abf

gpg: Print warning when rejecting weak digests
b98939812abfUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Print warning when rejecting weak digests

* g10/misc.c (print_md5_rejected_note): Rename to ..
(print_digest_rejected_note): this.  Parameterize function to take an
enum gcry_md_algos.
* g10/sig-check.c: Use print_digest_rejected_note() when rejecting
signatures.

76afaed65e3b0ddfa4923cb577ada43217dd4b18 allowed extra --weak-digests,
but removed the one call to print_md5_rejected_note(). This replaces
and generalizes that warning.

  • Signed-Off-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Oct 19 2015, 4:41 PM
wernerCommitted on Oct 19 2015, 5:33 PM
Parents
rG76afaed65e3b: gpg: Add option --weak-digest to gpg and gpgv.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb98939812abf: gpg: Print warning when rejecting weak digests (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Oct 19 2015, 5:33 PM