Implement HMAC-256/DH-256 support.
Jax - April 14, 2008 - 16:33
| Project: | OpenID Provider |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Jax |
| Status: | closed |
Description
I'm willing to give this a go.
| Project: | OpenID Provider |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Jax |
| Status: | closed |
I'm willing to give this a go.
#1
This patch uses the PHP5 only hash() and hash_hmac() functions. Now the provider can do DH-SHA1 and DH-SHA256 association. I need to investigate when the HMAC-SHA256 assoc_type is used.
You can now use openid_provider with the Zend_OpenID_Consumer which uses DH-SHA256 when talking to an OpenID 2.0 provider.
Anyone knows any openID client that can be used to test all the combinations?
#2
This should add hmac-256 support when there isn't a session_type set. It's not tested though. Some cleanup of the patch is needed as well.
#3
Patch has been cleaned up.
#4
committed. thanks, Jax!
#5
Automatically closed -- issue fixed for two weeks with no activity.