diff options
| author | Blake Romero <blake@developercraft.com> | 2026-04-01 03:00:10 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-04-01 03:00:10 +0100 |
| commit | eb9e93b6859a8315a279818fb229d1334fc1f51a (patch) | |
| tree | 48b4a69f1dd7e92cb9a9e8e5cbddbcdb4bef5fbd | |
| parent | 36fb5da27e7538bff6106d9e0c70784777521ec6 (diff) | |
Add pbkdf to cryptsetup for GRUB support & removed unnessary args
| -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 |
