[OpenID] Problem creating enc_mac_key
coen at rtlinteractief.nl
coen at rtlinteractief.nl
Wed May 6 12:45:41 UTC 2009
Hi,
I've trouble understanding how to build the enc_mac_key element for the
association. How I read the specs, the value and description of the
element do not seem to match. My test client is also not very helpful
since it immediately jumps to check_immediate without an assoc_handle
which means something went wrong with the association.
I read something like this:
the value says I should XOR the Mac key with my hashed, secret DH key.
the description says I should encrypt my Mac key with my secret DH key
and then hash the result, although I'm not entirely sure where the
hashing goes here.
Can somebody explain, perhaps in pseudo code, how to build/assemble the
enc_mac_key? Again, sorry for the n00b level.
Thanks a bunch!
--
Met vriendelijke groet / With kind regards / mit besten Grüßen,
Coen Schalkwijk
Software Engineer
coen.schalkwijk at rtl.nl <mailto:coen.schalkwijk at rtl.nl>
coen at rtlinteractief.nl <mailto:coen at rtlinteractief.nl>
+31 (0)35 671 8915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20090506/b9ad9941/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nav_balk_rtlnl_logo.gif
Type: image/gif
Size: 389 bytes
Desc: not available
URL: <http://lists.openid.net/pipermail/openid-general/attachments/20090506/b9ad9941/attachment-0002.gif>
More information about the general
mailing list