I keep getting "errmsg:Invalid password" while trying to log in on /interface/flat, using challenge/response. I am using the right password and the MD5 hash is computed correctly (or so is seems). Maybe something is wrong with the way I use auth_challenge?
First I send "mode=getchallenge", this is what I get back:
Connection code: HTTP/1.1 200 OK
auth_scheme
c0
challenge
c0:1329793200:79:60:LYkBrahns8cN8Hz5EodP:c
expire_time
1329793339
server_time
1329793279
success
OK
Apparently, everything goes fine and I get a challenge string back which is: c0:1329793200:79:60:LYkBrahns8cN8Hz5EodP:c
Using this string, I compute auth_response.
Now, this is the complete query with all the data that I'm sending to the server:
query: mode=login&user=ellie_1928&auth_method=challenge&auth_challenge="c0%3A1329793200%3A79%3A6
That's what I get back:
OK
Auth response
errmsg
Invalid password
success
FAIL
As I said, I checked the MD5 hashes and the password itself.
Thanks in advance for your help.