December 1st, 2004

eye
  • forked

(no subject)

I could really use some help with 'challenge-response'. I'm just trying to get a simple cross-post plugin working- using php and The Inutio XML-RPC Library. I surfed around enough to patch together a simple php script that posts- but I want to use the challenge-response method. Problem is, xml-rpc completely baffles me. Reading this post helped- at least in terms of what I know I need to add in:

"You need to send the user name, auth_method='challenge', auth_challenge=$challenge, and of course the auth_response." And generate the response via: md5($challenge . md5($password))

However, I've no clue how to put it all together. Here's what I have so far- it works to post, but as soon as I start playing with the 'challenge-response' stuff it breaks- I can't even get a challenge!

Collapse )