Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Janrain OpenId vs lightopenid PHP libraries

What are the differences between the PHP implementation of Janrain's PHP OpenID library and the LightOpenID.

Is one more secure than the other?

According to Google's best practices page:

A correct OpenID implementation has to:

  1. cover checking of cryptographic signatures

  2. checking of nonces

  3. Yadis discovery

I'm guessing the Janrain's library does fulfill all these requirements as Google recommends the library, but is the LightOpenID fulfilling 1 & 2.

like image 837
icc97 Avatar asked Nov 30 '25 16:11

icc97


1 Answers

LightOpenID uses the stateless version of the protocol, making it a lot simpler than the Janrain's library.

The stateless version delegates validation (anything related to cryptography, nonces, etc.) to the provider, so LightOpenID doesn't check that by itself. It does, however, follow the spec in that matter, so it isn't a security issue.

like image 83
Mewp Avatar answered Dec 02 '25 07:12

Mewp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!