Humaid AlQassimi

< Go back

Setting up a Yubikey on Void Linux

Jun 16, 2020 · 1 min read

I recently got a Yubikey, which is a hardware authentication device. It has multiple functions, the Yubikey 4 has two slots which you can configure. Getting the device to work on Void Linux wasn’t obvious, this is a simple guide and a future reference on how to get a Yubikey working on Void Linux.

Setting up your system

First you need to install dbus, eudevd, and elogind if you haven’t installed it yet.

# xbps-install -Sy dbus eudevd elogind

You have to enable those services.

# ln -s /etc/sv/{dbus,eudevd,elogind} /var/service/

Now you need to install Yubikey packages:

# xbps-install -Sy u2f-hidraw-policy ykpers ykpers-gui

After restarting your system, you can then plug in your key, and run the ykpers-gui utility (or ykpers if you prefer a command-line interface).

Further configuration

The Arch Wiki Yubikey article has detailed examples on how you could setup your key.

This is my third post in the #100DaysToOffload challenge.


Would like to comment on the blog post? Feel free to start a discussion on my public general mailing list.

Articles from blogs I follow around the net

You can also read my newsfeed.

Status update, March 2021

After the brief illusion of spring, this morning meets us with a cold apartment indoors and fierce winds outdoors. Today concludes a productive month, mainly for the secret project and for sourcehut, but also marked by progress in some smaller projects as we…

via Drew DeVault's blog March 15, 2021

The corporate surveillance machine is conducting murder at scale

I have never been angrier about the corporate surveillance complex, which I have rallied against for years, than I am today. Buying and selling user’s private information on the open market is bad enough for the obvious reasons, but today, I learned that the…

via Drew DeVault's blog March 6, 2021

Go is not an easy language

Go is not an easy programming language. It is simple in many ways: the syntax is simple, most of the semantics are simple. But a language is more than just syntax; it’s about doing useful stuff. And doing useful stuff is not always easy in Go. Turns out that …

via arp242.net February 22, 2021

Generated by openring