ChainSafe / go-schnorrkel

🍵 Schnorr Signatures over Ristretto255 in pure Go
Apache License 2.0
93 stars 30 forks source link

fix: address issues from Trail of Bits audit #39

Closed noot closed 3 years ago

noot commented 3 years ago

This PR addresses the issues that were found during the Trail of Bits audit:

The only point that has not been addressed (and likely will not be fixed) is:

The rust implementers have indicated that this is not needed, as the protocol will never change and the hashing context is included, which is sufficient for our needs. Additionally, it will break cross-compatibility with the rust implemenation and will break backwards-compatibility with the Polkadot protocol.