alloy-rs / alloy-rs/core

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

Đang mở
#837 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
blocked breaking
Ngôn ngữ chính
Rust
Star
967
Fork
274
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
15

Mô tả

### 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](https://github.com/obatirou/RFC6979-implementation-analysis?tab=readme-ov-file).
>
> Note that the underlying ECDSA functionality is provided via [RustCrypto](https://github.com/RustCrypto/elliptic-curves) 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.