Move to elliptic-curve 0.14 and remove the cargo-audit exception for crypto-bigint 0.5.5 (RUSTSEC-2026-0387)

Offen
#489 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
58/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

Start by reviewing elastos/.cargo/audit.toml, the cargo-audit CI job, all tracked Cargo.lock files, and the noted dependency chain through k256, p256, and hpke. Check how the CI job can enforce the advisory’s crate-version scope and re-review date, then run the affected signing, verification, and wallet tests. Done means all locks use the specified elliptic-curve versions, crypto-bigint 0.5.x and the advisory exception are gone, and the CI checks and tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

The cargo-audit exception for RUSTSEC-2026-0387 in elastos/.cargo/audit.toml covers crypto-bigint 0.5.5. elliptic-curve 0.13 (through k256 0.13, p256 0.13 and hpke 0.13) requires that version, and the crypto-bigint 0.5 line has no patched release. The exception comes with 454921cf0 for the 0.8.0 train (status in #93). Its entry says re-review by 2026-11-20.

Done means:

  • every tracked Cargo.lock uses elliptic-curve 0.14 or later, with k256 and p256 0.14 or later, and crypto-bigint 0.5.x leaves all locks;
  • the RUSTSEC-2026-0387 entry leaves elastos/.cargo/audit.toml;
  • the cargo-audit CI job fails when an ignored advisory matches a crate version other than the one its entry names, or when an entry passes its re-review date (cargo-audit ignores by advisory ID only, so today the scope and the date are comments);
  • the signing, verification and wallet tests of the changed crates pass on the new versions.
Vorherrschende Sprache
Rust
Sterne
6
Forks
2
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
42

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus elastos/elastos-runtime

Alle Issues in elastos/elastos-runtime

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

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