From eb9e93b6859a8315a279818fb229d1334fc1f51a Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 1 Apr 2026 03:00:10 +0100 Subject: Add pbkdf to cryptsetup for GRUB support & removed unnessary args --- install.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 661c078..b0bdcb8 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit