Re: Problem opening device: PBKDF2_HMAC_SHA1: Assertion `iterations != 0' failed

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

 



On 05/02/2010 11:23 AM, Andreas wrote:
> What i've done:
> ===============
> - Removed the device from the Ubuntu-box (it worked there perfectly)
> - Attached the device to the Knoppix-Box
> - Tried to open the device on the Knoppix-Box
> - Received an error (0.99.1 to 0.99)??

Hm. I almost sure you are hitting the same automatic conversion bug.
(~ only for disk formatted somewhere in version 1.0.3)

I removed that code from recent cryptsetup completely, it need different approach.
But this bug is very rare.

see http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/4060

If so, luckily it can be easily fixed. If you send me first 4kB
(visible LUKS header) I can fix it for you. (This part doesn't contain keyslots.)

dd if=/dev/≤your_luks_device> of=/backup.img bs=512 count=8

If you agree, please send me the header - backup.img - in private mail,
(optionally encrypted using my gpg key, id is 0xBB21822F on keyservers)

I'll send you back the fixed header (if it is this problem...)
I need anyway more examples of bad header to prepare some "fix" in new code
or at least add some FAQ entry.

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