mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-21 15:50:16 +01:00
By default when reencrypting LUKS2 device we regenerate only the volume key. But if the device was 'encrypted' by cipher_null this change did not make sense. The key was always empty. Change the behaviour so that unless user specifies --cipher parameter on command line, we change data encryption cipher to default when old segment cipher was cipher_null.
126 KiB
126 KiB