Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:28 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 28, 2008 3:34 pm 
Offline

Joined: Tue May 27, 2008 7:15 pm
Posts: 4
Hi!

Installed the OpenID server for the yubikey. Downloaded the source from svn. Says its revision 4.

OS: Vista 64bit (sp1)
Webbserver: IIS7
PHP version: 5.2.6

I can log in through server.php and it says im logged in.
When i try "http://www.openidenabled.com/resources/openid-test/checkup" i get the following error

------------------------
Checking https://xxxxxxx.dyndns.org/server.php/i ... xxxxxxxxxx ...
Fetching https://xxxxxxx.dyndns.org/server.php/i ... xxxxxxxxxx
Yadis links found at https://xxxxxxx.dyndns.org/server.php/i ... xxxxxxxxxx. Your server is at https://xxxxxxx.dyndns.org/server.php.
Attempting to associate with the server.
kvToSeq warning: Line 1 does not contain a colon: '<br />\n<b>Fatal error</b>: Define Auth_OpenID_RAND_SOURCE as null to continue with an insecure random number generator. in <b>C:\\Inetpub\\wwwroot\\Auth\\OpenID\\CryptUtil.php</b> on line <b>52</b><br />\n'
kvToSeq warning: In line 2, ignoring leading or trailing whitespace in value ' Define Auth_OpenID_RAND_SOURCE as null to continue with an insecure random number generator. in <b>C:\\Inetpub\\wwwroot\\Auth\\OpenID\\CryptUtil.php</b> on line <b>52</b><br />': '<br />\n<b>Fatal error</b>: Define Auth_OpenID_RAND_SOURCE as null to continue with an insecure random number generator. in <b>C:\\Inetpub\\wwwroot\\Auth\\OpenID\\CryptUtil.php</b> on line <b>52</b><br />\n'
Getting association: missing key in response from https://xxxxxxx.dyndns.org/server.php: assoc_type
Server contact failed.

Fail Fail. https://xxxxxxx.dyndns.org/server.php/i ... xxxxxxxxxx is not a working OpenID.
---------------------------

Any idea what im doin wrong?

REGARDS
Anders


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Wed May 28, 2008 5:57 pm 
Offline
Site Admin
Site Admin

Joined: Tue May 06, 2008 7:22 pm
Posts: 151
Can you try running the 'detect.php' script?

E.g., http://yourserver/path/detect.php

It should print what kind of randomness generator the server will use.

I suspect that JanRain's example server haven't been tested under IIS7, under Linux it reads from /dev/urandom but this obviously doesn't work well under Windows.

Possibly you'll need to set Auth_OpenID_RAND_SOURCE to null to use the insecure generator, until you can figure out a better entropy source for the server under Windows.

Good luck!

/Simon


Top
 Profile  
Reply with quote  
PostPosted: Thu May 29, 2008 7:53 am 
Offline

Joined: Tue May 27, 2008 7:15 pm
Posts: 4
Hi Simon!

You where right on spot. :D

The OpenID suite from JanRain points to a randomness source specific to Linux/Unix/Mac "/dev/urandom".

Just changed one line in CryptUtil.php
from
define('Auth_OpenID_RAND_SOURCE', '/dev/urandom');
to
define('Auth_OpenID_RAND_SOURCE', null);

Thx alot!

REGARDS
Anders


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: YahooSeeker [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group