Skip to content

fix(2.0): restrict NIST quantum security level to 0–5 - #1186

Merged
stevespringett merged 1 commit into
CycloneDX:2.0-devfrom
Mehrn0ush:docs/cbom-nist-quantum-security-categories-2.0
Oct 30, 2026
Merged

stevespringett merged 1 commit into
CycloneDX:2.0-devfrom
Mehrn0ush:docs/cbom-nist-quantum-security-categories-2.0

Conversation

@Mehrn0ush

Copy link
Copy Markdown
Contributor

Fixes #1185.

The 2.0 schema accepts nistQuantumSecurityLevel values from 0 through 6, but NIST defines categories 1–5. CycloneDX defines 0 as indicating that none of those categories are met; 6 has no documented meaning.

Compatibility

Documents containing nistQuantumSecurityLevel: 6 will fail validation against the updated 2.0 schema. Published 1.6 and 1.7 schemas remain unchanged; tightening their bounds requires a separate compatibility decision.

Validation

  • Schema compilation and semantic checks pass.
  • Functional tests pass, including the new boundary fixtures and existing 2.0 cryptography fixtures.

Thanks to @stevespringett and @bhess for the discussion. I’d appreciate your feedback and guidance on the proposed changes.

Signed-off-by: Mehrn0ush <mehrnoush.vaseghi@gmail.com>
@Mehrn0ush
Mehrn0ush requested a review from a team as a code owner October 29, 2026 20:10

@bhess bhess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bhess bhess added the cap: cryptography Capability: Cryptography (CBOM) label Oct 30, 2026
@stevespringett
stevespringett merged commit 7a91bd5 into CycloneDX:2.0-dev Oct 30, 2026
38 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cap: cryptography Capability: Cryptography (CBOM) defect documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants