[Feature]: Populate isOptional on DBX baseline entries where the field is absent
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- json
- 领域
- security
调研方向
从 dbx_info_msft_latest.json 开始,盘点每个缺少 isOptional 的撤销条目。确定每个缺失值是 true 还是 false,同时保留哈希、签名机构归属和顺序,然后验证每个条目都有显式的布尔值,并且基线仍是有效的 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 小时
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/secureboot_objects 的其他 Issue
-
难度 5/5 一周以上 新手友好度 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 一周以上 新手友好度 20/100
microsoft/secureboot_objects#422 · 14 条评论 · 2 个 reaction ·
查看 microsoft/secureboot_objects 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main 未关闭area: ci bug perceived difficulty: 3
难度 2/5 1-3 小时 新手友好度 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 78/100
ClickHouse/clickhouse-connect#1057 ·