noOne Posted February 4, 2012 Share Posted February 4, 2012 Hello everyone, I need to import many users from Joomla's virtuemart, and there is a little problem with user passwords... For instance, the password stored in virtuemart's database is: 3884af41b6ddc99bb627fc6c8e6a8a6f:0iSKPpgfbVz22Y05KqTIeRjDJ9gefovx It looks like there are two md5 codes and these are splitted with a colon. On Presta's database we have two columns in user table: password and security key. Both of them are also md5 codes. I need to find out, how to which one's are passwords, or whatever it is. I need to import users, so that they could sign in with their old passwords. Any ideas? Maybe someone had a similar issue? Thank you. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted February 6, 2012 Share Posted February 6, 2012 The only way is to take a look at virtuemart's code to determine how they are stored. Personally, I'd give them all new temp pwds and make them change it upon first login. Then I wouldn't have to worry about conversions. Link to comment Share on other sites More sharing options...
noOne Posted February 16, 2012 Author Share Posted February 16, 2012 Is there any plugin for doing that? Link to comment Share on other sites More sharing options...
emanuele@crmvillage Posted March 12, 2012 Share Posted March 12, 2012 did you found any solution? Link to comment Share on other sites More sharing options...
Zimba Posted January 28, 2013 Share Posted January 28, 2013 +1 Anyone knows were to find a password patch to handle VM hash vs PS hash ? Link to comment Share on other sites More sharing options...
PhiLho Posted January 29, 2013 Share Posted January 29, 2013 The solution I saw for osCommerce, probably working for all other kinds of user imports, is to store the old passwords in a separate column or table. Then the authentication code is hacked: if regular authentication fails (or if the current user's password data is empty in the DB), you have to check the old password with the old algorithm (supposing it is open source and thus that you can copy it). If successful, you can store the hash of the given password, using PS' method, in the regular password hash field. Thus, you progressively update the list of returning users. Link to comment Share on other sites More sharing options...
Zimba Posted January 29, 2013 Share Posted January 29, 2013 Sounds great, i definitely try the trick ! Thanks for your insights on this one Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now