kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER
PATCH 1/1 kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER
From: Ingo Breßler <[email protected]>
... file types when UEFI Secure Boot is enabled. Otherwise it is not possible to load cryptodisk encryption key or detached header.
Signed-off-by Ingo Breßler <[email protected]>
Signed-off-by Daniel Kiper <[email protected]>
--- grub-core/kern/efi/sb.c | 2 ++ 1 file changed, 2 insertions(+)
grub-core/kern/efi/sb.c +2 -0
@@ -152,6 +152,8 @@ shim_lock_verifier_init (grub_file_t io __attribute__ ((unused)),case GRUB_FILE_TYPE_TESTLOAD :case GRUB_FILE_TYPE_GET_SIZE :case GRUB_FILE_TYPE_ZFS_ENCRYPTION_KEY : +case GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY : +case GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER :case GRUB_FILE_TYPE_CAT :case GRUB_FILE_TYPE_HEXCAT :case GRUB_FILE_TYPE_CMP :
Signature · 7 lines
2.11.0 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 26 lines · Daniel Kiper
From: Ingo Breßler <[email protected]>
... file types when UEFI Secure Boot is enabled. Otherwise it is not possible to load cryptodisk encryption key or detached header.
Signed-off-by Ingo Breßler <[email protected]>Signed-off-by Daniel Kiper <[email protected]>--- grub-core/kern/efi/sb.c | 2 ++ 1 file changed, 2 insertions(+)grub-core/kern/efi/sb.c +2
-1@@ -152,6 +152,8 @@ shim_lock_verifier_init (grub_file_t io __attribute__ ((unused)),case GRUB_FILE_TYPE_TESTLOAD :case GRUB_FILE_TYPE_GET_SIZE :case GRUB_FILE_TYPE_ZFS_ENCRYPTION_KEY : +case GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY : +case GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER :case GRUB_FILE_TYPE_CAT :case GRUB_FILE_TYPE_HEXCAT :case GRUB_FILE_TYPE_CMP : --
Quoted 1 line
2.11.0
LGTM! Thanks!
Reviewed-by Alec Brown <[email protected]>
Alec Brown
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel