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 backup
Change the value of the 'enable' parameter from 'yes' to 'no' in
/etc/ks_user_config
file.For example,
key_name=LUKS_Key user_name= enable=no
Reboot the system.
reboot
Open 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 backup
For example,
cryptsetup -v status backup
Output:
/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.