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!). Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt