Zeroization policy for temporary variables stored on the stack
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
- 25/100
Hướng nghiên cứu
Read the linked comment on RustCrypto/KEMs pull request #366 and compare the three proposed policies for stack temporaries. The issue names no files or tests; first determine how RustCrypto libraries currently use zeroize and zeroize_stack. Done means choosing and documenting a project policy for explicit zeroization of stack temporaries.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As noted in this comment it's unclear whether it's worth to explicitly zeroize temporaries stored on the stack. It's hard to do reliably and it prevents various optimizations (e.g. keeping the temporaries in registers) since zeroization is considered as a side effect by the compiler.
We have 3 options:
- Explicitly erase some temporaries on the case-by-case basis (e.g. large temporary buffers).
- Do not erase temporaries explicitly (it still may happen implicitly via
Dropimpls) and recommend to usezeroize::zeroize_stackin user code. - Do not erase temporaries explicitly, but use
zeroize::zeroize_stackin libraries using case-by-case judgment.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 13
- Fork
- 4
- Merge trung bình
- 41 phút
- Pull request đã merge (30 ngày)
- 1
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
- Đọ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 RustCrypto/meta
-
Proof systemĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
RustCrypto/meta#37 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
RustCrypto/meta#36 · 8 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
RustCrypto/meta#34 · 8 bình luận ·
-
Replace `subtle` with `ctutils`?Có thể làm lại được @newpavlov đã nhận 323 ngày trước và không có pull request nào đang mở. Đang mở
RustCrypto/meta#29 · 1 bình luận · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
RustCrypto/meta#28 · 1 bình luận ·
Tất cả issue của RustCrypto/meta
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bridgecrewio/checkov#7804 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Pin and verify Security Insights schema in lintinsights targetCó thể đã có người làm @imshubham22apr-gif đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gemaraproj/gemara#618 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
module/jwt Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ballerina-platform/ballerina-library#9714 ·
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 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Update: HTTP Headers Cheat SheetĐang mởACK_WAITING HELP_WANTED UPDATE_CS
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
OWASP/CheatSheetSeries#2977 ·
Maintainer thường phản hồi trong vòng 1 ngày