RFC Errata
RFC 8032, "Edwards-Curve Digital Signature Algorithm (EdDSA)", January 2017
Source of RFC: IRTFSee Also: RFC 8032 w/ inline errata
Errata ID: 5930
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Daniel Bleichenbacher
Date Reported: 2019-12-06
Verifier Name: Colin Perkins
Date Verified: 2021-05-24
Section 6 says:
def verify(public, msg, signature):
if len(public) != 32:
raise Exception("Bad public key length")
if len(signature) != 64:
Exception("Bad signature length")
It should say:
def verify(public, msg, signature):
if len(public) != 32:
raise Exception("Bad public key length")
if len(signature) != 64:
raise Exception("Bad signature length")
Notes:
Missing raise before Exception
