chiark / gitweb /
cryptsetup: default to no hash when keyfile is specified
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Nov 2014 14:11:12 +0000 (09:11 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Nov 2014 14:14:18 +0000 (09:14 -0500)
commit8a52210c9392887a31fdb2845f65b4c5869e8e66
tree5e03dbbb05f8c2b5fecbc66f2990ee6325c93a38
parent056edeb9102c5ba455e1a54af70f282b6138ca33
cryptsetup: default to no hash when keyfile is specified

For plain dm-crypt devices, the behavior of cryptsetup package is to
ignore the hash algorithm when a key file is provided. It seems wrong
to ignore a hash when it is explicitly specified, but we should default
to no hash if the keyfile is specified.

https://bugs.freedesktop.org/show_bug.cgi?id=52630
src/cryptsetup/cryptsetup.c