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

recovering clevis token fails #263

Closed
Roger-Roger-debug opened this issue Jun 22, 2024 · 1 comment
Closed

recovering clevis token fails #263

Roger-Roger-debug opened this issue Jun 22, 2024 · 1 comment

Comments

@Roger-Roger-debug
Copy link

Since upgrading my kernel to 6.9.X I have been having issues with getting automatic decryption working. I first suspected that something about the kernel config changed (gentoo-kernel) like in #258, but after trying a few things I no longer believe that that's the case.

After enabling debug logging for booster (adding booster.log=debug to my cmdline arguments) I'm seeing errors like
recovering clevis token #0 failed: unable to unseal data: error code 0x28 : PCR have changed since checked or
recovering clevis token #0 failed: unable to unseal data: session 1, error code 0x1d : a policy check failed.

Because I wasn't sure about PCRs changing I sealed the tpm key against just register 7 (secure boot policy). On the next boot I get the message that secure boot is enabled but still booster complains about changed PCR values.

One thing I figured out is that it always works when I change the cmdline to booster.log=debug,console (at least I can't remember it ever failing) though I don't see how enabling logging would suddenly change the behavior of booster/clevis.

Any help on this is appreciated :)

@Roger-Roger-debug
Copy link
Author

Suddenly working again without me doing anything

@Roger-Roger-debug Roger-Roger-debug closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
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