[Bug] Luks2 support broken in Jolla's Cryptsetup luksFormat

asked 2020-03-18 23:29:37 +0200

olf gravatar image

updated 2020-03-18 23:32:36 +0200

Jolla's Cryptsetup 2.1.0 defaults to a Luks2 header (i.e., unless --type luks1 is specified), but luksFormat with a Luks2 header (with or without --type luks2 specified) seems to be broken in Jolla's Cryptsetup 2.1.0 (i.e., since SailfishOS 3.0.3):
It always returns Command failed with code -1 (wrong or missing parameters)., regardless which options are used (it even fails solely with the -v -q options provided)!

Tested on an Xperia X and XA2 with SailfishOS 3.2.1, originally reported by @simosagi.

edit retag flag offensive close delete