Mark Kramble - 2014-03-30

A shorter password that exhibits this bug is "fredbloggs".

This bug is due to one or more trailing 0's in the 56 byte key generated from the password which will occur for one in 256 passwords.

To fix this bug, the size adjustment code circa line 106 of wrapbf.c needs to be modified to take account of trailing zeros in the key. The file will then decrypt successfully.

PS Oops, and this has already been mentioned by the original author in the link above (I should really do my research a bit better before posting). I'll give that mod a try rather than my own quick hack.

 

Last edit: Mark Kramble 2014-03-30