Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to release the smart card context on timeout #74

Open
ava1ar opened this issue Jan 10, 2021 · 1 comment
Open

Add feature to release the smart card context on timeout #74

ava1ar opened this issue Jan 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ava1ar
Copy link

ava1ar commented Jan 10, 2021

I am using my Yubikey for both GPG and yubikey-agent and trying to find a descent workaround for the go-piv/piv-go#47 issue. I am fine to loose the PIN caching (I can use libsecret to store the pin for me on the machine I trust) and killall -HUP yubikey-agent workaround kind of works, except this command needs to be issued manually. Can we add functionality to release the smart card context on timeout after last key access? This would allow to me configure context auto-release and make yubikey-agent and gpg-agent co-existence a bit easier.

@FiloSottile FiloSottile added the enhancement New feature or request label Jul 24, 2021
@jcharaoui
Copy link

Now that I've migrated by OpenPGP keys to the Yubikey, I find it very inconvenient to have to manually release the exclusive locks when switching between SSH and OpenPGP tasks, for example when signing a commit (PGP) then pushing a branch to a remote (SSH).

Unless this can be fixed somehow, I'm thinking of either moving to FIDO-based SSH keys or using gpg-agent SSH key support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants