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

Any way to detect that a touch is required? #154

Open
dhess opened this issue Jan 25, 2020 · 1 comment
Open

Any way to detect that a touch is required? #154

dhess opened this issue Jan 25, 2020 · 1 comment

Comments

@dhess
Copy link

dhess commented Jan 25, 2020

Related to #150, I'd like to build a macOS app that notifies the user when their YubiKey is waiting for a touch. This would be handy when using a YubiKey that doesn't have a blinking LED, or with an iMac (all of the USB ports are on the back of the display).

Is there a way to detect this situation from a standalone application, i.e., from a different application than the one that makes the authentication request? I'm imagining something like polling the current device status, either through this library or libusb.

@semente
Copy link

semente commented May 6, 2022

@dhess I found that the command ykinfo -s return the error message "Yubikey core error: timeout" when waiting for a touch.

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

No branches or pull requests

2 participants