Hi Milan, Milan Broz wrote:
On 05/06/2010 11:54 AM, Warren Crossing wrote:I am using cryptsetup 2:1.1.0-2.1 from debian I tried to get the cvs but cant dig cvs.saout.de (not even from saout.de ns)?????http://code.google.com/p/cryptsetup/ (where do you get that old cvs address?)
From www.saout.de. - is this an old dead site?
try 1.1.1-rc2 please and if it doesn't work, I need some reproducer (I tried simple passphrase and it works here, I think I even used 1.1.0 for test)
I don't have a spare disk handy (perhaps tonight I can try) - so I tried with loops, but it fails with "Device /dev/loop4 is not a valid LUKS device." Should it work with loops in this way? Have I done something wrong in my script? libdevmapper1.02.1 2:1.02.45-1 PATH=/usr/sbin/:$PATH cryptsetup --version rm key test.disk /mnt/hello dd if=/dev/urandom of=key count=1216 dd if=/dev/urandom of=test.disk count=2048 losetup -d /dev/loop4 losetup -d /dev/loop5 losetup /dev/loop4 test.disk losetup /dev/loop5 key losetup -a echo setup loops cryptsetup -c aes-plain -h sha512 -b 2048 create test /dev/loop4 -d key cryptsetup status test echo setup mapper mkfs.ext2 /dev/mapper/test mount /dev/mapper/test /mnt/ touch /mnt/hello echo "hello" > /mnt/hello sync umount /mnt echo setup filesystem cryptsetup status test cryptsetup remove test cryptsetup -d /dev/loop5 -s 1216 luksOpen /dev/loop4 test mount /dev/mapper/test /mnt cat /mnt/hello umount /mnt cryptsetup luksClose test
Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt