cryptsetup backup password

main
The_miro 2025-12-12 13:41:06 +01:00
parent 268d310ff5
commit 6576af21ea
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ read -rp "Enable FIDO2 unlocking for root partition? (YES/NO): " FIDO_ROOT
echo "Encrypting root partition with LUKS..."
cryptsetup luksFormat "$ROOT_PART" --type luks2
cryptsetup open "$ROOT_PART" cryptroot
cryptsetup luksAddKey "$ROOT_PART"
# Add multiple FIDO2 keys for LUKS