Yubikey on Arch

Just a quick guide how to get a Yubikey working on Arch Linux.

Enable the udev rules to access the Yubikey as a user.

echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="users", ATTRS{idVendor}=="2581", ATTRS{idProduct}=="f1d0"' | sudo tee /etc/udev/rules.d/10-security-key.rules

Install the U2F module to provide U2F support in Chrome

sudo pacman -S libu2f-host

Enable pcscd (the system smart card daemon)

sudo systemctl enable pcscd.service

Install the personalization GUI

yaourt -S yubikey-personalization-gui-git

Reboot so that the udev rules take effect and pcscd starts (you could use udevadm trigger and systemctl start pcscd.service here, but I like to reboot)

Run yubikey-personalization-gui and configure slot 1 as a OTP slot and slot two as a static password

One thought on “Yubikey on Arch

Leave a Reply