GNU bug report logs - #38924
Encrypted root volume requires passphrase twice on boot

Previous Next

Package: guix;

Reported by: Matthew Leach <matthew <at> mattleach.net>

Date: Sat, 4 Jan 2020 19:28:02 UTC

Owned by: Jakub Kądziołka <kuba <at> kadziolka.net>

Severity: wishlist

Merged with 32054

To reply to this bug, email your comments to 38924 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38924; Package guix. (Sat, 04 Jan 2020 19:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Leach <matthew <at> mattleach.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 04 Jan 2020 19:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew Leach <matthew <at> mattleach.net>
To: bug-guix <at> gnu.org 
Subject: Encrypted root volume requires passphrase twice on boot
Date: Sat, 04 Jan 2020 19:27:27 +0000
Hi Guix!

I've setup guix on two machines each one of them with an encrypted root
partition. However, on boot I'm prompted for my passphrase twice, once
before the grub menu is shown and second after Linux has started and
launched guile as init.

I would expect to have to only enter my passphrase once per boot.

Regards,
-- 
Matt




Information forwarded to bug-guix <at> gnu.org:
bug#38924; Package guix. (Sat, 04 Jan 2020 19:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 38924 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: Jakub Kądziołka <kuba <at> kadziolka.net>,
 38924 <at> debbugs.gnu.org
Subject: Re: bug#38924: Encrypted root volume requires passphrase twice on boot
Date: Sat, 04 Jan 2020 20:56:44 +0100
[Message part 1 (text/plain, inline)]
Matthew,

Matthew Leach 写道:
> I've setup guix on two machines each one of them with an 
> encrypted root
> partition. However, on boot I'm prompted for my passphrase 
> twice, once
> before the grub menu is shown and second after Linux has started 
> and
> launched guile as init.

Unfortunately, this is expected.

GRUB needs to decrypt the volume to load the Linux-Libre kernel 
and initrd, and there's no agreed-upon secure way for GRUB to pass 
the passphrase or key to the kernel/initrd.  So you're prompted 
for it again when the volume is actually mounted by the kernel.

> I would expect to have to only enter my passphrase once per 
> boot.

Most distributions hack around this limitation by including the 
unencrypted LUKS key in the initrd on the encrypted volume itself. 
Guix doesn't currently have any code to do the same.

This has been a problem for years but, by sheer coincidence, Jakub 
Kądziołka (CC'd) mentioned that this was on their to-do list for 
next week.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Severity set to 'wishlist' from 'normal' Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sat, 04 Jan 2020 20:02:01 GMT) Full text and rfc822 format available.

Merged 32054 38924. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sat, 04 Jan 2020 20:02:01 GMT) Full text and rfc822 format available.

Owner recorded as Jakub Kądziołka <kuba <at> kadziolka.net>. Request was from Jakub Kądziołka <kuba <at> kadziolka.net> to control <at> debbugs.gnu.org. (Tue, 14 Jan 2020 00:03:02 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.