Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Dec 19, 2015 8:27 pm 
Offline

Joined: Sat Dec 19, 2015 7:02 pm
Posts: 3
I've set the usb.generic.allowHID = "TRUE" option in my .vmx file.

This works for older yubikeys, but not with the new yubikey 4. It's neither detected by opensc or the personalization tool. It does although show up in lsusb. I've downloaded the latest personalisation tool and compiled it, but had no success.

Any Ideas?

Versions:
Ubuntu 14.04
OpenSC 13.0
Yubikey 4, v4.2.7
VMware Workstation 11.1.3
Personalisation tool v3.1.14/23


Last edited by cruiser on Tue Dec 22, 2015 12:49 am, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Sun Dec 20, 2015 9:23 pm 
Offline

Joined: Sun Nov 15, 2015 11:47 pm
Posts: 36
Assuming you want to use the PIV applet, I'd recommend getting the latest OpenSC from Github, rather than relying on the version packaged with Ubuntu.

This advice might help with other Yubikey applets too.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 21, 2015 3:44 pm 
Offline

Joined: Sat Dec 19, 2015 7:02 pm
Posts: 3
Yes, that is my intent later. But initially I just want it to be recognized. I would assume that Yubikey personalization tool does not need opensc to detect the key?

(update:) I've tried it with a more current Ubuntu version 15.04 and it seams to work. Opensc etc. works, personalization tool still does not. Stating "Unkown error occured". This looks like a bug. I'll try get around to post it on github.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 11, 2016 11:51 pm 
Offline

Joined: Mon Mar 02, 2015 9:39 pm
Posts: 27
I wonder if your Yubikey is provisioned. Something like
Code:
yubico-piv-tool -k -a verify-pin -a set-chuid -a set-ccc


Probably done on a "real" machine rather than on a VM.

Or is your intention to be able to provision the device on a VM? (I've no idea if it can work.)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 14, 2016 3:39 pm 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
Do you have the latest player?

Works well on my Windows 10 with:
usb.generic.allowHID = "TRUE"
usb.generic.allowLastHID = "TRUE"


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 19, 2016 7:53 pm 
Offline

Joined: Sat Dec 19, 2015 7:02 pm
Posts: 3
Tom2 wrote:
Do you have the latest player?

Works well on my Windows 10 with:
usb.generic.allowHID = "TRUE"
usb.generic.allowLastHID = "TRUE"


I've tried these two settings on my vmx file. I've compiled the latest personalisation tool for linux (as of 19.01.16, v.31.24) and as far as I'm concerned this is now working with Ubuntu 15.04. If this is now because of the new software release (x.24), or the additional "allowLastHID" I don't know.

Update: I re-did the test with v.3.1.21(older) and get the same behavior, letting me believe the second setting "allowLastHID" did the trick.

I still get a small hick-up where it states "Unkown firmware" in red above the image, even though under "Firmware Version" it correctly states 4.2.7. The rest does seam to work. I haven't tried to reprogram a slot.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 19, 2016 9:01 pm 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
Make sure you have the newest version of the Personalization Tool (If you haven't already added the Yubico PPA, I would recommend going that route)

If you're still seeing Unknown Firmware, run the following command in Terminal and restart:

sudo sh -c 'wget -q -O - https://raw.githubusercontent.com/Yubic ... -ccid-udev | python'


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 6 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