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.

Adding Search to my Blog

Adding Search to my Blog Written By: Jake Bauer | Posted: 2020-07-03 | Last Updated: 2020-07-03 As my collection of blog posts keeps growing, it is becoming increasingly apparent to me that I need to offer visitors some way to search through my previous pos…

via paritybit.ca - What's New July 3, 2020

A Month-and-a-Half of Self-Hosted Email

A Month-and-a-Half of Self-Hosted Email Written By: Jake Bauer | Posted: 2020-07-02 | Last Updated: 2020-07-02 There’s been a lot of talk in my Internet neighbourhood lately about the state of email and whether it’s broken or not. I previously posted about …

via paritybit.ca - What's New July 2, 2020

Let’s not be pedantic about “Open Source”

Another day, another “it’s not true open source, you’re not allowed to call it that!” thread on Hacker News.[1] This seems to pop up every few weeks or so and today I’m sufficiently peeved by it to write something about it. Here’s the thing: I don’t think yo…

via arp242.net July 3, 2020

General-purpose OS, special-purpose OS, and now: vendor-purpose OS

There have, historically, been two kinds of operating systems: general-purpose, and special-purpose. These roles are defined by the function they serve for the user. Examples of general-purpose operating systems include Unix (Linux, BSD, etc), Solaris, Haiku…

via Drew DeVault's Blog June 26, 2020

Generated by openring