On Fri, Sep 06, 2024 at 05:11:19PM +0800, Gary Lin via Grub-devel wrote:
> From: Patrick Colp <patrick.c...@oracle.com>
>
> If a protector is specified, but it fails to unlock the disk, fall back
> to asking for the passphrase.
>
> Before requesting the passphrase, the error from the key protector(s)
> has to be cleared, or the later code (e.g., LUKS code) may stop as
> 'grub_errno' is set. This commit prints error from the key protector(s)
> and sets 'grub_errno' to 'GRUB_ERR_NONE' to have a fresh start.
>
> Signed-off-by: Patrick Colp <patrick.c...@oracle.com>
> Signed-off-by: Gary Lin <g...@suse.com>
> Reviewed-by: Stefan Berger <stef...@linux.ibm.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to