Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Apr 12, 2016 10:32 am 
Offline

Joined: Tue Apr 12, 2016 10:19 am
Posts: 1
I'm using my yubikey 4 as a smartcard (with GnuPG) on Linux and Windows. Everything works fine.

Once I insert the yubikey, the first time I encrypt I have to enter the pin. After that, it doesn't ask the pin again for another operation.

Is it possible to time out the pin code or request the user to re-insert the yubikey to confirm the operation ?


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Apr 13, 2016 4:22 pm 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
Removing the YubiKey 4 after you use it and re-inserting it when you need it should require you to re-enter the PIN. An alternative solution would be to add the touch functionality to the keys (https://developers.yubico.com/PGP/Card_edit.html) - refer to the section "YubiKey 4 touch." If you're using it for signing, you can set forcesig to always require the PIN.

There are cache-timeout and card-timeout options (for gpg-agent and scdaemon, respectively), but they are pretty hit-and-miss on functionality.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 02, 2017 11:01 pm 
Offline

Joined: Sat Feb 06, 2016 3:34 pm
Posts: 5
I got the exact same "issue". I activated the touch functionality for decryption which is nice!
but still the key is cached for my entire session and default-cache-ttl / max-cache-ttl for gpg-agent or card-timeout from scdaemon don't do anything for me...

Any idea on how we could reduce it?
many thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 3 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