To set up your Linux system for U2F:
- Verify that libu2f-udev is installed on your system.
- On Debian and its derivatives (Ubuntu, Linux Mint, etc.), check whether libu2f-udev is installed by running dpkg -s libu2f-udev. Install (if not already installed) using sudo apt install libu2f-udev.
- If you have a YubiKey NEO or YubiKey NEO-n ensure you have unlocked the U2F mode by following the instructions in the Enabling or Disabling Interfaces article.
- Go to https://github.com/Yubico/libfido2/blob/main/udev/70-u2f.rules and download or create a copy of the file named 70-u2f.rules into the Linux directory: /etc/udev/rules.d/. If this file is already there, ensure that the content looks like the one provided on github.com/Yubico (link above).
- Note: If your version of UDEV is lower than 188, use the rules at https://github.com/Yubico/libu2f-host/blob/master/70-old-u2f.rules instead. If you do not known your udev version, you can check by running sudo udevadm --version in Terminal.
- Save your file, and then reboot your system.
- For services accessed via a web browser, ensure that you are running Google Chrome version 38 or later. Starting with Chrome version 39, you will be able to use the YubiKey NEO or YubiKey NEO-n in U2F+HID mode.