CodeChain-io / CodeChain-io/foundry

Make the key crate does not use 0x prefix in serialized form

Offen
#586 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
36
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

We decided not to use 0x in the hex representation of binary data.
The current implementation of Deserialize of ed25519 and x25519 is using 0x as a prefix.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Search the key crate for the Deserialize implementations for ed25519 and x25519, then inspect how their binary data is converted to hexadecimal. Confirm the expected representation excludes the 0x prefix, update both implementations, and run the relevant crate tests or add coverage showing the serialized form without that prefix.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
cryptography
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.