Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: GnuPG timeout
PostPosted: Mon Nov 23, 2015 5:22 pm 
Offline

Joined: Mon Nov 23, 2015 1:27 pm
Posts: 1
Hello,
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?

In
Code:
man ykpersonalize
it looks like such an option is available:
Code:
              -m mode
                     set device configuration for the YubiKey.  It is parsed in the form mode:cr_timeout:autoeject_timeout
                     where mode is:
                     0    OTP device only.
                     1    CCID device only.
                     2    OTP/CCID composite device.
                     3    U2F device only.
                     4    OTP/U2F composite device.
                     5    U2F/CCID composite device.
                     6    OTP/U2F/CCID composite device.
                     Add 80 to set MODE_FLAG_EJECT, for example: 81
                     cr_timeout is the timeout in seconds for the YubiKey to wait on button press for challenge response (default is 15)
                     autoeject_timeout is the timeout in seconds before the card is automatically ejected in mode 81


I tried setting it to -m82:15:15 but after 15 seconds the card is still available.

Any ideas?

Thanks


Top
 Profile  
Reply with quote  

Share On:

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

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 11 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