really use key-size 512 on luksFormat

This commit is contained in:
Jaromil 2017-01-29 21:54:46 +01:00
parent 7a98ee8ba6
commit 9110ccd9d1

2
tomb
View File

@ -1614,7 +1614,7 @@ lock_tomb_with_key() {
_message "Formatting Luks mapped device."
_cryptsetup --batch-mode \
--cipher ${cipher} --key-size 256 --key-slot 0 \
--cipher ${cipher} --key-size 512 --key-slot 0 \
luksFormat ${nstloop}
[[ $? == 0 ]] || {
_warning "cryptsetup luksFormat returned an error."