Topic: Migration from 1.2.x, can't login
Hello,
I'm trying to migrate from my old 1.2 install to a fresh punbb 1.4 (on localhost WAMP, first for testing).
I exported the sql from the live install and reimported it locally without issue, pointed to admin/db_update.php, launched the conversion.
The conversion goes seemingly without problem, but then I try to login with any of two accounts from the old install (admin, and personnal account) I'm constantly refused with "Incorrect username and/or password".
I've double checked the password, they work on the old install, both accounts are present in the new database with the same password hash. The salt field is NULL in all cases.
Any one has an idea of what I'm doing wrong?
I've tried both with enabling or not enabling the charset conversion but I don't think that has any impact on that.
Thanks
--
edit:
It turns out that when I do a manual SHA1 on my password, I don't get the same hash that what's stored in the db.
This means that when login in on the live site, the hash is not computed on my actual password but on something else. Maybe due to char encoding or something… (I always have some special chars like à, $, ', É, etc. in my passwords).
When I capture the POST request on login, I see the special chars in the password have been escaped with %E0, etc. I Still can't find what exactly generates the saved hashes though.