unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Caleb Herbert <csh@bluehome.net>, 66746@debbugs.gnu.org
Subject: bug#66746: LUKS password prompt invisible, prompts twice
Date: Fri, 27 Oct 2023 20:44:55 +0200	[thread overview]
Message-ID: <87jzr752hk.fsf@jpoiret.xyz> (raw)
In-Reply-To: <1698234598.24576@bluehome.net>

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

Hi Caleb,

Caleb Herbert <csh@bluehome.net> writes:

> Hardware: ThinkPad X200
> Firmware: Libreboot 2016
> OS: Guix System
>
> Expected behavior:
> Password prompt. Enter LUKS passphrase. Log into computer.
>
> Actual behavior:
> Password prompt. Enter LUKS passphrase. Select boot option from GRUB menu. Hangs, no password prompt. Enter passphrase (again) anyway: Boots normally.

I think this is a combination of two things: first, we currently need to
unlock the drive once for GRUB, and then once when Linux boots, hence
the two password prompts.  This is a known limitation, but the usual
workaround of adding a keyfile to the initrd wouldn't work in our case
for security reasons: the keyfile would end up in the store and be
world-readable, a disaster.

Regarding the second prompt being invisible, I think it might be related
to the framebuffer initialization for Libreboot since there have been
lots of reports about this.  I don't know anything myself, but maybe
someone else could chime in?

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

  parent reply	other threads:[~2023-10-27 18:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-25 11:49 bug#66746: LUKS password prompt invisible, prompts twice Caleb Herbert
2023-10-26 18:44 ` kasper.andersson--- via Bug reports for GNU Guix
2023-10-27 18:44 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-10-27 19:02   ` Saku Laesvuori via Bug reports for GNU Guix
2023-10-28 11:07 ` kasper.andersson--- via Bug reports for GNU Guix
2023-10-29  8:21 ` Jake
2023-10-29 11:48 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-10-30 10:50   ` Jake
2023-10-29 16:04 ` James Smith via Bug reports for GNU Guix
2023-10-30 12:33 ` Jake
2023-10-30 16:49 ` X
2023-11-01 10:03   ` Jake

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87jzr752hk.fsf@jpoiret.xyz \
    --to=bug-guix@gnu.org \
    --cc=66746@debbugs.gnu.org \
    --cc=csh@bluehome.net \
    --cc=dev@jpoiret.xyz \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).