Bug#402417: [leonard.norrgard@refactor.fi: [Pkg-cryptsetup-devel] Bug#402417: handle chainmode/essiv "plain" correctly]

Jonas Meurer jonas at freesources.org
Tue Jan 2 23:44:58 CET 2007


On 02/01/2007 David Härdeman wrote:
> >I need some advice regarding this bug. Unforuntately i don't know
> >nothing about initramfs, and David Härdeman, the one who usually does
> >all the cryptsetup initramfs stuff, is unavailable currently.
> >
> >Could somebody comment on this patch, so that the fix can make it into
> >etch in case that it is ok?
> 
> I've done a quick check (and I wont have time to comment more until I 
> return from my vacation):
> 
> 1) renaming variables is a separate issue and should not be done
> 
> 2) "-a" is a bashism so I think we should avoid it even though it seems to 
> be supported by the initramfs shell
> 
> So just change the first check (around 240) from:
> 
> if [ -n "$blockcipher" ]; then
> 
> to
> 
> if [ -n "$blockcipher" ] && [ "$blockcipher" != "plain" ]; then
> 
> and the corresponding line (looks like line 244) from:
> 
> if [ -n "$ivhash" ]; then
> 
> to
> 
> if [ -n "$ivhash" ] && [ "$ivhash" != "plain" ]; then

ok, i've commited the two-line change to svn, but i'm currently waiting
for a fix for #403426 and a new upstream (1.0.5) before uploading.

...
 jonas




More information about the Pkg-cryptsetup-devel mailing list