emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65002: closed ([PATCH 0/2] Add support for unlocking root device via


From: GNU bug Tracking System
Subject: bug#65002: closed ([PATCH 0/2] Add support for unlocking root device via a key file)
Date: Sun, 14 Jan 2024 20:54:01 +0000

Your message dated Sun, 14 Jan 2024 21:53:30 +0100
with message-id <874jffhc1h.fsf@gnu.org>
and subject line Re: [bug#65002] [PATCH v3 1/6] mapped-devices: Allow unlocking 
by a key file.
has caused the debbugs.gnu.org bug report #65002,
regarding [PATCH 0/2] Add support for unlocking root device via a key file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
65002: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65002
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/2] Add support for unlocking root device via a key file Date: Tue, 1 Aug 2023 22:53:10 +0200
When having an encrypted /boot, it is currently necessary to input a password
twice, once for the /boot (so that grub can find its configuration) and later
once more in order to actually unlock the / itself.  It is not very user
friendly and gets annoying quickly in more exotic setups.  For example with /
on RAID1 BTRFS, password needs to be entered 4 times.  And even without that,
for large encrypted arrays, password needs to be entered once per drive.

The obvious solution to this is to just use --key-file option of the luksOpen
command, however support for that was not implemented.  This series adds that
support.

Another problem is where to store the key file, since it needs to be both
present in the initrd, but it cannot be in the store (since that would make it
world-readable, and you do not want that for an encryption key).  Luckily for
us, grub can load multiple initrds and merge them, so option to specify
additional initrd (not from the store) is added as well.

Since extlinux does not look like supporting encrypted /boot (and this new
option should not be used for anything else), it was added only into into
grub.

Tomas Volf (2):
  mapped-devices: Allow unlocking by a key file
  gnu: bootloader: grub: Add support for loading an additional initrd

 doc/guix.texi                 | 32 +++++++++++++++++
 gnu/bootloader.scm            |  6 +++-
 gnu/bootloader/grub.scm       |  6 ++--
 gnu/system/mapped-devices.scm | 67 ++++++++++++++++++++++-------------
 4 files changed, 83 insertions(+), 28 deletions(-)


base-commit: 5a293d0830aa9369e388d37fe767d5bf98af01b7
-- 
2.41.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#65002] [PATCH v3 1/6] mapped-devices: Allow unlocking by a key file. Date: Sun, 14 Jan 2024 21:53:30 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi Tomas,

I finally applied v3 of this patch series, it looks great to me.

Thank you, and again apologies for the long delay!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]