Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 10:42 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Oct 11, 2014 12:52 pm 
Offline

Joined: Sat Oct 11, 2014 12:37 pm
Posts: 3
My fresh new Yubikey times out sometimes when queried for its serial. I would
say this happens about 50% of the time or more:

whence@test:~$ for i in $(seq 1 10); do ykinfo -s; sleep 1; done
serial: 1234567
serial: 1234567
Yubikey core error: timeout
serial: 1234567
Yubikey core error: timeout
Yubikey core error: timeout
Yubikey core error: timeout
serial: 1234567
Yubikey core error: timeout
Yubikey core error: timeout

This is a big deal to me because it makes the HMAC challenge mode unusable: I
have to re-enter my password many times before getting logged in (in 2FA mode).

Yubikey fw version: 2.4.2
ykpersonalize version: 1.14.1

Interestingly, when I strace ykinfo, the bug disappears:

whence@test:~$ for i in $(seq 1 10); do strace ykinfo -s 2>/dev/null; sleep 1; done
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567
serial: 1234567


Last edited by whence on Mon Oct 13, 2014 2:50 pm, 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: Mon Oct 13, 2014 2:18 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
Hello,

Get the newer ykpersonalize > 1.14.2 wait more then 1 millisec between writes to the key

Tom.

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 13, 2014 2:35 pm 
Offline

Joined: Sat Oct 11, 2014 12:37 pm
Posts: 3
Thanks Tom, I will try that out.


FYI I installed this ykpersonalize version through the Ubuntu package repository (it is the latest available version as of now). You may want to ask those responsible for those packages to update the version they are shipping.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 13, 2014 2:51 pm 
Offline

Joined: Sat Oct 11, 2014 12:37 pm
Posts: 3
I confirm version 1.15 of libykpers solves the problem.


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: No registered users and 4 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