Harden the SRS download of `TrustedSetupProvider`
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- rust, wasm
- Lĩnh vực
- cryptography
Hướng nghiên cứu
Bắt đầu với circuits/trusted_setup.rs, sau đó kiểm kê mọi caller của TrustedSetupProvider và các tham số mà mỗi caller cần cung cấp. Đánh giá wasm target và mithril-stm feature flags trước khi quyết định có đưa việc thu nhận SRS ra bên ngoài hay không. Được xem là hoàn tất khi vị trí đích và interface của các tham số của provider được ghi lại, hành vi streaming và retry được định nghĩa, dữ liệu đã lưu trong cache được xác minh lại, và các lỗi mạng và lỗi hash được phân biệt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
The SRS is downloaded in a single blocking request, fully buffered in memory before being hashed, with no retry. A transient network error fails the whole startup, and the memory peak is proportional to the SRS size.
The same code pulls reqwest and a TLS backend into a cryptographic library, which drives the feature complexity of mithril-stm and its wasm story. Deciding where the SRS acquisition belongs shapes how the hardening is done, so both are handled together.
What
Make the download resilient and bounded in memory, re-verify what is served from the cache, and settle whether the SRS acquisition stays in mithril-stm.
How
- Inventory the callers of
TrustedSetupProviderand what they would need to provide instead - Assess the impact on the wasm target and on the feature flags of
mithril-stm - Decide whether the SRS acquisition moves out of
mithril-stm, and record the decision with a target location and an interface for the parameters provider - Stream the download and compute the SHA-256 hash incrementally (
circuits/trusted_setup.rs) - Add bounded retries with backoff on a transient download error
- Re-verify the hash of a cached SRS file, if the cost is acceptable, and decide whether it is done on every load or on a schedule
- Report a clear error distinguishing a network failure from a hash mismatch
- Ngôn ngữ chính
- Rust
- Star
- 155
- Fork
- 52
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 37
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IntersectMBO/mithril
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
IntersectMBO/mithril#1605 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
spike :satellite:
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
IntersectMBO/mithril#3701 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Publish a DNSLink record of the immutable archives IPNS name in the Mithril networks DNS zonesCó thể đã có người làm @jpraynaud đã nhận 2 ngày trước. Đang mởfeature :rocket:
IntersectMBO/mithril#3700 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
feature :rocket:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
IntersectMBO/mithril#3699 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
feature :rocket:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
IntersectMBO/mithril#3698 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của IntersectMBO/mithril
Issue tương tự
-
ライブラリを追加Đang mởpriority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#13015 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UCS-Care-Group/mailcraft#1429 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium ready
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
TusanHomichi/PSIV#646 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui bug P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
agent-of-empires/agent-of-empires#5705 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày