Re: cryptsetup 1.2 to 1.6 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Milan,

I had seen this - https://gitlab.com/cryptsetup/cryptsetup/issues/112. But it did not click to me - since the key reported as 256 bits in "status" output.

Thanks for the pointer. I will try out your solution.

Thanks & regards,
Jose

On Thu, Nov 19, 2015 at 8:00 PM, Milan Broz <gmazyland@xxxxxxxxx> wrote:

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

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux