Re: LuksResume with key on partition

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

 



On 05/06/2010 10:24 AM, Warren Crossing wrote:
> Hello,
> 
> I have copied my key to /dev/sdc3 using dd

First, why are you not using file but whole partition?

With file you do not need to use -s.

(See man page, read is exhausting for key, so
it tries use the while device.)

> 
> The key size is 152bytes or 1216bits.

-s takes size in bits (multiple of 8 bits only), so 1216.

> 
> Then I luksSuspend and try to resume with
> 
> cryptsetup luksResume -d /dev/sdc3 -s 1216 safe
> but I get "No key available with this passphrase"

This works for me.

Isn't there \n in the end of passphrase? The same syntax
for luksOpen should work for luksResume.

See man page "notes on password processing".

(Also check --debug output, maybe there is some more info.)

Milan
_______________________________________________
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