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]? "