Hi David,

as recently reported we found out that the password hash implementation in ofbiz was odd. We have implemented a workaround to qualify existing accounts with an old funny hashed password to a real sha /md5 hash after log on.

The function is configurable with password.autoconvert.hash.type=true
in framework/security/config/security.properties


Other cryped data like credit card also affected form the password hash algo. We are using the old funny hash for this fields because of production compatibility.

We are currently working with an ofbiz revision 651887. The attached patch works against this revision.

Feel free to use or merge our changes against the current trunk. I have no write access to the repository.

kind regrads
Sebastian

--
Sebastian Schirmer

ZYRES digital media systems GmbH
Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
Phone +49 (0)69 98 55 99 - 0
Fax   +49 (0)69 98 55 99 - 11

Firmensitz: Eschersheimer Landstr. 5-7 60322 Frankfurt am Main
Registergericht: Amtsgericht Frankfurt am Main, HRB 76374
Geschäftsführer: Martin Wepper, Sebastian Schirmer

http://www.zyres.com/

-- RFC|1855|2.1.1

Reply via email to