[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] cryptodisk: allow user to retry failed passphrase
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v5] cryptodisk: allow user to retry failed passphrase |
Date: |
Wed, 8 May 2024 17:07:03 +0200 |
On Mon, May 06, 2024 at 05:07:30PM -0700, Forest wrote:
> Give the user a chance to re-enter their cryptodisk passphrase after a typo,
> rather than immediately failing (and likely dumping them into a grub shell).
>
> By default, we allow 3 tries before giving up. A value in the
> cryptodisk_passphrase_tries environment variable will override this default.
>
> The user can give up early by entering an empty passphrase, just as they
> could before this patch.
>
> Signed-off-by: Forest <forestix@nom.one>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel