Home GnuPG
Diffusion GnuPG 0a5a854510fd

gpg: Fix false negatives in Ed25519 signature verification.
0a5a854510fdUnpublished

Unpublished Commit · Learn More

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

Description

gpg: Fix false negatives in Ed25519 signature verification.

* g10/pkglue.c (pk_verify): Fix Ed25519 signatrue values.
* tests/openpgp/verify.scm (msg_ed25519_rshort): New
(msg_ed25519_sshort): New.
("Checking that a valid Ed25519 signature is verified as such"): New.

About one out of 256 signature won't verify due to stripped zero
bytes. See the source comment for details.

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

Details

Provenance
wernerAuthored on Aug 25 2016, 3:18 PM
Parents
rG74a082bc1096: common: Rename an odd named function.
Branches
Unknown
Tags
Unknown