Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Yubikey U2F Token CentOS/RHEL/Fedora udev rules

To use a yubico U2F token on CentOS/RHEL/Fedora you need to add the specific udev file to your system to recognize them.

Get the udev rules

wget -O /etc/udev/rules.d/70-u2f.rules https://raw.githubusercontent.com/Yubico/libu2f-host/master/70-u2f.rules

Reload device events

udevadm trigger

Done! Test U2F

@TheBiggerGuy

There is now a package for this so dnf install u2f-hidraw-policy solves it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment