From 9b0d303110058e08fcb4d8e7ecfe04d78fff14ad Mon Sep 17 00:00:00 2001 From: BrainwreckedTech <3752022+BrainwreckedTech@users.noreply.github.com> Date: Mon, 20 Dec 2021 01:02:53 -0500 Subject: [PATCH] Updated cryptsetup invokation --- mkcrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkcrypt b/mkcrypt index 6b19470..6dabfcb 100755 --- a/mkcrypt +++ b/mkcrypt @@ -45,7 +45,7 @@ if [ "${CONFRM,,}" = "y" ]; then echo "Setting up encryption with password..." echo "" - cryptsetup --verbose --cipher "${CIPHER}" --key-size "${KEYSIZ}" --hash "${HSHTYP}" --iter-time "${ITTIME}" --use-${USERAN} --verify-passphrase luksFormat "${DEVICE}" + cryptsetup --type luks${LKSTYP} --verbose --cipher "${CIPHER}" --key-size "${KEYSIZ}" --hash "${HSHTYP}" --iter-time "${ITTIME}" --use-${USERAN} --verify-passphrase luksFormat "${DEVICE}" echo "" echo -n "Do you wish to also use a key file [y/N]? "