Skip to content

Add nlboot-compatible adapter skeleton#3

Merged
mdheller merged 2 commits intomainfrom
feature/nlboot-adapter-skeleton
Apr 26, 2026
Merged

Add nlboot-compatible adapter skeleton#3
mdheller merged 2 commits intomainfrom
feature/nlboot-adapter-skeleton

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

Summary

Adds the first executable adapter boundary for nlboot-compatible SourceOS boot flows.

What changed

  • Adds sourceos_boot.adapter with:
    • DeviceClaim
    • BootAuthorization
    • BootEvidence
    • SourceOSBootAdapter
  • Models the first pure control-plane handshake:
    • announce
    • authorize
    • fetch manifest
    • verify
    • emit evidence
  • Adds smoke coverage for announce/fetch/evidence construction.

Why

This starts turning BootReleaseSet v1 from a contract into an implementation path while keeping the first step side-effect-free and safe for CI.

Next

  • Inspect SociOS-Linux/nlboot implementation details.
  • Map actual nlboot request/response fields to these SourceOS objects.
  • Add manifest digest verification and signed trust checks.

@mdheller mdheller merged commit a260c21 into main Apr 26, 2026
1 check 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