cryptsetup-1.6.5 can no longer open LUKS partition with cipher: twofish-xts-essiv:wp256
Issue 222 by andy.kitt... on 2014-07-12 17:26:55:
<b>What steps will reproduce the problem?</b>
- cryptsetup --type luks -d /root/crypt/key open /dev/sdb7 foo
What is the expected output?
Nothing, it should quietly do its job ;)
What do you see instead?
Failed to setup dm-crypt key mapping for device /dev/sdb7.
Check that kernel supports twofish-xts-essiv:wp256 cipher (check syslog for more info).
NOTE: syslog contains no output related to this
<b>What version of the product are you using? On what operating system?</b>
cryptsetup-1.6.5 on Gentoo/Linux, using the gcrypt backend (libgcrypt-1.6.1)
<b>Please provide any additional information below.</b>
After downgrading to 1.6.4 the same command worked again (no other changes to the system)
Poking around in the sources it seems that the hash wp256 is not recognized, since crypt_hash_size return 0 for it