Skip to content

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

Open
@zerosnacks

Description

Component

primitives

Describe the feature you would like

From foundry-rs/foundry#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 RustCrypto/elliptic-curves#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

Metadata

Assignees

No one assigned

    Labels

    blockedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions