-
Notifications
You must be signed in to change notification settings - Fork 81
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
timeout #25
Comments
The first one can be done, even though exchanging messages in PAM is kind of painful. The touch timeout is a feature of the authenticator/token itself and can not be configured. |
You mean that with my yubikey plugged in, it will timeout at a certain time already? |
No because the protocol mandates for requests to be sent continuously to the device and each requests resets the internal timeout. Although, it would be possible for libu2f-host to stop listening for responses after x seconds... |
Am, too, missing presence/touch timeout functionality, in particular because neither Esc, Ctrl+D, nor Ctrl+C(#108) works to cancel a Workaround: use # NOTE: for testing, request/validate sudo privileges without calling a command.
timeout 1m sudo --validate
# NOTE: for faster testing, drop sudo privileges.
sudo --reset-timestamp GNU Using a Yubikey 4 on Ubuntu 22.04 with libpam-u2f v1.1.0-1.1build1. |
It would be great if this module could take 2 timeouts options:
The text was updated successfully, but these errors were encountered: