Re: LuksResume with key on partition

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

 



First let me thank you for you prompt reply.

Milan Broz wrote:
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?

The file is not available because the disk is not mounted. I access it in cryptab with /dev/disk/by-id/usb-TOSHIBA_TransMemory_001D92DC4AF0C97093A20E53-0:0-part3

With file you do not need to use -s.

I used size to stop an exhaustive read.


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

Yep



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.

No way, really?

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)?????


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

Luksopen gets called through keyscript and key.sh mechanism. (which was a hakaround for this problem) but it only works in cryptab.

See man page "notes on password processing".

Ok .


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

Will do. I will also try the CVS version. and contact the PM at debland.

Milan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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