alloy-rs / alloy-rs/core

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

Aperta
#837 1 commento 1 reazione 0 assegnatari Vedi su GitHub
blocked breaking
Lingua principale
Rust
Stelle
967
Fork
274
Merge medio
1g 21h
PR unite (30g)
15

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.