Skip to content

controlplane: a build the control plane is given is its three PCRs - #23

Merged
aledbf merged 1 commit into
mainfrom
controlplane/builds-are-pcrs
Oct 3, 2026
Merged

aledbf merged 1 commit into
mainfrom
controlplane/builds-are-pcrs

Conversation

@aledbf

@aledbf aledbf commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

pcrs_of now takes only pcr4, pcr7 and pcr12 from a measurements.json entry.

Why: spin-stack/ami is about to add each image's signed statement of its PCRs to its entry (statement, bundle), for spin F6b. host_attestation hands an entry whole to the control plane. A spin release that doesn't read statements refuses a build carrying one (measurementsOf takes exactly the three PCRs). So this has to merge before the next AMI release. A later PR passes the statement too, once a spin release reads it.

measurements.json is {} on main, so nothing changes today. task lint passes, module tests included.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

spin-stack/ami is about to publish each image's entry in measurements.json with the signed
statement of its PCRs beside them (spin F6b). host_attestation passes an entry whole to the
control plane, and a spin release that does not read a statement refuses a build carrying one:
the PCRs alone are taken, until a spin release reads the statement and the module passes it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@aledbf
aledbf merged commit 9411e7c into main Oct 3, 2026
2 checks passed
@aledbf
aledbf deleted the controlplane/builds-are-pcrs branch October 3, 2026 04:43
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