Bases: nova.volume.encryptors.cryptsetup.CryptsetupEncryptor
A VolumeEncryptor based on LUKS.
This VolumeEncryptor uses dm-crypt to encrypt the specified volume.
Shadows the device and passes an unencrypted version to the instance.
Transparent disk encryption is achieved by mounting the volume via dm-crypt and passing the resulting device to the instance. The instance is unaware of the underlying encryption due to modifying the original symbolic link to refer to the device mounted by dm-crypt.
Checks if the specified device uses LUKS for encryption.
Parameters: | device – the device to check |
---|---|
Returns: | true if the specified device uses LUKS; false otherwise |