Re: PHP5 OpenID for PEAR
| From: | Pádraic Brady | Date: | Tue, 19 Jun 2007 16:34:25 +0000 |
| Subject: | Re: PHP5 OpenID for PEAR | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-47072@lists.php.net to get a copy of this message | ||
Ah, so its a chorus :)
Okay, since JanRain have pulled out, I'll shove my way in. Sounds brutal put that way...
I'm continuing to refactor the code, so once the "Consumer" element is done (few days
at most) I'll post a link to a public repository here for those here interested in seeing more.
I'll then use that PEAR account application form for the first time since starting PHP back in
'01.
At present, the code has several dependencies on the Zend Framework to be resolved before a PEAR
proposal is possible. Not too many, and nothing complicated. I'll get a Phing task running to
manage classname updates between Zend and PEAR standards.
If I might take this opportunity to pick the local brains... The current class structure is very
focused on PHP5 so there would be some duplication (i.e. not using PHP4 PEAR Crypt and Http
classes). Is this acceptable? The PHP4 classes are a bit outdated (no SHA256 HMAC for example which
OpenID 2.0 allows for).
If I run into any issues I'll jab Travis for some advice :). Thanks for offering - I'll
try not to make you regret it. The only horribly complex thing I found was getting Yadis implemented
I think. That and managing 3 BigInteger extensions and about 4 methods of hashing in HMAC/DH. Even
Wez has his hat in the ring with that openssl patch...
Best regards,
Paddy
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com
----- Original Message ----
From: Travis Swicegood <development@domain51.com>
To: pear-dev@lists.php.net
Sent: Tuesday, June 19, 2007 3:15:55 PM
Subject: Re: [PEAR-DEV] PHP5 OpenID for PEAR
Pádraic Brady wrote:
> This is mainly a slightly longer response to a comment by Greg to my blog.
>
> As Greg noted, PEAR does not currently have a library supporting OpenID authentication.
> I've been working on an OpenID library in PHP5 for something proprietary but I retain the full
> rights to the code and I have been intending on making it open source.
>
> Back in February I was investigating ways of distributing it. At that time I decided on a
> contribution to the Zend Framework since I use it almost weekly at this point. The other option has
> been PEAR though I was unsure at the time whether JanRain were progressing their proposal or
> considering amendments.
>
> If JanRain are not persuing their proposal, it's worth noting the Zend Framework's
> CLA (contributor agreement) does not impinge on my rights as the libraries copyright holder. So
> it's entirely valid to make a similar release into PEAR and I'd be interested in doing so
> in the future once the open source library is finalised (mainly refactoring out some of my time
> saving practices from the original 1.1 library).
>
> Once I have sorted out where the Zend Framework proposal is heading, I'll revisit a PEAR
> proposal here. The code should already follow most of the PEAR coding standard since the framework
> uses a similar standard. When it's more available I'll also let folk here know where it
> can be looked over, prodded, and generally picked apart for comment.
Let me add to the chorus... This would be a good addition to PEAR. The
JanRain package is in a usable state, but having something more PEAR'ish
would be nice.
FWIW: I've worked with OpenID before, so if you need any help and/or
someone to bounce ideas off of feel free to shoot me an email.
-Travis
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
____________________________________________________________________________________
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front