[Feature]: Populate isOptional on DBX baseline entries where the field is absent
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- json
- 領域
- security
調査の方向性
dbx_info_msft_latest.json から始め、isOptional を持たないすべての失効エントリを一覧化します。各欠落値が true か false かを判断し、ハッシュ、署名機関の帰属、順序を維持したうえで、すべてのエントリに明示的な boolean 値があり、ベースラインが引き続き有効な JSON であることを検証します。
索引モデルが issue の本文から書いたものです。
説明
Feature Overview
Populate isOptional on DBX baseline entries where the field is absent
Summary
In the global DBX baseline (dbx_info_msft_latest.json), some revocation entries carry an explicit isOptional flag while others omit it entirely. Consumers that parse this baseline have to infer optionality from the field's absence, which is ambiguous and error-prone. Please set isOptional explicitly on every entry so the field is always present with a defined boolean value.
Context
The baseline mixes mandatory and optional revocations (e.g., the BlackLotus-attributed hashes are marked isOptional). Today that distinction is only reliable for entries that already include the field. Entries missing it force consumers to guess whether absence means false, true, or "unspecified."
Request
- Add
isOptionalto all entries indbx_info_msft_latest.jsonthat currently lack it, with an explicittrue/falsevalue. - Treat the field as required going forward so future additions always include it.
Why it matters
Explicit, always-present optionality lets downstream tooling parse the baseline deterministically instead of relying on field absence as implicit signal. (Motivation on our side: our DBX parsing tooning consumes this baseline and currently has to special-case missing isOptional.)
Proposed change
For each entry without the field, add "isOptional": <true|false> reflecting its intended enforcement status. No change to hashes, signing-authority attribution, or ordering — field-population only.
Open questions
- For entries where the field is currently absent, what is the intended default —
false(mandatory), or should each be reviewed individually?
Solution Overview
In the global DBX baseline (dbx_info_msft_latest.json), the isOptional flag is present on some revocation entries but omitted on others. Consumers that parse this baseline currently have to infer optionality from the field's absence, which is ambiguous.
Please populate isOptional explicitly on every entry that currently lacks it, with a defined true/false value, and treat the field as required going forward so future additions always include it.
This makes the mandatory-vs-optional distinction (e.g., the BlackLotus-attributed hashes marked isOptional) parseable deterministically, instead of relying on field absence as an implicit signal. No change to hashes, signing-authority attribution, or ordering is requested — this is field-population only.
Alternatives Considered
Inferring optionality from field absence on the consumer side (treating missing isOptional as false). Rejected because absence is ambiguous — it could mean mandatory, optional, or unspecified — and requires every downstream tool to hard-code the same assumption rather than reading an explicit value from the baseline.
Urgency
Low
Are you going to implement the feature request?
I will implement the feature
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
- 主要言語
- Python
- スター
- 289
- フォーク
- 89
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/secureboot_objects のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/secureboot_objects#471 ·
-
state:needs-owner state:needs-triage type:bug urgency:high
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
microsoft/secureboot_objects#467 · コメント 3 件 ·
-
state:needs-triage type:feature-request urgency:low
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/secureboot_objects#462 · コメント 3 件 ·
-
state:needs-owner state:needs-triage type:bug urgency:low
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/secureboot_objects#424 · コメント 6 件 ·
-
state:needs-maintainer-feedback state:needs-owner state:needs-triage type:feature-request urgency:high
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/secureboot_objects#422 · コメント 14 件 · リアクション 2 件 ·
microsoft/secureboot_objects の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100