Category: Coding Mistakes
Incorrect elliptic curve
Low Severity
Low Impact
Low Likelihood
Description
In sdk/periphery.go, the three functions ReadPkFrom
, ReadVkFrom
, and ReadProofFrom
use the elliptic curve BLS12_377
instead of BN254
as used elsewhere.
Impact
These functions to read proving keys, verifying keys, and proofs from disk will not be compatible with the rest of the system.
Recommendations
Change BLS12_377
to BN254
in those three functions.
Remediation
This issue has been acknowledged by Brevis, and a fix was implemented in commit 9c875ce7↗.