Re-encrypting from clear key to secure key onto a new volume
In this use case, you learn how to decrypt a volume that had been encrypted with a clear key in LUKS1 or in plain mode, and how to re-encrypt it with a secure key according to the infrastructure for protected volume encryption. The re-encrypted data is written to a new volume in this scenario.
Before you begin
About this task
You can either have the clear-key encrypted volume as a stand-alone volume or it can be a physical volume as part of an LVM volume group.
In this procedure, you use the known clear key used for the volume encryption to decrypt the data and then use the tools of the infrastructure for protected volume encryption to re-encrypt the volume using a generated secure key.