Mike Soh (sohmc) wrote in lj_clients,
Mike Soh
sohmc
lj_clients

  • Mood:

need some help with perl md5 response

Hey everyone!

I'm having some problems implementing the challenge login method.

I'm getting the appropriate response from getchallenge. I make my MD5 hexes and then post, but I'm getting an invalid password error. However, the plain text logs in fine. Here is the source code:


$md5_pass = $md5->md5_hex($pass);

$auth_challenge = $server_response_hash{'challenge'};
$auth_method = "challenge";
$auth_response = $md5->md5_hex($auth_challenge . $md5_pass);



Any thoughts?

Thanks!
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

  • 3 comments