From 9499824cd5b2ade2b1ee7b4810ec2d6f490f3223 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 31 May 2024 22:53:33 -0700 Subject: [PATCH] Upgrade to LUKS2 with PBKDF2 Signed-off-by: Tommy --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1280c86..e2ec291 100644 --- a/install.sh +++ b/install.sh @@ -158,7 +158,7 @@ mkfs.fat -F 32 -s 2 "${ESP}" &>/dev/null ## Creating a LUKS Container for the root partition. output 'Creating LUKS Container for the root partition.' -echo -n "${luks_password}" | cryptsetup luksFormat --type luks1 ${cryptroot} -d - &>/dev/null +echo -n "${luks_password}" | cryptsetup luksFormat --pbkdf pbkdf2 ${cryptroot} -d - &>/dev/null echo -n "${luks_password}" | cryptsetup open ${cryptroot} cryptroot -d - BTRFS='/dev/mapper/cryptroot'