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

Fix the measure of EFI images #47

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Jan 11, 2024

If the image of the event log is different from the one that should be predicted (for example, when there is a new kernel), we need to update the image information before the rehash.

Also add more output information, like the PCR that will be extended. This can help to identify issues with collecting all the expansions in order with grep "::: Extend PCR", for example.

The debug output can be missleading, as print information about the
current event log, but not about the measured element, that can be
different as in the kernel case.

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Alberto Planas <aplanas@suse.com>
If the new EFI image is in a new place, the image information stored in
the parsed event should be updated, so the rehash will use this
information instead of the one from the event log.

Signed-off-by: Alberto Planas <aplanas@suse.com>
@aplanas
Copy link
Contributor Author

aplanas commented Jan 11, 2024

cc: @okirch

Signed-off-by: Alberto Planas <aplanas@suse.com>
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