Posted by & filed under Linux.

If you’re using a Yubikey device with a Linux computer, you may have noticed that plugging in the device and pressing the button does emit a string of characters, however it fails to work with U2F websites when using, say, Google Chrome. In order to get it working, you’ll want to execute the following command and reboot your computer:

sudo sh -c 'curl > /etc/udev/rules.d/70-u2f.rules'

This downloads a file which gives your computer special instructions for handling the Yubikey device. Once that’s done and you’ve rebooted, U2F should work just fine.

Thomas Hunter II

Thomas is the author of Advanced Microservices and a prolific public speaker with a passion for reducing complex problems into simple language and diagrams. His career includes working at Fortune 50's in the Midwest, co-founding a successful startup, and everything in between.

Latest posts by Thomas Hunter II (see all)