Page 1 of 1

SHA1 on newly uploaded passwords

Posted: Mon Mar 17, 2008 8:34 am
by cf_susan
I have uploaded a few hundred passwords from our old website into the ablecommerce sql tables. These passwords do not allow access to the site as they are not SHA1 encrypted. Is there a way I can encrypt them and/or is there something I can put in the passwordFormat field that will make these work.

Thanks!

Posted: Mon Mar 17, 2008 5:00 pm
by Logan Rhodehamel
If you know the actual password, set that as the password and set the password format to "CLEAR".

If the password is already hashed using some other form, I may not have an answer. Sometimes those passwords include a salt value, and I do not have a solid procedure for converting those to a value that can be interpreted by our framework.

Posted: Thu Mar 20, 2008 9:35 am
by pcgutierrez
Hi Logan,

Would you be able to post the code that converts plaintext to your SHA1 string being stored in the DB? I need to use it so I can recycle the existing user credentials within our Able DB for a windows form-> web service ->able commerce db system.

Thanks