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

feat: add new method for select device by touching on it #43

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

olastor
Copy link

@olastor olastor commented Jan 3, 2025

Adds a new method for selecting a device when there are multiple. The helper function triggers all devices in the list to blink until one of them is touched by the user or the timeout has exceeded. The touched device is returned (but in a new Device instance). It uses these libfido methods and the polling is similar to the C example here, but using go routines.

The windows header files in this repository does not yet contain the needed functions and I am unsure how to properly update them. It seems like it might require changes in the scoop package, too.

Please let me know if this could be merged, or what needs to happen to add this kind of functionality. Thanks!

@gabriel gabriel merged commit 2534349 into keys-pub:master Jan 4, 2025
@gabriel
Copy link
Contributor

gabriel commented Jan 4, 2025

Thanks for PR :)

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

Successfully merging this pull request may close these issues.

2 participants