[dm-crypt] cryptsetup 1.2 to 1.6 upgrade
gmazyland at gmail.com
Thu Nov 19 15:30:33 CET 2015
On 11/19/2015 02:07 PM, Jose Thomas wrote:
> $ ls -l /dev/shm/key.dat
> -rw-------. 1 root root 16 Nov 19 05:03 /dev/shm/key.dat
Your keyfile is only 16 bytes long, you need 32 bytes for 256bit key.
(There was an bug in cryptsetup 1.2.0 where this was not reported and rest
of key was zeroed.)
Try to add these zeroes to your keyfile and repeat.
(Like dd if=/dev/zero of=<keyfile> seek=16 bs=1 count=16 conv=notrunc )
But note your key is half-zeroed (since the beginning!).
More information about the dm-crypt