]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TY...
authorIngo Breßler <dev@ingobressler.net>
Mon, 22 Dec 2025 10:11:05 +0000 (11:11 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 8 Jan 2026 18:09:26 +0000 (19:09 +0100)
... 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>
grub-core/kern/efi/sb.c

index 4409e03c519446f01b1bd8dce7309ca775eb2892..b2bf38a541c062d6383df1e61d81676e19f7b56a 100644 (file)
@@ -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: