Re: [PATCH v19 27/33] cryptodisk: Fallback to passphrase

2024-10-16 Thread Daniel Kiper
On Fri, Sep 06, 2024 at 05:11:19PM +0800, Gary Lin via Grub-devel wrote: > From: Patrick Colp > > 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, o

[PATCH v19 27/33] cryptodisk: Fallback to passphrase

2024-09-06 Thread Gary Lin via Grub-devel
From: Patrick Colp 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 print