On 05/27/2010 12:48 AM, Nico R. wrote: > It used to work properly with cryptsetup-1.0.6. However, I am now > experiencing an error with cryptsetup-1.1.1 if the passphrase is > containing a newline character. I am using a simplified testcase to show > the problem. The following commands are written for bash. I assume that > there is a block device named /dev/loop0 which has enough space to hold > a LUKS container. > > $ export LC_ALL=POSIX > $ echo -n $'foo\nbar' | sudo \ > cryptsetup luksFormat /dev/loop0 - > $ echo -n $'foo\nbar' | sudo \ > cryptsetup --key-file=- luksOpen /dev/loop0 testing > No key available with this passphrase. Yes, seems there is regression. Can you report this as new issue to project page? I'll close it when it is fixed (and I'll add this test to regression tests to no repeat it again.) Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt