-
Notifications
You must be signed in to change notification settings - Fork 209
Add Secure Boot Kernel configuration #298
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
Changes from 7 commits
9e53a97
9724e9f
10322c3
77e1842
b6003e9
b6b6c59
46beeb3
fb8993f
9eb7646
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| [common] | ||
|
|
||
| [amd64] | ||
| CONFIG_MODULE_SIG_SHA256 | ||
| # For mellanox | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why these are excluded? can we have more explanation for the justifications?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SHA256 is excluded because we are using SHA512. Its more secure.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm planning to move the SHA512 config to apply to all kernel builds in a future PR; this isn't necessarily secure-boot specific, and is nice to have in general.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sound good, can we for now save the PR as is, and when you modify the general config you can remove it. Because we are implicitly signing the kernel modules with sha512 in the sonic-buildimage: |
||
| CONFIG_SECURITY_LOCKDOWN_LSM | ||
| CONFIG_SECURITY_LOCKDOWN_LSM_EARLY | ||
| CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE | ||
| CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT | ||
|
|
||
| [arm64] | ||
| CONFIG_MODULE_SIG_SHA256 | ||
| # For mellanox | ||
| CONFIG_SECURITY_LOCKDOWN_LSM | ||
| CONFIG_SECURITY_LOCKDOWN_LSM_EARLY | ||
| CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE | ||
| CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT | ||
|
|
||
| [armhf] | ||
|
|
||
| [marvell-armhf] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| [common] | ||
|
|
||
| [amd64] | ||
| CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" | ||
| CONFIG_MODULE_SIG_HASH="sha512" | ||
| CONFIG_MODULE_SIG_SHA512=y | ||
| CONFIG_KEXEC_SIG_FORCE=y | ||
|
|
||
| [arm64] | ||
| CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem" | ||
| CONFIG_MODULE_SIG_HASH="sha512" | ||
| CONFIG_MODULE_SIG_SHA512=y | ||
| CONFIG_KEXEC_SIG_FORCE=y | ||
|
|
||
| [armhf] | ||
|
|
||
| [marvell-armhf] |
Uh oh!
There was an error while loading. Please reload this page.