* bug#38924: Encrypted root volume requires passphrase twice on boot
@ 2020-01-04 19:27 Matthew Leach
2020-01-04 19:56 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Leach @ 2020-01-04 19:27 UTC (permalink / raw)
To: 38924
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#38924: Encrypted root volume requires passphrase twice on boot
2020-01-04 19:27 bug#38924: Encrypted root volume requires passphrase twice on boot Matthew Leach
@ 2020-01-04 19:56 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-01-04 19:56 UTC (permalink / raw)
Cc: Jakub Kądziołka, 38924
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-04 19:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-04 19:27 bug#38924: Encrypted root volume requires passphrase twice on boot Matthew Leach
2020-01-04 19:56 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
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.