Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Aug 16, 2012 12:39 pm 
Offline

Joined: Thu Aug 16, 2012 12:30 pm
Posts: 1
Hello! As we read in the documentation, yubikeys have IDs which are six bytes in length.

To me, this means that Yubikey ID's are in the range of 0x000000 to 0xFFFFFF. Ok.

But Yubikey IDs which are in the range of 0x280000 to 0x28FFFF are special IDs. Customer IDs?

Well here's my problem. I am working on a system that assigns account numbers based on the Yubikey ID. However, some account numbers will be granted to non-yubikey users. Say, users who instead of typing in an OTP type in "anything else". And so, I need a range of account numbers which are guaranteed to never be used by Yubikey for OpenID.

Essentially, can I assume any 6-byte account which begins with 0x28 (i.e. 0x280000 to 0x28FFFF) is a non-yubikey? Or should I use accounts which are, say, 0x01000000 to 0x01FFFFFF (seven bytes in length)? The docs say no. But what about smaller account numbers, such as 5 bytes or 4 bytes? What does "Private context" mean? Does that mean I can use them for my system's non-yubikey users? This is all a little confusing.

If someone could just help me to understand what range of account numbers are guaranteed never to be used by Yubikeys, I would be very happy!

Thanks!


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Aug 20, 2012 2:05 pm 
Offline
Yubico Team
Yubico Team

Joined: Mon Feb 22, 2010 9:49 am
Posts: 183
Hello,

We have created a prefix in our database 0x3717 (modhex eibi) and reserved it for use in these cases for non-YubiKey customer specific IDs.

Thanks and best regards,
Samir.


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

All times are UTC + 1 hour


Who is online

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