Hello!
We've got a VB5 forum up and running smoothly, but I realize now that I messed up a legacy system (VB3) user import the other day and didn't carry over their passwords properly. I have the "salt" and md5 hash of each of these user's passwords in the original VB3 database, and just need to copy that data over into the VB5 database (usernames are already in the VB5 system) so that their original VB3 passwords will start working again. But I'm at a complete loss on how to do this since the VB5 encryption method is different (blowfish). I read somewhere I can temporarily set the encryption method on a per-user basis to the legacy method, but I don't see the actual MySQL query to make that happen, and I don't see a "salt" field in the VB5 database.
Can anyone point me in the right direction? I just need a quick pointer on how I'd format the MySQL query, i.e. would it be something like this?
UPDATE vb_user SET token='$salt', scheme='legacy', secret='$md5hash' WHERE username='billybob';
Thank you!
We've got a VB5 forum up and running smoothly, but I realize now that I messed up a legacy system (VB3) user import the other day and didn't carry over their passwords properly. I have the "salt" and md5 hash of each of these user's passwords in the original VB3 database, and just need to copy that data over into the VB5 database (usernames are already in the VB5 system) so that their original VB3 passwords will start working again. But I'm at a complete loss on how to do this since the VB5 encryption method is different (blowfish). I read somewhere I can temporarily set the encryption method on a per-user basis to the legacy method, but I don't see the actual MySQL query to make that happen, and I don't see a "salt" field in the VB5 database.
Can anyone point me in the right direction? I just need a quick pointer on how I'd format the MySQL query, i.e. would it be something like this?
UPDATE vb_user SET token='$salt', scheme='legacy', secret='$md5hash' WHERE username='billybob';
Thank you!
Comment