Migration from ProtectApp LUKS to Native Cryptsetup
This section provides the steps to migrate from ProtectApp LUKS to Native Cryptsetup.
Close the encrypted disk.
cryptsetup luksClose backupChange the value of the 'enable' parameter from 'yes' to 'no' in
/etc/ks_user_configfile.For example,
key_name=LUKS_Key user_name= enable=noReboot the system.
rebootOpen the encrypted disk with old passphrase.
cryptsetup luksOpen /dev/diskname backup Enter the passphrase=<Passoword of native cryptsetup>To verify the status of the encrypted volume, exceute the following command:
cryptsetup -v status backupFor example,
cryptsetup -v status backupOutput:
/dev/mapper/backup is active. type: LUKS2 cipher: aes-xts-plain64 keysize: 512 bits key location: keyring device: /dev/sdb sector size: 512 offset: 32768 sectors size: 33521664 sectors mode: read/write Command successful.