LUKS2 support was introduced into cryptsetup 2.0.0 [1] and offers various improvements over the original format now referred to as LUKS1. This change introduces an encryptor to os-brick mostly using the existing LuksEncryptor class with the only difference being the `--type` switch supplied to cryptsetup when formatting a volume. As such the bulk of the _format_volume method from the original class has been extracted into a new _format_luks_volume method both the original and new Luks2Encryptor class can now reuse. [1] https://www.saout.de/pipermail/dm-crypt/2017-December/005771.html Change-Id: I09fb2b2be1e376f8ec0f49741c855cfd54ee27f0
7 lines
222 B
YAML
7 lines
222 B
YAML
---
|
|
features:
|
|
- |
|
|
A LUKS2 encryptor has been introduced providing support for this latest
|
|
version of the Linux Unified Key Setup disk encryption format. This
|
|
requires ``cryptsetup`` version 2.0.0 or greater.
|