diff options
author | Tomas Volf <wolf@wolfsden.cz> | 2024-01-11 18:35:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-01-14 23:00:03 +0100 |
commit | d082312ef7adfea69c79d30ef947817b39832161 (patch) | |
tree | d588cc3cda334c2c08cf08fe311255a5aa56841b /gnu/bootloader/grub.scm | |
parent | db43edaa0a7eaa0064224b31fbce07469ebeb93e (diff) |
mapped-devices: Allow unlocking by a key file.
Requiring the user to input their password in order to unlock a device is not
always reasonable, so having an option to unlock the device using a key file
is a nice quality of life change.
* gnu/system/mapped-devices.scm (open-luks-device): Add #:key-file argument.
(luks-device-mapping-with-options): New procedure.
* doc/guix.texi (Mapped Devices): Describe the new procedure.
Change-Id: I1de4e045f8c2c11f9a94f1656e839c785b0c11c4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/bootloader/grub.scm')
0 files changed, 0 insertions, 0 deletions