mirror of
https://github.com/prurigro/cryptobox.git
synced 2024-11-21 22:02:31 -05:00
Use argon2id for the PBKDF
This commit is contained in:
parent
2f7067c728
commit
d5610d4c32
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ function create_image {
|
||||||
|
|
||||||
# Initialize encryption on the image
|
# Initialize encryption on the image
|
||||||
while (( 1 )); do
|
while (( 1 )); do
|
||||||
if cryptsetup -c aes-xts-plain64 -y -s 512 luksFormat "$loopdev"; then
|
if cryptsetup -c aes-xts-plain64 --pbkdf argon2id -y -s 512 luksFormat "$loopdev"; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
printf '%s' "${c_w}Failed to encrypt the image, press return to try again or ctrl+c to exit$c_c"
|
printf '%s' "${c_w}Failed to encrypt the image, press return to try again or ctrl+c to exit$c_c"
|
||||||
|
|
Loading…
Reference in a new issue