[ 
https://issues.apache.org/jira/browse/OFBIZ-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542981
 ] 

Jonathon Wong commented on OFBIZ-1406:
--------------------------------------

Scott Gray said:
> It looks like something to do with the way the byte array is converted into a
> hex string in OFBiz's HashCrypt class, I'm guessing the result of that
> conversion is non-standard.

Well, at least the MD5 output (in byte array form) is correct. It has to be, or 
I'd apply for a job at Sun right away claiming I'm one of the few maths experts 
who can code MD5 correctly!

Converting a byte array into hex string is trivial. Check HashCrypt to see if 
it's correct. If not, correct it or use a BetterHashCrypt. No big deal.

> make ofbiz recognize OSCommerce generated and imported encrypted passwords 
> under Linux
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1406
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1406
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: password.diff
>
>
> If company replaces their OSCommerce systems with ofbiz, they would like to 
> have the customer records imported including the OSCommerce generated 
> encrypted passwords.
> This patch will make ofbiz recognize these passwords and let OSCommerce users 
> login to ofbiz successfully This patch is however linux based because it is 
> making use of the Linux operating system command 'md5sum' which operates 
> exactly the same as the php md5 'C' program.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to