You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cryptsetup luksDump /dev/sdX
cryptsetup status sdx_crypt
Change LUKS 2 Passphrase
# Check Key Slot you want to change
cryptsetup luksDump /dev/sdX
# Verify the old passphrase
cryptsetup --verbose open --test-passphrase /dev/sdX
# Change passphrase
cryptsetup luksChangeKey /dev/sdX -S 0
# Verify the new passphrase
cryptsetup --verbose open --test-passphrase /dev/sdX