LuksResume with key on partition

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

 



Hello,

I have copied my key to /dev/sdc3 using dd

The key size is 152bytes or 1216bits.

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"

If I don't specify a size then I get a warning about
Warning: exhausting read requested, but key file /dev/sdc3 is not a regular file, function might never return.

I have also tried -s 152

To get around this in cryptab I use
keyscript=/key.sh

where key.sh

dd bs=1 count=1217 if=$1

Why must equal count=1217??

I have hexdump and diffed them they are the same for the first 1216 bits

I also set all the remaining bits on the partition to 00 using dd.

Please assist!







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