Updated cryptsetup invokation

master
BrainwreckedTech 3 years ago
parent 904a412930
commit 9b0d303110

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

Loading…
Cancel
Save