Zeroization policy for temporary variables stored on the stack
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- 言語のデータがありません
- スター
- 13
- フォーク
- 4
- 平均マージ
- 41分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/meta のほかの issue
-
Proof systemオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
RustCrypto/meta#37 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
RustCrypto/meta#36 · コメント 8 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
RustCrypto/meta#34 · コメント 8 件 ·
-
Replace `subtle` with `ctutils`?再び着手できるかも @newpavlov が 323 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
RustCrypto/meta#29 · コメント 1 件 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
RustCrypto/meta#28 · コメント 1 件 ·
RustCrypto/meta の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bridgecrewio/checkov#7804 ·
メンテナーはふだん 2 日以内に返信
-
Pin and verify Security Insights schema in lintinsights target対応中かも @imshubham22apr-gif が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
gemaraproj/gemara#618 ·
メンテナーはふだん 2 日以内に返信
-
module/jwt Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ballerina-platform/ballerina-library#9714 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
ACK_WAITING HELP_WANTED UPDATE_CS
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
OWASP/CheatSheetSeries#2977 ·
メンテナーはふだん 1 日以内に返信