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

Đang mở
#489 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
build-system, security, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
6
Fork
2
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
42

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của elastos/elastos-runtime

Tất cả issue của elastos/elastos-runtime

Issue tương tự

Thêm issue về Rust

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.