Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Measured boot with TPM #348

Open
TobiPeterG opened this issue Jun 4, 2024 · 0 comments
Open

Support for Measured boot with TPM #348

TobiPeterG opened this issue Jun 4, 2024 · 0 comments

Comments

@TobiPeterG
Copy link

To improve the experience for users of encrypted root partitions, measured boot should be supported. This allows the TPM to unlock the root drive, when the kernel, initrd, cmdine and firmware are in a predicted state. The actual state would have to be measured at boot time. systemd-stub supports this, but I'm not sure about Lanzaboote

There are already tools to predict the PCR values, e.g. pcr-oracle, though it's not available for nixos yet
This also supports multiple entries and a secure system boot doesn't depend on secure boot anymore but the actual state of the boot files.

In a perfect world, an encrypted system would use the predictions to auto unlock on boot in case the files haven't been tempered with.

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

No branches or pull requests

1 participant