pull down to refresh
Run this command to identify your encrypted partition:
lsblk
Look for entries with type "crypt" - the device above it in the tree is your actual encrypted device (something like /dev/sda2 or /dev/nvme0n1p2).
/dev/sda2
/dev/nvme0n1p2
Once you've identified your encrypted device, run:
sudo cryptsetup luksDump /dev/whatever
(Replace /dev/whatever with your actual device name)
/dev/whatever
Check the Version:
Version: 1
Check the PBKDF (Key Derivation Function): Look for the PBKDF: line in each keyslot section. You need to upgrade if you see:
PBKDF:
pbkdf2
argon2i
You're good if you see:
argon2id
How to know if you need to upgradeHow to know if you need to upgrade
Step 1: Find your encrypted deviceStep 1: Find your encrypted device
Run this command to identify your encrypted partition:
lsblkLook for entries with type "crypt" - the device above it in the tree is your actual encrypted device (something like
/dev/sda2or/dev/nvme0n1p2).Step 2: Check your LUKS version and KDFStep 2: Check your LUKS version and KDF
Once you've identified your encrypted device, run:
sudo cryptsetup luksDump /dev/whatever(Replace
/dev/whateverwith your actual device name)What to look for:What to look for:
Check the Version:
Version: 1, you're using LUKS1 and definitely need to upgradeCheck the PBKDF (Key Derivation Function): Look for the
PBKDF:line in each keyslot section. You need to upgrade if you see:pbkdf2- old and vulnerable to GPU attacksargon2i- better but not GPU-resistantYou're good if you see:
argon2id- this is the current recommended KDF that's resistant to GPU attacksQuick summary:Quick summary: