Skip to content

Instantly share code, notes, and snippets.

@vzool
Forked from fntlnz/yubikey-fedora-udev.md
Last active August 22, 2017 07:14
Show Gist options
  • Save vzool/e4a21b151bc20864d753c52057ccb06d to your computer and use it in GitHub Desktop.
Save vzool/e4a21b151bc20864d753c52057ccb06d 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

OR

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

Done! [Test U2F](https://demo.yubico.com/u2f

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