Re: cryptsetup 1.0.3 and 1.0.5 incompatibilities

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

 



Takuya Saitoh wrote:

> could please someone enlighten me what exactly is the change which caused
> incompatibilities between the original cryptsetup up to cryptsetup-luks
> 1.0.3 and the higher versions such as cryptsetup 1.0.5 (I think it
> happened
> in the version 1.0.4)?  I am speaking about encryption without using the
> LUKS header, i.e. plain:
> 
> echo "$PASS" | gpg --decrypt --quiet --batch --passphrase-fd 0
> ~/.keypass.gpg | cryptsetup -c aes -s 128 create volumecrypt
> /dev/homevg/homelv

Iirc, the old version of cryptsetup did not read stdin completely in this
call and maybe only used up to 16 bytes from the key to create the mapping.
Maybe adding a "head -c 16" between gpg and cryptsetup helps here.

Otherwise this
https://bugzilla.redhat.com/show_bug.cgi?id=282111#c8
might be helpfull for you, I hope you understand how to adapt it to your
situation.

Regards,
Till


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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