<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=23&amp;t=1115" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2014-10-28T20:49:23+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=23&amp;t=1115</id>
<entry>
<author><name><![CDATA[STRML]]></name></author>
<updated>2014-10-28T20:49:23+01:00</updated>
<published>2014-10-28T20:49:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=6052#p6052</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=6052#p6052"/>
<title type="html"><![CDATA[Re: [SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=6052#p6052"><![CDATA[
Sorry to bring this thread back from the dead - but have you managed to fix this? I am now seeing this occasionally in OS X Yosemite. Sometimes I can resolve it by simply attempting to log in over and over; sometimes I need to hard reboot. Very annoying.<br /><br />I am seeing lots of:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">10/28/14 8:01:45.771 PM loginwindow&#91;71&#93;: Challenge response failed: No such file or directory<br />10/28/14 8:01:45.938 PM loginwindow&#91;71&#93;: USB error: kIOReturnSuccess<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3166">STRML</a> — Tue Oct 28, 2014 8:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[eworm]]></name></author>
<updated>2013-09-05T08:47:26+01:00</updated>
<published>2013-09-05T08:47:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4347#p4347</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4347#p4347"/>
<title type="html"><![CDATA[Re: [SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4347#p4347"><![CDATA[
Ok, here is my example code:<br /><a href="http://www.eworm.de/download/linux/yk_test.c" class="postlink">yk_test.c</a><br /><br />Just compile with:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gcc -o yk_test yk_test.c -lykpers-1</div><br /><br />Then run it:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ ./yk_test <br />Serial number: 1234567 (0)<br />Serial number: 1234567 (1)<br />&#91;...&#93;<br />Serial number: 1234567 (36)<br />yk_get_serial failed</div><br /><br />This runs in loop just reading and printing the serial number. Last number is just a counter.<br /><br />I have two Yubikeys firmware version 2.3.3 that fail. Looks like my Neo is not affected... Wired.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2570">eworm</a> — Thu Sep 05, 2013 8:47 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[eworm]]></name></author>
<updated>2013-09-04T22:14:28+01:00</updated>
<published>2013-09-04T22:14:28+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4340#p4340</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4340#p4340"/>
<title type="html"><![CDATA[Re: [SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4340#p4340"><![CDATA[
Ok, took a deeper look:<br /><br />pam_yubico.so (or whatever, wrote some helper code) calls yk_get_serial(), that calls yk_read_response_from_key(), which then calls yk_wait_for_key_status(). That is where the loop is run until the timeout occures.<br /><br />Any idea what goes wrong there?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2570">eworm</a> — Wed Sep 04, 2013 10:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[eworm]]></name></author>
<updated>2013-09-04T18:52:51+01:00</updated>
<published>2013-09-04T18:52:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4339#p4339</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4339#p4339"/>
<title type="html"><![CDATA[Re: [SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4339#p4339"><![CDATA[
This is the debug output:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&#91;pam_yubico.c:parse_cfg(738)&#93; called.<br />&#91;pam_yubico.c:parse_cfg(739)&#93; flags 0 argc 2<br />&#91;pam_yubico.c:parse_cfg(741)&#93; argv&#91;0&#93;=mode=challenge-response<br />&#91;pam_yubico.c:parse_cfg(741)&#93; argv&#91;1&#93;=debug<br />&#91;pam_yubico.c:parse_cfg(742)&#93; id=-1<br />&#91;pam_yubico.c:parse_cfg(743)&#93; key=(null)<br />&#91;pam_yubico.c:parse_cfg(744)&#93; debug=1<br />&#91;pam_yubico.c:parse_cfg(745)&#93; alwaysok=0<br />&#91;pam_yubico.c:parse_cfg(746)&#93; verbose_otp=0<br />&#91;pam_yubico.c:parse_cfg(747)&#93; try_first_pass=0<br />&#91;pam_yubico.c:parse_cfg(748)&#93; use_first_pass=0<br />&#91;pam_yubico.c:parse_cfg(749)&#93; authfile=(null)<br />&#91;pam_yubico.c:parse_cfg(750)&#93; ldapserver=(null)<br />&#91;pam_yubico.c:parse_cfg(751)&#93; ldap_uri=(null)<br />&#91;pam_yubico.c:parse_cfg(752)&#93; ldapdn=(null)<br />&#91;pam_yubico.c:parse_cfg(753)&#93; user_attr=(null)<br />&#91;pam_yubico.c:parse_cfg(754)&#93; yubi_attr=(null)<br />&#91;pam_yubico.c:parse_cfg(755)&#93; yubi_attr_prefix=(null)<br />&#91;pam_yubico.c:parse_cfg(756)&#93; url=(null)<br />&#91;pam_yubico.c:parse_cfg(757)&#93; capath=(null)<br />&#91;pam_yubico.c:parse_cfg(758)&#93; token_id_length=12<br />&#91;pam_yubico.c:parse_cfg(759)&#93; mode=chresp<br />&#91;pam_yubico.c:parse_cfg(760)&#93; chalresp_path=(null)<br />&#91;pam_yubico.c:pam_sm_authenticate(799)&#93; get user returned: root<br />&#91;util.c:get_user_challenge_file(218)&#93; Failed to read serial number (serial-api-visible disabled?).<br />&#91;pam_yubico.c:do_challenge_response(495)&#93; Loading challenge from file /root/.yubico/challenge<br />&#91;pam_yubico.c:do_challenge_response(511)&#93; Cannot open file: /root/.yubico/challenge (No such file or directory)<br />&#91;pam_yubico.c:do_challenge_response(657)&#93; Yubikey core error: timeout<br />&#91;pam_yubico.c:do_challenge_response(666)&#93; Challenge response failed: No such file or directory</div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2570">eworm</a> — Wed Sep 04, 2013 6:52 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[eworm]]></name></author>
<updated>2013-09-04T18:49:51+01:00</updated>
<published>2013-09-04T18:49:51+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4338#p4338</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4338#p4338"/>
<title type="html"><![CDATA[Re: [SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4338#p4338"><![CDATA[
Same issue here on Samsung 530U3C... This happens very seldom, but it is very annoying. Still trying to track this down.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2570">eworm</a> — Wed Sep 04, 2013 6:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SphaZ]]></name></author>
<updated>2013-08-21T09:22:55+01:00</updated>
<published>2013-08-21T09:22:55+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4277#p4277</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4277#p4277"/>
<title type="html"><![CDATA[Re: [SOLVED] Linux challenge-response sometimes doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4277#p4277"><![CDATA[
Hmm, spoke too soon. Despite appearing to work it looks even more complex.<br /><br />There are 3 USB ports on the Lattitude E6530.<br /><br />Left, right and left-backside.<br /><br />Left-backside always works.<br />Left side works when there is no hub connected, but it throws timeout errors (but still works oddly enough.)<br />Right side still sometimes does, sometimes doesn't work.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2510">SphaZ</a> — Wed Aug 21, 2013 9:22 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SphaZ]]></name></author>
<updated>2013-08-20T15:17:26+01:00</updated>
<published>2013-08-20T15:17:26+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4273#p4273</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4273#p4273"/>
<title type="html"><![CDATA[Re: [SOLVED] Linux challenge-response sometimes doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4273#p4273"><![CDATA[
Further testing showed that it had to do with a monitor-build-in USB hub causing issues. Removing the USB hub or putting that on the other backside-port fixes all issues.<br /><br />Note: the screen is also a Dell.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2510">SphaZ</a> — Tue Aug 20, 2013 3:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-08-01T07:23:21+01:00</updated>
<published>2013-08-01T07:23:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4189#p4189</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4189#p4189"/>
<title type="html"><![CDATA[Re: [SOLVED] Linux challenge-response sometimes doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4189#p4189"><![CDATA[
Please can you check the USB bus?<br /><br />Would be nice to know if broken ports are USB 3.0 and if you can report the USB buss manufacturer <br /><br />Thank you.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Thu Aug 01, 2013 7:23 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SphaZ]]></name></author>
<updated>2013-08-01T07:12:29+01:00</updated>
<published>2013-08-01T07:12:29+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4188#p4188</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4188#p4188"/>
<title type="html"><![CDATA[Re: [QUESTION] Linux challenge-response sometimes doesn't wo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4188#p4188"><![CDATA[
I've tried two other USB ports and finally found one that always seems to work. I'm using a Dell Latitude E6530 and it seems that the USB ports on the left and right side both have the same issues, but the USB port on the left-back side works fine all the time.<br /><br />Very odd but seems a hardware issue, not a software issue so thank you.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2510">SphaZ</a> — Thu Aug 01, 2013 7:12 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SphaZ]]></name></author>
<updated>2013-07-29T08:38:55+01:00</updated>
<published>2013-07-29T08:38:55+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4161#p4161</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4161#p4161"/>
<title type="html"><![CDATA[Re: [QUESTION] Linux challenge-response sometimes doesn't wo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4161#p4161"><![CDATA[
Between logging into my desktop and Gnome I don't remove the yubikey...I will try another USB port and waiting a few seconds longer in between.<br /><br />Firmware version 2.3.3 and I have the basic YUBIKEY USB TOKEN BLACK.<br /><br />I will let you know..<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2510">SphaZ</a> — Mon Jul 29, 2013 8:38 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-07-29T08:26:53+01:00</updated>
<published>2013-07-29T08:26:53+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4160#p4160</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4160#p4160"/>
<title type="html"><![CDATA[Re: [QUESTION] Linux challenge-response sometimes doesn't wo]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4160#p4160"><![CDATA[
Mmm...could be a timing issue? Did you tried swapping USB port?<br />When you plug in your Yubikey wait 5-10 seconds before typing the password.<br /><br />which firmware / yubikey version ?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Mon Jul 29, 2013 8:26 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SphaZ]]></name></author>
<updated>2013-08-01T07:12:46+01:00</updated>
<published>2013-07-29T07:36:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4157#p4157</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4157#p4157"/>
<title type="html"><![CDATA[[SOLVED] USB Lattitude E6530  doesn't work]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1115&amp;p=4157#p4157"><![CDATA[
Hello,<br /><br />I use my yubikey to login into my Kali (Debian) 64 bit machine in challange-response hmac-sha1 mode. This generally works very well, however sometimes it doesn't work. But if I try again, it does work.<br /><br />What I see:<br /><br />(logged in using Gnome with yubikey without any problems. Start up terminal session...)<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">artien@artien-laptop:~$ sudo su -<br />&#91;sudo&#93; password for artien: <br />&#91;util.c:get_user_challenge_file(217)&#93; Failed to read serial number (serial-api-visible disabled?).<br />&#91;pam_yubico.c:do_challenge_response(655)&#93; Yubikey core error: timeout<br />&#91;pam_yubico.c:do_challenge_response(664)&#93; Challenge response failed: No such file or directory<br />Sorry, try again.<br />&#91;sudo&#93; password for artien: <br />&#91;pam_yubico.c:do_challenge_response(478)&#93; Failed initializing YubiKey<br />&#91;pam_yubico.c:do_challenge_response(652)&#93; USB error: Access denied (insufficient permissions)<br />&#91;pam_yubico.c:do_challenge_response(664)&#93; Challenge response failed: No such file or directory<br />Sorry, try again.<br />&#91;sudo&#93; password for artien: <br />&#91;pam_yubico.c:do_challenge_response(478)&#93; Failed initializing YubiKey<br />&#91;pam_yubico.c:do_challenge_response(652)&#93; USB error: Access denied (insufficient permissions)<br />&#91;pam_yubico.c:do_challenge_response(664)&#93; Challenge response failed: No such file or directory<br />Sorry, try again.<br />sudo: 3 incorrect password attempts<br />artien@artien-laptop:~$ sudo su -<br />&#91;sudo&#93; password for artien: <br />root@artien-laptop:~# </div><br /><br />Yubikey config: challange-response HMAC-SHA1 mode, variable input.<br /><br />/etc/pam.d/common-auth:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">              auth required  pam_unix.so nullok_secure try_first_pass<br />              auth &#91;success=1 new_authtok_reqd=ok ignore=ignore default=die&#93;   pam_yubico.so mode=challenge-response</div><br /><br />Does anyone have a clue as to why it would fail only sometimes, and then work right away after that?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2510">SphaZ</a> — Mon Jul 29, 2013 7:36 am</p><hr />
]]></content>
</entry>
</feed>