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

tpm: Don't return an error if event log is full #657

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kukrimate
Copy link

Don't return an error if the firmware's event log is full. The PCR should still be extended in this case so there is no reason to make the system unbootable.

As discussed previously, it seems like we shouldn't fail to boot if the firmware's (limited size) TPM event log fills up. The events should still cause the target PCRs to be extended in this case.

Maybe we should warn on console and pass this information to the OS too?

Don't return an error if the firmware's event log is
full. The PCR should still be extended in this case
so there is no reason to make the system unbootable.
@vathpela
Copy link
Contributor

vathpela commented May 8, 2024

Yeah, I'd like to see it logged once. Otherwise this looks reasonable.

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.

None yet

2 participants