Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Sep 13, 2016 7:24 pm 
Offline

Joined: Tue Sep 13, 2016 7:05 pm
Posts: 4
I bought a Yubikey Neo to be used in C/R mode with a passwordsafe database. Started configuring today and can't get anything to work. Can someone help me diagnose and fix this?

1. Yubikey in USB slot; messages in syslog show that it's identified:
Code:
Sep 13 18:13:18 eris kernel: [ 4252.530020] usb 1-1.2: new full-speed USB device number 6 using ehci-pci
Sep 13 18:13:18 eris kernel: [ 4252.624355] usb 1-1.2: New USB device found, idVendor=1050, idProduct=0116
Sep 13 18:13:18 eris kernel: [ 4252.624361] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 13 18:13:18 eris kernel: [ 4252.624366] usb 1-1.2: Product: Yubikey NEO OTP+U2F+CCID
Sep 13 18:13:18 eris kernel: [ 4252.624369] usb 1-1.2: Manufacturer: Yubico

Everything else works. Yubikey light is not flashing.

2. Take key out, start the Personalization tool (Version 3.1.23, library version 1.17.2, obtained from the Linux Mint 18 repo).

Everything else works OK.

3. Put Yubikey in and start Pers Tool: key is identified by the tool but the desktop freezes: can't change to other windows, selecting different menu items on the tool has no effect. Initially the desktop comes back, after about a minute, but eventually the freeze is permanent. At this point there is a continuous series of syslog messages like this:
Code:
Sep 13 18:13:20 eris kernel: [ 4254.106535] hid-generic 0003:1050:0116.0008: input,hidraw5: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP+U2F+CCID] on usb-0000:00:1a.0-1.2/input0
Sep 13 18:13:20 eris kernel: [ 4254.471308] input: Yubico Yubikey NEO OTP+U2F+CCID as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:1050:0116.0009/input/input25
Sep 13 18:13:20 eris kernel: [ 4254.526485] hid-generic 0003:1050:0116.0009: input,hidraw5: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP+U2F+CCID] on usb-0000:00:1a.0-1.2/input0
Sep 13 18:13:22 eris kernel: [ 4256.063659] input: Yubico Yubikey NEO OTP+U2F+CCID as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:1050:0116.000A/input/input26


4. After restarting the desktop, I try out "ykinfo"; it works fine, thus:
Code:
~$ ykinfo -a
serial: blah
serial_hex: blah
serial_modhex: blah
version: 3.4.9
touch_level: 1029
programming_sequence: 1
slot1_status: 1
slot2_status: 0
vendor_id: 1050
product_id: 116
~$

The Yubikey is generating keystrokes: I used it to register for this forum and to logon.

This is deeply depressing. Can someone help me to diagnose the fault and make some progress?


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Sep 14, 2016 1:39 pm 
Offline

Joined: Fri Aug 26, 2016 4:44 am
Posts: 11
This sounds similar to an issue I had. I plugged the yubikey into an unpowerd USB hub that was plugged into a Dell monitor with built-in USB hub (I thought powered, but apparently not) which was attached via full-length USB cable to my PC. The result was that there wasn't enough power to keep the Yubikey powered fully through its startup; it flickered weirdly and would get partial adds in my syslog.

The solution there was to shorten the distance or put a powered hub in the middle. (I haven't gotten a powered hub yet, so I'm currently plugging in directly at the monitor, even though that's more awkward to reach).

If you're key isn't plugged directly into a port on your computer, try moving it there and try again.


(More technical description for those inclined: USB specifies maximum cable lengths and minimum wire gauge, because manufacturers want to make cables as cheaply as possible (thinner wires) and people want long, flexible cables for convenience, but thinner gauges and longer wires means more voltage drop in the wire (because wire acts like a resistor). In my case and others like it, the initial voltage is high enough to start the Yubikey, but as they key starts doing stuff, it draws more current. Since the total cable length was too long and my wires aren't great, the increased current load causes a high enough voltage drop that there isn't enough voltage to keep the Yubikey running, and it resets. Under reset, the current draw drops to almost nothing, allowing the voltage to increase back up to the point where the Yubikey can start up again, and the process loops).


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 3:17 pm 
Offline

Joined: Tue Sep 13, 2016 7:05 pm
Posts: 4
Thank you for the suggestion but I don't think that's it, because the key is plugged into one of the slots on the side of the laptop.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 13, 2016 6:52 pm 
Offline

Joined: Tue Sep 13, 2016 7:05 pm
Posts: 4
Just for completeness, I have solved this problem. I used the nuclear method, namely completely rebuilding the laptop (though using precisely the same software). So something in the old installation was incompatible with the Personalization Key, and that something has--by accident--gone away in the rebuild.

No help to anyone, I know, but it's so annoying to find a thread which refers to your specific problem and then find that it just drifts off into the ether...


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 12 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