Problems calculating signature

Jonathan Daugherty cygnus at janrain.com
Tue Sep 5 21:18:35 UTC 2006


# I've been developing an OpenID server & consumer for my web site (I
# prefer doing things myself) and everything is working wonderfully,
# except my signatures never come out the same as the "other end's"
# signature. I even brought my friend Kris in on this, who has worked
# with this stuff before, and the two of us combined could not figure
# it out.

I recommend you borrow some unit test code from our PHP OpenID library
(concerning signature-checking and key-value format).  See
Tests/Auth/OpenID/KVForm.php, Tests/Auth/OpenID/HMACSHA1.php, and
Tests/Auth/OpenID/data/hmac.txt.

-- 
  Jonathan Daugherty
  JanRain, Inc.



More information about the general mailing list