I'm having Nitrokey Pro on Debian (buster/testing) and I'm trying to set a timeout for caching the PIN.
When I plug it and use it for ssh (or file decryption), the PIN is required only the first time. When I use it again (without unplug it first) - PIN is not required (no matter how long I wait).
(The issue is only with decryption/authentication. Signing requires PIN every time (because of Signature PIN is set to forced).
I've tried to add a timeout settings in gpg-agent.conf, scdaemon.conf, but with no success.
The cache is cleared only if I unplug the Nitrokey or if I restart the scdaemon.
Could you have any ideas how a timeout can be set, so after a specific time - the PIN to be required for decryption/authentication.
Thank you in advance!