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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-11-23T17:22:48+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2102</id>
<entry>
<author><name><![CDATA[bramivs]]></name></author>
<updated>2015-11-23T17:22:48+01:00</updated>
<published>2015-11-23T17:22:48+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2102&amp;p=8009#p8009</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2102&amp;p=8009#p8009"/>
<title type="html"><![CDATA[GnuPG timeout]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2102&amp;p=8009#p8009"><![CDATA[
Hello,<br />I am trying the new yubikey 4 with GnuPG. Once I insert the yubikey and enter the pin it doesn't ask the pin again for a decrypt operation. Is it possible to time out the pin code or request the user to re-insert the yubikey to confirm the operation?<br /><br />In <div class="codetitle"><b>Code:</b></div><div class="codecontent">man ykpersonalize</div> it looks like such an option is available:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">              -m mode<br />                     set device configuration for the YubiKey.  It is parsed in the form mode:cr_timeout:autoeject_timeout<br />                     where mode is:<br />                     0    OTP device only.<br />                     1    CCID device only.<br />                     2    OTP/CCID composite device.<br />                     3    U2F device only.<br />                     4    OTP/U2F composite device.<br />                     5    U2F/CCID composite device.<br />                     6    OTP/U2F/CCID composite device.<br />                     Add 80 to set MODE_FLAG_EJECT, for example: 81<br />                     cr_timeout is the timeout in seconds for the YubiKey to wait on button press for challenge response (default is 15)<br />                     autoeject_timeout is the timeout in seconds before the card is automatically ejected in mode 81<br /></div><br /><br />I tried setting it to -m82:15:15 but after 15 seconds the card is still available.<br /><br />Any ideas?<br /><br />Thanks<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4044">bramivs</a> — Mon Nov 23, 2015 5:22 pm</p><hr />
]]></content>
</entry>
</feed>