<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://brokenco.de//feed/by_tag/yubikey.xml" rel="self" type="application/atom+xml" /><link href="https://brokenco.de//" rel="alternate" type="text/html" /><updated>2026-10-31T17:58:32+00:00</updated><id>https://brokenco.de//feed/by_tag/yubikey.xml</id><title type="html">rtyler</title><subtitle>a moderately technical blog</subtitle><author><name>R. Tyler Croy</name></author><entry><title type="html">Getting started with a Yubikey on openSUSE</title><link href="https://brokenco.de//2019/12/25/yubikey-opensuse.html" rel="alternate" type="text/html" title="Getting started with a Yubikey on openSUSE" /><published>2019-12-25T00:00:00+00:00</published><updated>2019-12-25T00:00:00+00:00</updated><id>https://brokenco.de//2019/12/25/yubikey-opensuse</id><content type="html" xml:base="https://brokenco.de//2019/12/25/yubikey-opensuse.html"><![CDATA[<p>If the people I know tweet enough about something, eventually I’m bound to
breakdown and just buy the thing. It happened with the Intel NUC, and now it’s
happened with <a href="https://www.yubico.com">Yubikey</a>. The Yubikey is a USB-based
security device that can do a <em>lot</em> of things, but in my case I just need it to
act as a security key for a number of websites such as GitHub, Google, and
Twitter. Much to my dismay it did not work exactly as I expected right out of
the box on my openSUSE-based laptop.</p>

<p>With recent versions of Firefox Quantum, basically Firefox released over the
past couple years, Chrome/Chromium, and Opera (apparenlty) a Yubikey can be
used directly within web browsers as an external security key. In my case,
every time I tried to configure the device on sites loaded in either Chromium or Firefox, I simply couldn’t make it work. The Yubikey would 
instead spit out a random string of garbage. This is one <em>valid</em> mode of the Yubikey,
where it acts like a pretend keyboard and generates One-Time Passwords (OTP).
In my case, I wanted it to act like a Universal 2-Factor authentication device
(U2F).</p>

<p>First try was using the Yubikey manager to poke at the device. This application
can be installed with <code class="language-plaintext highlighter-rouge">zypper in yubikey-manager-qt</code>. The installed binary is
frustratingly <strong>not</strong> called <code class="language-plaintext highlighter-rouge">yubikey-manager</code> but instead is named
<code class="language-plaintext highlighter-rouge">ykman-gui</code>. With that hurdle overcome, I tried to inspect the “FIDO2”
application on the Yubikey but that consistently fail.</p>

<p>Utilizing a mixture of “opensuse” “yubikey” and “u2f” I stumbled into an
openSUSE Buildservice link for a promising package named <code class="language-plaintext highlighter-rouge">u2f-host</code>. As luck
would have it, the <code class="language-plaintext highlighter-rouge">u2f-host</code> package ended up being the missing link between
Firefox and my Yubikey. After executing <code class="language-plaintext highlighter-rouge">zypper in u2f-host</code> and restarting
Firefox, I was able to successfully register and use my Yubikey across a myriad
of websites!</p>

<p>A tiny (nano, actually) Christmas miracle! :)</p>]]></content><author><name>R. Tyler Croy</name></author><category term="opensuse" /><category term="yubikey" /><category term="security" /><summary type="html"><![CDATA[If the people I know tweet enough about something, eventually I’m bound to breakdown and just buy the thing. It happened with the Intel NUC, and now it’s happened with Yubikey. The Yubikey is a USB-based security device that can do a lot of things, but in my case I just need it to act as a security key for a number of websites such as GitHub, Google, and Twitter. Much to my dismay it did not work exactly as I expected right out of the box on my openSUSE-based laptop.]]></summary></entry></feed>