Hi Paddy,
It sounds like a great starting point. I would welcome the Crypt_xxx
libraries, and I know that the Zend_Mail_Smtp transport classes could
use the HMAC class to immediately remove their inbuilt code.
I've not had much experience with OpenID but with the Zend team
backing it I'm sure it would make integration much easier (not unlike
the existing high quality components and documentation!).
Cheers
Hi all,
As posted a few months back, I had started working on a PHP5 OpenID
library that I wished to port to the framework since it seemed a
reasonable addition given our web app focus. Given the complexity of
OpenID as a distributed authentication service there are numerous
components. Each by itself is actually not that hard, most of the
problem is putting them together with a solid set of integration
tests.
These include wrappers for large integer (> 32 bits) libraries since
bcmath alone is awfully slow for this compared to gmp, cryptographic
algorithms, and even a separate extensible web service (already
proposed on the wiki). The list of possible sub-components that
could feasibly get started with include:
Zend_Service_Yadis
Zend_Crypt_DiffieHellman
Zend_Crypt_Rsa
Zend_Crypt_Hmac
Zend_Crypt_Xtea
Zend_Math_BigInteger
An actual Zend_Service_Openid would need all of the above as well as
general file parsers. I was looking for an opinion as to whether
these are acceptable as individual proposals. It seems to make sense
rendering OpenID into it's reusable constituent parts rather lumping
everything (and inevitably burying/hiding it) into the Openid
namespace. I don't want to go spamming the wiki with 6+ proposals
until I get a little feedback either :).
Any thoughts/comments on this, or OpenID in the ZF in general, are
appreciated. :) The primary goal is to implement OpenID 1.1 and 2.0
to the extent necessary to authenticate. The basis of an OpenID
server can be considered after.
Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com