<?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=35&amp;t=2397" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-10-15T15:15:11+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2397</id>
<entry>
<author><name><![CDATA[maximbaz]]></name></author>
<updated>2017-10-15T15:15:11+01:00</updated>
<published>2017-10-15T15:15:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9869#p9869</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9869#p9869"/>
<title type="html"><![CDATA[Re: How to tell user the Yubikey is waiting for touch for SS]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9869#p9869"><![CDATA[
I know it has been years since the original question, but I was struggling with the same problem and I managed to build a working solution that I'm happy about and want to share with you 🙂<br /><br />It looks like this:<br /><br />demo.gif<br /><br />I built an app [1] that works in background and detects when YubiKey is waiting for a touch. It provides an easy way for other UI components to subscribe to the notifications and display some kind of a visible indicator on the screen. For example, the key indicator that you see above is provided by a py3status module [2] for i3wm.<br /><br />Feedback and improvement ideas are always welcome!<br /><br /><br />[1]: <!-- m --><a class="postlink" href="https://github.com/maximbaz/yubikey-touch-detector">https://github.com/maximbaz/yubikey-touch-detector</a><!-- m --><br />[2]: <!-- m --><a class="postlink" href="https://github.com/ultrabug/py3status/pull/1110">https://github.com/ultrabug/py3status/pull/1110</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4933">maximbaz</a> — Sun Oct 15, 2017 3:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[primiano]]></name></author>
<updated>2016-10-16T13:17:05+01:00</updated>
<published>2016-10-16T13:17:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9093#p9093</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9093#p9093"/>
<title type="html"><![CDATA[Re: How to tell user the Yubikey is waiting for touch for SS]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=9093#p9093"><![CDATA[
Same problem here. SSH with gpg-agent works perfectly. But every now and then I get stuck because something (e.g. scp) is requesting touch and I don't see the led blinking on the side.<br />Would be great if one of the yk* tools did support notifications (like ykinfo --notify-touch-required) so then somebody could easily some UI on top.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4516">primiano</a> — Sun Oct 16, 2016 1:17 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[linsam]]></name></author>
<updated>2016-09-14T13:48:49+01:00</updated>
<published>2016-09-14T13:48:49+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8997#p8997</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8997#p8997"/>
<title type="html"><![CDATA[Re: How to tell user the Yubikey is waiting for touch for SS]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8997#p8997"><![CDATA[
I'd enjoy this too, though for the OpenPGP app (I use gpg-agent for my ssh key, stored in my Yubikey).<br /><br />I suspect the problem is that the programs have no way of knowing that they Yubikey is waiting for a touch vs. any hardware token just being slow to perform an operation. If this is true, it is a difficult problem to solve, because API (at the OpenPGP Card and PKCS#11 layers) would need to be changed/added, and protocol (at the PIV and OpenPGP layers) would need to be created, and would likely have to go through different standards body's processes.<br /><br />As a workaround solution, it might be feasible to change the clients using these to timeout after a reasonable time (maybe 5 of the 15 seconds) and display a message asking the user if the token is waiting for input, but that would be at the application layer (e.g. gpg-agent or equivalent when doing PIV based keys, or possibly the ssh command itself). Unfortunately, not something I have time to hack on these days  <img src="https://forum.yubico.com/images/smilies/icon_e_sad.gif" alt=":(" title="Sad" /><br /><br />In the mean time, I'm working on getting my physical setup such that the yubikey is both visible while looking at my monitor(s),  and not so far from the keyboard that it is uncomfortable to reach.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4452">linsam</a> — Wed Sep 14, 2016 1:48 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[thabets]]></name></author>
<updated>2016-09-12T16:25:53+01:00</updated>
<published>2016-09-12T16:25:53+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8986#p8986</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8986#p8986"/>
<title type="html"><![CDATA[Re: How to tell user the Yubikey is waiting for touch for SS]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8986#p8986"><![CDATA[
No way to do this? I would like to not hook opensc-pk11.so to notify while the signing operation is outstanding, but I guess I could...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3158">thabets</a> — Mon Sep 12, 2016 4:25 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[thabets]]></name></author>
<updated>2016-08-17T00:12:54+01:00</updated>
<published>2016-08-17T00:12:54+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8882#p8882</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8882#p8882"/>
<title type="html"><![CDATA[How to tell user the Yubikey is waiting for touch for SSH]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2397&amp;p=8882#p8882"><![CDATA[
I have set up a Yubikey 4 with SSH pubkey[1], and enabled touch on every use of the key.<br /><br />My problem is that the authentication just hangs when it's waiting for a touch. Sure, the yubikey flashes, but if the user is looking at the screen and not the side of the laptop or at the computer under the desk, then it just looks like it's stuck. Especially if it's a Yubikey 4 Nano.<br /><br />How do I inform the user &quot;yo! You need to touch the yubikey to continue!&quot;?<br /><br />[1]<br /><!-- m --><a class="postlink" href="https://blog.habets.se/2016/01/Yubikey-4-for-SSH-with-physical-presence-proof">https://blog.habets.se/2016/01/Yubikey- ... ence-proof</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3158">thabets</a> — Wed Aug 17, 2016 12:12 am</p><hr />
]]></content>
</entry>
</feed>