Skip to content

Add trusted-key lifecycle validation#4

Merged
mdheller merged 2 commits intomainfrom
work/trust-lifecycle
Apr 26, 2026
Merged

Add trusted-key lifecycle validation#4
mdheller merged 2 commits intomainfrom
work/trust-lifecycle

Conversation

@mdheller
Copy link
Copy Markdown
Member

Summary

Adds trusted-key lifecycle enforcement to nlboot verification.

This PR adds:

  • active / retired / revoked key status semantics
  • optional not_before and not_after validity windows
  • optional revocation metadata
  • lifecycle validation before a trusted key is accepted
  • unit tests for active, future, expired, retired, and revoked keys

Software review

Correctness: moves nlboot trust handling from static key lookup to lifecycle-aware trust-root validation.

Risk: moderate. Verification now fails closed if keys are expired, revoked, retired, or not yet active.

Weakness: this does not yet implement a remote revocation feed or signed trust-root bundle; it validates lifecycle metadata supplied in the trusted-key document.

@mdheller mdheller merged commit 33621a5 into main Apr 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant