A successfully fetched but unusable OCSP response prevents fetching other OCSP responses
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- cryptography, security
調査の方向性
リンクされている fetch 実装の certvalidator/ocsp_client.py から始め、続いて ValidationContext.retrieve_ocsps と validate.verify_ocsp_response を追跡します。先行する応答から失効状態を判断できない場合に、後続の OCSP responder URL を利用できる状態に保てるよう、取得フローをリファクタリングします。利用可能な応答が見つかった後に不要な応答を取得せず、参照されているすべての responder からの応答を呼び出し元が検討できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
ocsp_client.fetch returns the first successfully fetched OCSP response:
This is the only response which is available for callers: ValidationContext.retrieve_ocsps and in turn validate.verify_ocsp_response. Processing of the response happens in the latter of those. If the revocation status of the certificate can not be determined successfully from that response, at that point there is no way to fetch a new OCSP response, even if that response was not fetched from the last URL from cert.ocsp_urls (i.e. there are more URLs which could be used to fetch OCSP responses from).
To potentially utilize responses from all OCSP responders referenced by the certificate without wastefully fetching responses which later may prove to be unneeded, one could refactor ocsp_client.fetch and ValidationContext.retrieve_ocsps to become generators yielding "a list of" OCSP responses one by one.
- 主要言語
- Python
- スター
- 117
- フォーク
- 37
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wbond/certvalidator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wbond/certvalidator#46 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
wbond/certvalidator#44 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
wbond/certvalidator#22 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
wbond/certvalidator#11 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
wbond/certvalidator#56 · コメント 1 件 ·
wbond/certvalidator の issue をすべて見る
似ている issue
-
review-panel severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kristovatlas/coin-accounting#576 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/skills#2328 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
repo-harnesses: the entrypoint-guard check greps a message `#13692` reworded, so it fails on mainオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
daniel-ospina/tortoise#14947 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100