mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-29 08:14:08 +00:00
really use key-size 512 on luksFormat
This commit is contained in:
parent
7a98ee8ba6
commit
9110ccd9d1
2
tomb
2
tomb
@ -1614,7 +1614,7 @@ lock_tomb_with_key() {
|
|||||||
|
|
||||||
_message "Formatting Luks mapped device."
|
_message "Formatting Luks mapped device."
|
||||||
_cryptsetup --batch-mode \
|
_cryptsetup --batch-mode \
|
||||||
--cipher ${cipher} --key-size 256 --key-slot 0 \
|
--cipher ${cipher} --key-size 512 --key-slot 0 \
|
||||||
luksFormat ${nstloop}
|
luksFormat ${nstloop}
|
||||||
[[ $? == 0 ]] || {
|
[[ $? == 0 ]] || {
|
||||||
_warning "cryptsetup luksFormat returned an error."
|
_warning "cryptsetup luksFormat returned an error."
|
||||||
|
Loading…
Reference in New Issue
Block a user