all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "François-René Rideau" <fare@mukn.io>
To: 59529@debbugs.gnu.org
Subject: bug#59529: fail to re-prompt after mistyped disk encryption passphrase
Date: Wed, 23 Nov 2022 22:39:34 -0500	[thread overview]
Message-ID: <CAOhKva3Jg78sO0qSqjjHv5ajXaJq3-xFMRvTmN106sLtedoebQ@mail.gmail.com> (raw)

When booting into an encrypted disk, guix correctly prompts for an
encryption passphrase, but should the passphrase be somehow mistyped
(which happens more often than not for an appropriately long
passphrase on some devices' bad keyboards), guix drops to the scheme
repl, without any obvious way to usefully restart the process. The
only thing left to do is then to reboot and go through the lengthy
BIOS cycle again.

Could guix, like nix, offer the user many attempts to type the passphrase?

Maybe after 3 to 10 failed attempts, or an attempt using an empty
string, then dropping to the debugger makes sense—but even then, could
some message give a hint about how to do anything useful at the repl,
like restarting for instance?

NB: Using guix 437718442ca758a3857702cecfe5c80aa5df272b.

—♯ƒ • François-René Rideau • Co-Founder and President, MuKn.io
“If instead of teaching other people what government should be and
should do, you'd teach yourself what government actually is and does
do, you'd be a libertarian.”




                 reply	other threads:[~2022-11-24  3:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOhKva3Jg78sO0qSqjjHv5ajXaJq3-xFMRvTmN106sLtedoebQ@mail.gmail.com \
    --to=fare@mukn.io \
    --cc=59529@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.