cryptsetup backup password
parent
268d310ff5
commit
6576af21ea
|
|
@ -48,6 +48,7 @@ read -rp "Enable FIDO2 unlocking for root partition? (YES/NO): " FIDO_ROOT
|
||||||
echo "Encrypting root partition with LUKS..."
|
echo "Encrypting root partition with LUKS..."
|
||||||
cryptsetup luksFormat "$ROOT_PART" --type luks2
|
cryptsetup luksFormat "$ROOT_PART" --type luks2
|
||||||
cryptsetup open "$ROOT_PART" cryptroot
|
cryptsetup open "$ROOT_PART" cryptroot
|
||||||
|
cryptsetup luksAddKey "$ROOT_PART"
|
||||||
|
|
||||||
|
|
||||||
# Add multiple FIDO2 keys for LUKS
|
# Add multiple FIDO2 keys for LUKS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue