core icon indicating copy to clipboard operation
core copied to clipboard

[Tracking] ECDSA signature generation does not follow RFC-6979

Open zerosnacks opened this issue 10 months ago • 0 comments
trafficstars

Component

primitives

Describe the feature you would like

From https://github.com/foundry-rs/foundry/issues/9499 by pmerkleplant

The ECDSA signatures generated by the vm.sign() cheatcode do not strictly follow RFC-6979. For more info regarding the details, see this analysis.

Note that the underlying ECDSA functionality is provided via RustCrypto which fixed the issue in a recent prerelease, see https://github.com/RustCrypto/elliptic-curves/issues/1100.

Tracking ticket for updating k256 crate (as it is used and re-exported here) to 0.14 once it is out of pre-release

Additional context

No response

zerosnacks avatar Jan 03 '25 11:01 zerosnacks