FiloSottile / yubikey-agent

yubikey-agent is a seamless ssh-agent for YubiKeys.
https://filippo.io/yubikey-agent
BSD 3-Clause "New" or "Revised" License
2.6k stars 124 forks source link

custom touch policies #117

Open caarlos0 opened 2 years ago

caarlos0 commented 2 years ago

Some scripts I have will run several git commands sequentially... and for each command it'll ask me to touch the key.

Would be nice to allow to use TouchPolicyCached - which asks for proof of presence every 10s only.

Thoughts?

nolith commented 1 year ago

This comment is relevant to this issue: https://github.com/FiloSottile/yubikey-agent/issues/95#issuecomment-1432757433