[systemd-devel] [systemd-commits] src/cryptsetup

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Nov 24 10:01:40 PST 2014


On Mon, Nov 24, 2014 at 06:44:25PM +0100, Quentin Lefebvre wrote:
> Hi,
> 
> I tested your patch and actually it doesn't solve the bug.
> For example, if "hash=sha512" is provided in /etc/crypttab, the
> first >                           if (!streq(arg_hash, "plain"))
> is true, and the
> > +                } else if (!key_file)
> is not reached.
This is be design. My patch is quite different from your patch,
which I tried to make clear in the description.

If you specify hash=sha512, then you get hash=sha512.

Zbyszek


More information about the systemd-devel mailing list