Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • hi abhikalitra –

    my hack was to just add the lifeblog users to the wordpress “_users” table manually with phpmyadmin. that way the password is in plain text.

    as there’s no PHP function to decrypt an MD5 encrypted password, that’s the fastest path from A to B.

    because the WSSE header sends the password as SHA1 hashed (and there’s no PHP function to decrypt that either), that kinda prevents you from calculating/comparing the passwords that way.

    i have seen some talk on the PHP site about SHA1 decrypt functions, but nothing really workable or solid, and the math is too much for me to make it myself. =)

    hope that helps!

    hi all – good news – i have Lifeblog posting into the WP database. all i’ve got are some php scripts that accept Lifeblog’s requests, parse the XML and deal with appropriately.

    Hugovk, thanks for the tips re: WSSE auth .. i figured something was up when my calculated digest didn’t match up, either in string length, or actual content. incidentally, PHP 4.3.x doesn’t calculate the “binary” SHA-1 algorithm, so if anyone’s interested, you have to use PHP’s ‘pack’ function to render the SHA1 encryption binary-style.

    in addition, the PC version of Lifeblog sends atom entries differently than the nokia phone version .. as an example, the PC would send <a:content ...> .. where the phone would send <content ...> .. so my code looks like total spaghetti to compensate for this.

    ANYHOW, it’s working ?? i will post more about this eventually when i have some time to spare .. need to complete the site for the client.

    i’ve been working on a hack for this; so far so good, although i’m having a little difficulty with the WSSE authentication .. the script’s calculated password digest and the one sent by Lifeblog don’t match up.

    from there i would think it would be relatively easy to parse the XML and stuff the relevant data into the WordPress database…?

    anyone else working on this?

Viewing 3 replies - 1 through 3 (of 3 total)