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

efi/preinstall: Fix broken SHA1 checks #373

Merged

Conversation

chrisccoulson
Copy link
Collaborator

PR #365 introduced support for SHA1 PCR banks, hidden behind a flag (PermitWeakPCRBanks), and some additional unit tests for this. However, the unit tests are currently testing the wrong thing - they are enabling and testing for SHA256 instead.

This updates the tests to make sure they are testing the correct thing.

PR canonical#365 introduced support for SHA1 PCR banks, hidden behind a flag
(PermitWeakPCRBanks), and some additional unit tests for this. However,
the unit tests are currently testing the wrong thing - they are enabling
and testing for SHA256 instead.

This updates the tests to make sure they are testing the correct thing.
Copy link
Collaborator

@pedronis pedronis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@chrisccoulson chrisccoulson merged commit 6a3ddeb into canonical:master Jan 29, 2025
2 checks 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.

2 participants