Skip to content

Fix init_by_name to allow unknown cipher format in dm-crypt as null context.

Milan Broz requested to merge null-context into main

Deactivation code should deactivate dm-crypt device even if it is unknown for libcryptsetup. Previous fix for cipher specification was too strict.

Let's allow initialization as null context, that allow status and deactivate to be usable again.

Merge request reports