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

keylime_policy-commands: Do not expect algorithm in policy #652

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

ansasaki
Copy link
Contributor

Previously, the keylime_policy command would set the IMA template hash algorithm to follow the algorithm set through --algo option.

This was an incorrect behavior and was recently fixed. Now the IMA template hash algorithm is hardcoded as SHA-1, following kernel implementation.

Copy link
Collaborator

@kkaarreell kkaarreell left a comment

Choose a reason for hiding this comment

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

Thank you for the update.
Multi-host test failures are unrelated, this is something I need to fix.

@ansasaki
Copy link
Contributor Author

I just merged the changes needed in keylime/keylime; I'll drop the temporary commit.

Previously, the keylime_policy command would set the IMA template hash
algorithm to follow the algorithm set through --algo option.

This was an incorrect behavior and was recently fixed. Now the IMA
template hash algorithm is hardcoded as SHA-1, following kernel
implementation.

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
@kkaarreell kkaarreell merged commit 2431166 into RedHat-SP-Security:main Sep 23, 2024
6 of 8 checks passed
@ansasaki ansasaki deleted the fix_algos branch September 24, 2024 08:15
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