mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 11:20:10 +01:00
VeraCrypt now allows passwords of maximal length 128 bytes (compared to legacy TrueCrypt where it was limited by 64 bytes). This patch implements support for such a passphrases for TCRYPT format. The whole extension seems to be quite dubious, the original TCRYPT passphrase limit was IMO because of internal block length in PBKDF2 (SHA1/SH256 block size is 64 bytes), this patch make sense for SHA512 where the block size is 128 bytes. Another strange thing is enlarging keyfile pool according to real entered password size. Fixes: #532.
3.4 KiB
3.4 KiB