mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
If user provided unusable cipher-mode string, LUKS header was written and keyslot creation failed later. Better check early (by creating fake dmcrypt device) if cipher is usable and fail early (without writing LUKS header to device). Fixes Issue#176