I ran into this problem again today and found my old bug report.  I
downloaded the source code for cryptsetup-1.6.7, and built it manually.

Version 1.6.7 gives me a more informative error message.

$ sudo ./cryptsetup -y -s 128 luksFormat /dev/sdd1

WARNING!
========
This will overwrite data on /dev/sdd1 irrevocably.

Are you sure? (Type uppercase yes): YES
Enter passphrase: 
Verify passphrase: 
Failed to setup dm-crypt key mapping for device /dev/sdd1.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).
Key size in XTS mode must be 256 or 512 bits.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1299557

Title:
  cryptsetup luksFormat fails with -s <keysize>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1299557/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to