Skip to content

Drop expected-pcr11#33

Merged
phaer merged 1 commit intomainfrom
no-expected-pcr11
Mar 18, 2026
Merged

Drop expected-pcr11#33
phaer merged 1 commit intomainfrom
no-expected-pcr11

Conversation

@phaer
Copy link
Copy Markdown
Owner

@phaer phaer commented Mar 18, 2026

Remove the build-time PCR 11 pre-calculation and runtime verification against /boot/expected-pcr11. With auto-enrollment, it was only an extra configuration check, but did not have any security benefits: both the UKI and expected-pcr11 live on the ESP, and Secure Boot already verifies the UKI.

Note: PCR 11 is still read from the TPM and included in attestation policy. It's just trusted on first use, during auto-enrollment. Just as the other PCRs we are attesting.

Drop the build-time PCR 11 pre-calculation and runtime verification
against /boot/expected-pcr11. With auto-enrollment, this was only a
configuration sanity check (catches forgotten set-pcr11 after signing)
but not a security boundary — both the UKI and expected-pcr11 live on
the same unencrypted ESP, and Secure Boot already verifies the UKI.

Removed:
- calculate-pcr11.py tool and its packaging
- configure-disk-image set-pcr11 subcommand
- show_pcr11_status() from configure-disk-image status
- expectedPcr11 derivation from secure-boot.nix
- set-pcr11 invocation from vm.nix prepareWritableDisk
- --verify-pcr11 flag from read-firmware-pcrs
- Expected value verification from report-pcrs
- calculate-pcr11 from flake.nix exports and devShell
- All references in docs

Kept:
- PCR 11 is still read from the TPM and included in attestation
  policy (read-firmware-pcrs always includes it now)
- report-pcrs still sends PCR 11 to the auto-enrollment daemon
- systemd-pcrphase services still extend PCR 11 at boot
- All auto-enrollment test assertions about PCR 11 in policy
@phaer phaer merged commit 515eb30 into main Mar 18, 2026
2 checks passed
@phaer phaer deleted the no-expected-pcr11 branch March 18, 2026 08:12
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