Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Aug 17, 2011 5:31 pm 
Offline

Joined: Wed Aug 17, 2011 5:28 pm
Posts: 1
I have downloaded the standalone PHP class for Yubikey integration. I have followed the instructions with it.

When I enter my client ID and secret key in the yubikeytest.php file, it fails when I try to log in. It says "That is not your Yubikey."

I am not sure what the problem is. I went to https://upgrade.yubico.com/getapikey/ and got a client ID and a secret key. It said on that page that it might take 5 minutes for it to be recognized by the Yubico Validation Servers, but it has been longer than 5 minutes. Is it possible that the wait is longer than 5 minutes?

Let me know if you have any ideas.

Thanks,
khamilton


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Aug 22, 2011 2:24 pm 
Offline

Joined: Mon Aug 22, 2011 2:21 pm
Posts: 2
Can you show some code for what you have and what is not working?


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 06, 2011 11:05 am 
Offline

Joined: Tue Dec 06, 2011 10:46 am
Posts: 7
Was this solved and how ?


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 07, 2011 3:03 pm 
After googling, I guess you are talking about https://github.com/rnavarro/yubikey-php/blob/master/yubikeytest.php.

For the record, that is not software written by or supported by Yubico.

From just looking at the source code, it seems the error message you got is given if you have not set the appropriate $token_id in the source code. Why it compares an MD5 hash of the public id + username instead of just a straight forward string comparison beats me.

/Fredrik


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 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