Skip to content
Commit 92ad1955 authored by Lee, Chun-Yi's avatar Lee, Chun-Yi Committed by Mimi Zohar
Browse files

integrity: Do not load MOK and MOKx when secure boot be disabled



The security of Machine Owner Key (MOK) relies on secure boot. When
secure boot is disabled, EFI firmware will not verify binary code. Then
arbitrary efi binary code can modify MOK when rebooting.

This patch prevents MOK/MOKx be loaded when secure boot be disabled.

Signed-off-by: default avatar"Lee, Chun-Yi" <jlee@suse.com>
Reviewed-by: default avatarPetr Vorel <pvorel@suse.cz>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 54bf7fa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment