Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants