Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Sep 14, 2014 8:10 am 
Offline

Joined: Sun Sep 14, 2014 8:06 am
Posts: 1
I have heard good things about the emerging "FIDO U2F" standard [1]. I am especially interested in having a JavaScript API for cryptographic functions that I can access through a plug-in in a browser.

However, so far all my efforts to obtaining a physical hardware token supporting the FIDO U2F specs for testing were without success. Hopefully this will soon change when the first U2F compliant Yubikey NEO will be rolled out to the public.

What I would be particularly interested in, is decrypting short messages with the app_id specific private key stored in the device through a JavaScript call.

While the "FIDO U2F" Javascript API draft [2] doesn't mention a method for this, I wonder whether I could use a simple sign request and simply provide the data to be decrypted as websafe-base64-encoded challenge?
In my understanding, the response returned from the device would be the decrypted challenge.

So in short, here is what I want to do:

  1. Obtain app_specific public key in Browser
  2. Encrypt foo with public key
  3. Store encrypted foo somewhere (e.g. browser cookie) for later use

On a later occasion:

  1. Send encrypted foo to the token as challenge
  2. Receive decrypted foo as response

Will this work or do I misunderstand the way challenge/response is implemented here?

[1]: https://fidoalliance.org/specifications
[2]: https://fidoalliance.org/specs/fido-u2f ... 140209.pdf


Top
 Profile  
Reply with quote  

Share On:

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

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

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