Home GnuPG
Diffusion GnuPG 596212e71abf

sm: Support verification of nistp521 signatures.

Description

sm: Support verification of nistp521 signatures.

* sm/certcheck.c (do_encode_md): Take care of nistp521.

That curve is a bit odd in that it does not match a common hash digest
length. We fix that here for just this case instead of writing more
general code to support all allowed cases (i.e. hash shorter than Q).

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 17 2020, 2:27 PM
Parents
rGeeb599c9e261: gpg: Fix for new SOS changes when used with Libgcrypt < 1.8.6.
Branches
Unknown
Tags
Unknown