core
core copied to clipboard
[Tracking] ECDSA signature generation does not follow RFC-6979
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