]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
disk/luks2: Add attempting to decrypt message to align with luks and geli modules
authorEgor Ignatov <egori@altlinux.org>
Tue, 27 May 2025 08:28:45 +0000 (11:28 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 29 May 2025 13:45:24 +0000 (15:45 +0200)
Signed-off-by: Egor Ignatov <egori@altlinux.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/luks2.c

index 8036d76ff1701e2dd2cc96105d369ed4bef6311e..b17cd211517d23dcb75b34fb5ac8053f1a79773f 100644 (file)
@@ -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");