SHA1 on newly uploaded passwords

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cf_susan
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Wed Mar 12, 2008 9:36 am

SHA1 on newly uploaded passwords

Post by cf_susan » Mon Mar 17, 2008 8:34 am

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!

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Mon Mar 17, 2008 5:00 pm

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.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

pcgutierrez
Ensign (ENS)
Ensign (ENS)
Posts: 12
Joined: Tue Jan 22, 2008 4:49 pm

Post by pcgutierrez » Thu Mar 20, 2008 9:35 am

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

Post Reply