From d5610d4c32dcebbc8de34eb519cf6c53c066ef1e Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 18 Nov 2020 12:19:11 -0500 Subject: [PATCH] Use argon2id for the PBKDF --- cryptobox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptobox b/cryptobox index e5c4b7b..76c4671 100755 --- a/cryptobox +++ b/cryptobox @@ -111,7 +111,7 @@ function create_image { # Initialize encryption on the image 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 else printf '%s' "${c_w}Failed to encrypt the image, press return to try again or ctrl+c to exit$c_c"