Skip to content

Instantly share code, notes, and snippets.

@fntlnz
Last active March 9, 2020 10:24
Show Gist options
  • Save fntlnz/a4513162960e1e9fdb99 to your computer and use it in GitHub Desktop.
Save fntlnz/a4513162960e1e9fdb99 to your computer and use it in GitHub Desktop.
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
Copy link

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