Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Mar 11, 2010 4:18 am 
Offline

Joined: Wed Mar 10, 2010 5:53 pm
Posts: 6
Hi guys,

I generated a key with ykksm-gen-keys.pl for insertion into the ykksm database, I also exported that key with ykksm-export.pl into an unencrypted file. I took that file and the first 3 fields are publicName, internalName,aesKey

I tried to provision my yubikey with those parameters but it always generates a key with a publicName that doesn't match so I can't valiadate against my ykksm database.

Has anyone hit this problem or have a work around? I figured it must have to do with the import on Windows (right now all my fields are in Modhex as supplied by ykksm-export.pl

Any suggestions of things I might try? Its tantalisingly close to working outside of the yubico infrastructure but not quite there....


Thanks.. any help appreciated.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Thu Mar 11, 2010 9:31 pm 
Offline

Joined: Wed Mar 10, 2010 5:53 pm
Posts: 6
Replying to my own post.

The ykksm-export-keys.pl adds some extraneous information the windows utility doesn't understand, including the header and incrementing serial number at the beginning. I also converted the public id from modhex to hex so that the format looked like public_id(hex),private_id(modhex),aes_key

Also by default the ykksm-gen-keys.pl script uses 6 bytes for the modhex encode of the public_id key, be sure to set it to such when writing a new key from the windows utility.


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 3 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