-
Notifications
You must be signed in to change notification settings - Fork 203
Using U2F Token on Linux (udev)
Conor Patrick edited this page Jan 3, 2019
·
5 revisions
Devices using the HID class for U2F tokens are initially only accessible to root users on Linux. To fix this, a udev rule must be added for each particular U2F token. For U2F Zero, do the following.
Create /etc/udev/rules.d/70-u2f.rules
Add the following:
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8acf", TAG+="uaccess"
Save and run:
sudo udevadm trigger
A udev rule can dynamically detect if a USB device is a U2F token or not with the help of an extra program.
Check out u2f-hidraw-policy.