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

libfido2: missing udev rules? #25603

Closed
dkwo opened this issue Oct 14, 2020 · 9 comments
Closed

libfido2: missing udev rules? #25603

dkwo opened this issue Oct 14, 2020 · 9 comments

Comments

@dkwo
Copy link
Contributor

dkwo commented Oct 14, 2020

I'm unable to use libfido2 with my u2f usb key (yubikey), because it misses the corresponding udev rules. Those rules are instead provided by the older libu2f-host, with which my usb key works fine. I can try to add those myself, although I'm not sure how to do it exactly, as the new package uses cmake while old one gnumake. Does that make sense to you?

@CameronNemo
Copy link
Contributor

What is the issue here? That the udev rules are shipped in libu2f-host? That is expected behavior AIUI.

@dkwo
Copy link
Contributor Author

dkwo commented Oct 15, 2020

The issue here is that udev rules are absent in the newer libfido2.

@sgn
Copy link
Member

sgn commented Oct 15, 2020

The issue here is that udev rules are absent in the newer libfido2.

Sorry if I missed anything, but what wrong with installing both? They aren't conflicts.

@dkwo
Copy link
Contributor Author

dkwo commented Oct 15, 2020 via email

@sgn
Copy link
Member

sgn commented Oct 15, 2020

Hm, perhaps we can split the udev rules into its own package and let libfido2 and libu2f-host depends on it.

@sgn
Copy link
Member

sgn commented Oct 16, 2020

#25646

@dkwo
Copy link
Contributor Author

dkwo commented Oct 16, 2020

@sgn Thanks a lot, that should work.
I'm not really sure, but do you think libfido2 should also depend on hidapi-devel?

@dkwo dkwo closed this as completed Oct 16, 2020
@sgn
Copy link
Member

sgn commented Oct 16, 2020

That depends on leah2's opinion, you should ask them on IRC, they're more active there.
I don't care much about hidapi-devel since I don't use anything that requires it. (Maybe I do, but I don't know).

@dkwo
Copy link
Contributor Author

dkwo commented Oct 17, 2020

I see.
I tried the updated package, and it works for me without hidapi, so for the moment I'm happy.
Thanks.

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

3 participants