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

generate HMAC for kernel on build #187

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Apr 6, 2024

Issue number:
Related: bottlerocket-os/bottlerocket#1667

Description of changes:
Generate a SHA-512 HMAC for the kernel during the image build. This must occur after the Secure Boot signing step.

Testing done:
Ran sha512hmac -c .vmlinuz.hmac on a VM with FIPS enabled. Check passed.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

FIPS verification requires an integrity check of the booted kernel.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
@bcressey bcressey requested review from jpculp and webern April 6, 2024 21:06
@bcressey bcressey merged commit 40c22ab into bottlerocket-os:develop Apr 8, 2024
1 check passed
@bcressey bcressey deleted the kernel-hmac branch April 8, 2024 18:05
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.

3 participants