me
/
guix
Archived
1
0
Fork 0

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>.
master
Tobias Geerinckx-Rice 2021-12-08 23:22:09 +01:00
parent f3af1fb0bc
commit e5e307b676
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 3 deletions

View File

@ -1169,9 +1169,8 @@ USER-PARTITION if it is encrypted, or the plain file-name otherwise."
(lambda (key-file)
(syslog "formatting and opening LUKS entry ~s at ~s~%"
label file-name)
(system* "cryptsetup" "-q" "luksFormat" "--type" "luks2"
"--pbkdf" "pbkdf2" file-name key-file)
(system* "cryptsetup" "open"
(system* "cryptsetup" "-q" "luksFormat" file-name key-file)
(system* "cryptsetup" "open" "--type" "luks"
"--key-file" key-file file-name label)))))
(define (luks-close user-partition)