shitty_kitty (shitty_kitty) wrote in lj_clients,
shitty_kitty
shitty_kitty
lj_clients

Challenge-response?

I'm using the flat protocol, and I'm trying to authenticate using the challenge-response system. When I send the "getchallenge" command to the server, I'm getting this back:

challenge=c0:1119488400:2948:60:wrdelynkdgtzldsu5vnq:c32fcf37f954ef177f8a0007394f557b

No matter how hard I try, I can't get it to authenticate. I've tried using the whole string, colon-separated chunks of the string, and the last two chunks together (I noticed they're the main two that change), but nothing's working. I've checked my MD5 function and it's working correctly (I can generate hpassword's just fine), and I'm using the MD5_hex(challenge + MD5_hex(password)) formula. So, which part of that string do I need to return as "auth_challenge", and which part do I need to manipulate using that formula to return as "auth_response"?
Subscribe

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments