Revert "installer: Make LUKS2 the default format for encrypted devices"
This reverts commit a82e9f45fd
at the
author's request. We are not quite ready to boot all resulting
systems.
See <https://logs.guix.gnu.org/guix/2021-12-08.log#231815>.
This commit is contained in:
parent
f3af1fb0bc
commit
e5e307b676
@ -1169,9 +1169,8 @@ USER-PARTITION if it is encrypted, or the plain file-name otherwise."
|
|||||||
(lambda (key-file)
|
(lambda (key-file)
|
||||||
(syslog "formatting and opening LUKS entry ~s at ~s~%"
|
(syslog "formatting and opening LUKS entry ~s at ~s~%"
|
||||||
label file-name)
|
label file-name)
|
||||||
(system* "cryptsetup" "-q" "luksFormat" "--type" "luks2"
|
(system* "cryptsetup" "-q" "luksFormat" file-name key-file)
|
||||||
"--pbkdf" "pbkdf2" file-name key-file)
|
(system* "cryptsetup" "open" "--type" "luks"
|
||||||
(system* "cryptsetup" "open"
|
|
||||||
"--key-file" key-file file-name label)))))
|
"--key-file" key-file file-name label)))))
|
||||||
|
|
||||||
(define (luks-close user-partition)
|
(define (luks-close user-partition)
|
||||||
|
Loading…
Reference in New Issue
Block a user