diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -112,11 +112,9 @@ printf ',%s,U,*\n,+,L\n' "${boot_size}" | sfdisk -qf -X gpt ${drive} # Encryption setup if [[ $encrypt == true ]]; then # Create encrypted drive - echo "${password}" | cryptsetup --type luks2 \ - --label LUKS \ - --cipher aes-xts-plain64 \ - --hash sha512 \ - --use-random \ + echo "${password}" | cryptsetup --hash sha512 \ + --pbkdf pbkdf2 \ + --label LUKS \ luksFormat "${root}" # Open encrypted drive |
