alloy-rs / alloy-rs/core

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

未关闭
#837 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
blocked breaking
主要语言
Rust
星标
967
派生
274
平均合并
1 天 21 小时
30 天内合并 PR
15

描述

### 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。