commit: 48568fc7e91e2080b9e9422598483e573c120da1
parent: f8fbb9b49bc3a402770652a262888ae4c3b11a55
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 4 Aug 2020 22:06:56 +0200
sys-boot/grub/grub-2.04_luks_retry: Try again after a passphrase fail
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/patches/sys-boot/grub/grub-2.04_luks_retry.patch b/patches/sys-boot/grub/grub-2.04_luks_retry.patch
@@ -0,0 +1,14 @@
+diff --git a/grub-core/disk/luks.c.old b/grub-core/disk/luks.c
+index 86c50c6..672ecf3 100644
+--- a/grub-core/disk/luks.c.old
++++ b/grub-core/disk/luks.c
+@@ -464,7 +464,8 @@ luks_recover_key (grub_disk_t source,
+ }
+
+ grub_free (split_key);
+- return GRUB_ACCESS_DENIED;
++ //return GRUB_ACCESS_DENIED;
++ return luks_recover_key(source, dev);
+ }
+
+ struct grub_cryptodisk_dev luks_crypto = {