luks2: Add attempting to decrypt message to align with luks and geli modules
PATCH 1/1 luks2: Add attempting to decrypt message to align with luks and geli modules
Signed-off-by Egor Ignatov <[email protected]>
--- grub-core/disk/luks2.c | 2 ++ 1 file changed, 2 insertions(+)
grub-core/disk/luks2.c +2 -0
@@ -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
Quoted 1 line · Egor Ignatov
Signed-off-by Egor Ignatov <[email protected]>
Reviewed-by Daniel Kiper <[email protected]>
Daniel
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel