From 9140a673f45fac4a3516fce2f85c548917c84e6b 2019-10-24 22:29:19 From: Unknown Date: 2019-10-24 22:29:19 Subject: [PATCH] a --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 891cf74..c9e5725 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -835,7 +835,7 @@ if [ "$ENABLE_CRYPTFS" = true ] ; then echo -n ${CRYPTFS_PASSWORD} > .password # Initialize encrypted partition - cryptsetup --verbose --debug -q luksFormat "${ROOT_LOOP}" -c "${CRYPTFS_CIPHER}" -s "${CRYPTFS_XTSKEYSIZE}" .password + cryptsetup --verbose --debug -q luksFormat "${ROOT_LOOP}" -c "${CRYPTFS_CIPHER}" -h "${CRYPTFS_HASH}" -s "${CRYPTFS_XTSKEYSIZE}" .password # Open encrypted partition and setup mapping cryptsetup luksOpen "${ROOT_LOOP}" -d .password "${CRYPTFS_MAPPING}"