[dm-crypt] cryptsetup 1.6.0 crash when attempting to open truecrypt volume if the key is large enough

Milan Broz gmazyland at gmail.com
Thu Feb 14 14:43:17 CET 2013


On 02/14/2013 12:44 PM, .. ink .. wrote:
> 
> http://pastebin.com/FqxMUf8Z
> 
> The above link has the source code of the program that show the crash.I have not tried that many key sizes but a key size of 5MB seem to crash cryptsetup

Yes, there was a stupid bug.
http://code.google.com/p/cryptsetup/source/detail?r=e600024908219af09819d1a6549cad2b6813a8f0#

TCRYPT passphrase is in fact limited to maximal 64 characters,
so it fails now early if this limit is exceeded.

Thanks,
Milan


More information about the dm-crypt mailing list