Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Document udev rule #2

Closed
jas4711 opened this issue Sep 16, 2014 · 4 comments
Closed

Document udev rule #2

jas4711 opened this issue Sep 16, 2014 · 4 comments

Comments

@jas4711
Copy link
Contributor

jas4711 commented Sep 16, 2014

Make sure the udev rule works everywhere and document how it is to be used. Compare ykpers.

@amluto
Copy link

amluto commented Oct 27, 2014

For the Fedora package (still under review), I'm using:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120", ENV{ID_SECURITY_TOKEN}="1"

It would be nice to write a rule that detects the HID usage page 0xf1d0, but I'm not sure whether this can be done without a helper. I'll ping the udev people.

klali referenced this issue in eworm-de/libu2f-host Oct 28, 2014
Do not set MODE and GROUP but give access to useres with console access.
@amluto
Copy link

amluto commented Oct 28, 2014

I'm trying to do this right:

http://lists.freedesktop.org/archives/systemd-devel/2014-October/024667.html

(NB: This supports non-Yubico devices, too, or at least it should. I haven't gotten my non-Yubico device to test with yet.)

@klali
Copy link
Member

klali commented Oct 29, 2014

Good job with the systemd patch, very much the solution we hope for. Solving it in this library is just a band-aid.
I just backed out using ID_SECURITY_TOKEN though, didn't work for me (in 4a1ae95)

klali pushed a commit that referenced this issue Dec 10, 2015
@nbraud
Copy link
Contributor

nbraud commented Feb 12, 2019

This should likely be closed?

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

4 participants