Home GnuPG

ecc: Add checking key for ECDSA.

Description

ecc: Add checking key for ECDSA.

* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_verify): Validate public key.
* cipher/ecc-gost.c (_gcry_ecc_gost_verify): Likewise.

Backported-from-master: 598d0f3e0294a487e01b88cc714a8cd0a47329bb

  • GnuPG-bug-id: T5282
  • Reported-by: Guido Vranken <guidovranken@gmail.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 2 2021, 2:16 AM
wernerCommitted on Feb 4 2021, 12:44 PM
Parents
rC16e855d49ca2: tests: Put a work around to tests/random for macOS.
Branches
Unknown
Tags
Unknown
Tasks
T5282: ecc: No check for broken public key when verify signature (ECDSA, ECDSA for SM and GOST)