Support for passphrases longer than 32 characters

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

 



hello,

cryptsetup doesn't support passphrases longer than 32 characters in case
that they are submitted over stdin. if i use the password prompt, longer
passphrases are supported indeed, but over stdin not.

for example, i use the passphrase "abcdefghijklmnopqrstuvwxyz0123456789"
which has 36 characters. if i enter it at

# cryptsetup create crypt-test /dev/hdb1
Enter passphrase: 

it works perfectly. 

but if i give it over stdin, it is trunkated to 32 characters:
# echo "abcdefghijklmnopqrstuvwxyz0123456789" | cryptsetup create crypt-test /dev/hdb1

this bug is documented at http://bugs.debian.org/364529

for ltrace output, see the debian bugreport.

does a patch exist, to fix it?

...
 jonas

---------------------------------------------------------------------
 - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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