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 wrong pcr7 values #43

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Conversation

hallyn
Copy link
Contributor

@hallyn hallyn commented Sep 1, 2023

No description provided.

While in initramfs, write to /pcr7.bin first, then /sysroot/pcr7.bin

Signed-off-by: Serge Hallyn <[email protected]>
I've been getting wrong pcr7 values.  Joy points out that we
should be using a SignatureList, not a SignatureData, when
writing the UKI certs into the shim.  The only meaningful
difference in the written out bytes is that the GUID should be
all 0s.  So just make them all 0s here, until we come up with
the proper fix using the go-efi libs.

Signed-off-by: Serge Hallyn <[email protected]>
@hallyn hallyn merged commit 40292ca into project-machine:main Sep 1, 2023
1 check passed
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