Re: cryptsetup upgrade to 1.6.x unlocking problem in initramfs

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

 



On 09/01/2014 10:12 PM, Sven Eschenberg wrote:
> On Mon, September 1, 2014 22:00, Milan Broz wrote:
>> Which exact version you are using? Be sure that you have the last 1.6.6
>> where I fixed some problems related to crypto API interface.
> 
> Okay, I am using 1.6.4, will upgrade it and check again...

ok, then it is different issue I thought (there was a change
in 1.6.5 which caused a lot of similar issues), see below.

Anyway, please try 1.6.6. as well - there was some related changes.

>> Can you post output with added --debug of command which fails?
>>
>> If you are compiling cryptsetup yourself, which crypto backend are you
>> using?
>> (If it is kernel API, then kernel must have required support, AF_ALG
>> API and all relevant crypto modules.)
> 
> Always used the kernel backend. I reused the kernel config (just minor
> upgrade) which worked with the old cryptsetup.

So if you use kernel backend you simply must have kernel with the AF_ALG interface.

Also be sure you have SHA1 and hash used in your LUKS (if differs from SHA1).
(SHA1 is mandatory for LUKS support, crypto backend also uses it to check
that API is working -  I did not find other reliable way...)

Anyway, I would say that it is not problem in cryptsetup but that some required
kernel module is missing (it can be some dependence like cipher mode helper
or cryptomgr...)

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