On Tue, 26.04.11 00:15, Milan Broz ([email protected]) wrote:

> /etc/crypttab uses "size" argument only for plain crypt mapping
> (and input is limited to volume key size)
> 
> For LUKS it always read whole keyfile (no arguments except "luks"
> should be in crypttab).
> 
> Because of bug in cryptsetup 1.2.0 (fixed in 1.3.0) library
> did not enforced keyfile size argument, so this bug was
> hidden for some time.
> 
> Patch also converts size in bits to bytes like excepted
> by libcryptsetup api.
> 
> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36264

Looks good to me.

Applied!

Milan, thanks for tracking this down and preparing a patch! Much
appreciated!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to