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

Use sockets passed in from systemd #44

Closed
flokli opened this issue Jul 13, 2020 · 2 comments
Closed

Use sockets passed in from systemd #44

flokli opened this issue Jul 13, 2020 · 2 comments

Comments

@flokli
Copy link
Contributor

flokli commented Jul 13, 2020

This would allow yubikey-agent to be started socket-activated by systemd.
Background: https://vincent.bernat.ch/en/blog/2018-systemd-golang-socket-activation

@tv42
Copy link

tv42 commented Sep 4, 2020

Exiting on idle and letting socket activation restart the service would make #4 slightly less likely to bother me, too.

Yes, that would forget the PIN when idle, but that might even be desirable...

Not sure if there's (still) a race between shutting down and getting new connections, AFAIK that was not easy to handle right some 5 years back.

@FiloSottile
Copy link
Owner

I would take a PR for this, but can't implement it myself as I don't regularly use Linux desktop environments.

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

No branches or pull requests

3 participants