key-size argument not working with luksAddKey

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

 



Using cryptsetup 1.1.0~rc2 from Ubuntu Lucid apt package.  As an experiment, I have a 1000 byte key that I have in a file 1000key.  I have another file 2000key which is the key followed by 1000 pad bytes.  This works:

# cryptsetup --key-file 1000key luksOpen /dev/loop0 cryptofs

This also works:

# cryptsetup --key-file 2000key --key-size 8000 luksOpen /dev/loop0 cryptofs

This works too:

# cryptsetup --key-file 1000key luksAddKey /dev/loop0

But this bit doesn't work:

# cryptsetup --key-file 2000key --key-size 8000 luksAddKey /dev/loop0
No key available with this passphrase.
#

That is to say, the --key-size argument doesn't seem to be working with luksAddKey.

Any suggestions ?

--
Josh Litherland (josh@xxxxxxxxxxx)
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[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