Welcome to Yubico tech community.

...visit our store at store.yubico.com
It is currently Mon May 20, 2013 3:48 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Aug 29, 2012 9:09 am 
Offline

Joined: Tue Aug 28, 2012 3:37 pm
Posts: 3
How to enroll in upgrade.yubico.com/getapikey programmatically?
I am using the C# client and I want to register the key and self-enrollment via code instead of going and registering the key manually from the website.


Top
 Profile  
 

Share On:

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

PostPosted: Wed Aug 29, 2012 12:55 pm 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 95
Hello,

The id/apiKey is per application, not per key. So you should only need to get one and store that for your application, no need to get one for each YubiKey used with your service.

/klas


Top
 Profile  
 
PostPosted: Wed Aug 29, 2012 5:33 pm 
Offline

Joined: Tue Aug 28, 2012 3:37 pm
Posts: 3
but every time I register I get different
ClientID
SecretKey

and this is per key per registration


Top
 Profile  
 
PostPosted: Thu Aug 30, 2012 8:42 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 95
Hello,

Yes, every time you register a new id/key is generated, the registration is intended to be static for your application and it should just use one set of id/key, regardless of how many different YubiKeys you want to validate.

/klas


Top
 Profile  
 
PostPosted: Fri Aug 31, 2012 2:48 pm 
Offline

Joined: Tue Aug 28, 2012 3:37 pm
Posts: 3
Sorry but I still can't get it :(

I have three Yubikey(s):

Now whenever I visit this page upgrade.yubico/getapikey,
it asks only for an email (fixed) and OTP (which is generated by the key)
The results is ClientID and SecretKey.

if I register the same yubikey1 again with the same email, I get different ClientID and SecretKey!
and if register different yubikey2 or yubikey3 with same email, I get different ClientID and SecretKey!

from what I see, everything is not fixed! where is the id/apiKey you talk about? and how do I connect the key1, 2 and 3 with the apikey?


Top
 Profile  
 
PostPosted: Mon Sep 03, 2012 8:37 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 95
So I'll try to explain again =)

The "Client Id" and "Secret Key" you get from https://upgrade.yubico.com/getapikey/ are only for identifying the application that verifies keys to YubiCloud, there is no connection between them and your YubiKeys.
Every time you register on the service you get a new id and a new key. The only reason you have to give us an OTP to get the id and key is that we want to limit abuse of the service.

/klas


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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