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

RFE auto detect FIDO2 device #704

Open
schaarsc opened this issue Dec 30, 2022 · 1 comment
Open

RFE auto detect FIDO2 device #704

schaarsc opened this issue Dec 30, 2022 · 1 comment

Comments

@schaarsc
Copy link

during mount, before asking for a FIDO device (used during init) try to find a device.
if there is only one device use this device
if there are no devices or more than one, report the issue and ask for a device (same as now)

@SamBayerZXZ
Copy link

SamBayerZXZ commented Jun 1, 2023

Try to use bash for the first one

fido2-token -L | head -n 1 | cut -d':' -f 1

and for the last one in the list

fido2-token -L | tail -n 1 | cut -d':' -f 1

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

2 participants