The fix here is to specify:

<volume options="...,hash=ripemd160" ...>

This may have ben a failure of the original XML conversion script or
perhaps a change in default behaviour.

However, given that the default for cryptsetup is in fact -h
ripemd160, it seems unfortunate that mount.crypt generates -h plain
when no hash option is given for the volume. I'd suggest that the
behaviour be changed:

loop.c:

// get rid of "plain", allowing 0 pointer
                .hash       = hash ? : "plain",

// surround this with if (ctl->hash) { ... }
                        start_args[argk++] = "-h";
                        start_args[argk++] = ctl->hash;


This would make the default has option be whatever cryptsetup's is.

Regards,
Giuliano.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to