Skip to content

Commit 18f0882

Browse files
ibresslerDaniel Kiper
authored andcommitted
kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER
... file types when UEFI Secure Boot is enabled. Otherwise it is not possible to load cryptodisk encryption key or detached header. Fixes: https://savannah.gnu.org/bugs/?65889 Signed-off-by: Ingo Breßler <dev@ingobressler.net> Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
1 parent 25b7f6b commit 18f0882

File tree

1 file changed

+2
-0
lines changed
  • grub-core/kern/efi

1 file changed

+2
-0
lines changed

grub-core/kern/efi/sb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ shim_lock_verifier_init (grub_file_t io __attribute__ ((unused)),
152152
case GRUB_FILE_TYPE_TESTLOAD:
153153
case GRUB_FILE_TYPE_GET_SIZE:
154154
case GRUB_FILE_TYPE_ZFS_ENCRYPTION_KEY:
155+
case GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY:
156+
case GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER:
155157
case GRUB_FILE_TYPE_CAT:
156158
case GRUB_FILE_TYPE_HEXCAT:
157159
case GRUB_FILE_TYPE_CMP:

0 commit comments

Comments
 (0)