Skip to contentSkip to conversation

luks2: Add attempting to decrypt message to align with luks and geli modules

PATCH In review Egor Ignatov 2 participants 2 messages May 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 luks2: Add attempting to decrypt message to align with luks and geli modules

---
 grub-core/disk/luks2.c | 2 ++
 1 file changed, 2 insertions(+)
grub-core/disk/luks2.c +2 -0
index 8036d76ff..b17cd2115 100644
@@ -579,6 +579,8 @@ luks2_recover_key (grub_disk_t source,
   if (ret)
     return ret;
 
+  grub_puts_ (N_("Attempting to decrypt master key..."));
+
   if (grub_sub (grub_be_to_cpu64 (header.hdr_size), sizeof (header), &sz))
     return grub_error (GRUB_ERR_OUT_OF_RANGE, "underflow detected while calculating json header size");
 
Signature · 7 lines
2.42.4


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel