OpenIDStore for PEAR::MDB2

Ryan Patterson cgamesplay at cgamesplay.com
Thu Feb 21 10:57:56 PST 2008


On Thu, Feb 21, 2008 at 10:24 AM, Thomas Harning
<thomas.harning at trustbearer.com> wrote:
>  Shortening the URLs to 255 chars has some ugly problems since the spec states
>  that the max Server URL can technically be up to 2047 bytes (per OpenID 1.1-Appendix D)

Ah, I glanced at the spec but didn't see anything.

>  One option for databases that can't have a key large enough is using a prefix-based key...
>  I know MySQL supports this, but I'm not so sure on others.

This is what the current SQLStore implementation does. I've modified
the patch to add specific SQL for mysql backends, but use MDB2's
generic table creation for other stores. The test cases in the patch
pass for MDB2 using MySQL, but I'd like to verify that it works with
PostgreSQL.

-- 
Regards,
Ryan Patterson <mailto:cgamesplay at cgamesplay.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdb2.patch
Type: application/octet-stream
Size: 18587 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080221/f087874e/attachment.obj 


More information about the Dev mailing list