OpenID problem on IIS

Just want to share with you about using OpenID on IIS, it will send an error:
"Define Auth_OpenID_RAND_SOURCE as null to continue with an insecure random number generator."

So, just open /extlib/Auth/OpenID/CrypUtil.php and go to line #23
define('Auth_OpenID_RAND_SOURCE', '/dev/urandom');

change into
define('Auth_OpenID_RAND_SOURCE', null);

and it's all done, but it will be "insecure random number generator" :p

Comments

  • Hopefully, someone more familiar with using PHP on Windows Server will come by with info that says how to set up secure random number generation.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID