Tighten up CertificateSigningRequestParams.from_der() sig AlgorithmIdentifier params validation
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- cryptography
調査の方向性
Start in CertificateSigningRequestParams::from_der() under the x509-parser feature, where SignatureAlgorithm::supports_oid is called on the signature algorithm OID. Read the x509-parser AlgorithmIdentifier parameters handling and the linked PR #459 discussion before deciding how NULL parameters should be enforced. Done means the parameters are checked for algorithms that require NULL and RSA-PSS parameters are handled explicitly, with tests covering both cases.
索引モデルが issue の本文から書いたものです。
説明
When building a CertificateSigningRequestParams from CertificateSigningRequestDer with the x509-parser feature enabled we check SignatureAlgorithm::supports_oid(&sig_alg_oid) but this only compares by OID and doesn't consider the x509-parser AlgorithmIdentifier type's parameters. For many algorithms the parameters MUST be NULL and we should enforce that. For RSA-PSS support in particular we'll need to consider the explicit parameters beyond enforcing encoding.
See https://github.com/rustls/rcgen/pull/459#discussion_r4574500586
- 主要言語
- Rust
- スター
- 516
- フォーク
- 160
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rustls/rcgen のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
CertificateSigningRequestParams::from_der can parse the wrong key type対応中かも @jgreeer が 51 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pop-os/cosmic-settings#2296 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Eyevinn/open-live-ingest#36 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
superradcompany/microsandbox#2071 ·
メンテナーはふだん 1 日以内に返信
-
app
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
bug bug jury peripheral:i2s
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
esp-rs/esp-hal#6828 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信