<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Yubikey on Christopher Hylarides</title>
    <link>https://www.half-empty.ca/tags/yubikey/</link>
    <description>Recent content in Yubikey on Christopher Hylarides</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>{{year}}</copyright>
    <lastBuildDate>Mon, 25 Nov 2024 12:04:04 -0500</lastBuildDate>
    <atom:link href="https://www.half-empty.ca/tags/yubikey/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>MacOS Yubikey ssh-agent Setup</title>
      <link>https://www.half-empty.ca/post/yubikey_mac_ssh/</link>
      <pubDate>Sun, 24 Nov 2024 18:12:54 -0400</pubDate>
      <guid>https://www.half-empty.ca/post/yubikey_mac_ssh/</guid>
      <description>&lt;p&gt;Recently, I decided to give FIDO2-backed ssh keys a go for work and personal use. The theoretical benefits of keeping your private keys secure and irretrevable are pretty compelling in certain use cases.&lt;/p&gt;&#xA;&lt;h4 id=&#34;background-on-the-issues-with-yubikeys-and-ssh-on-macos&#34;&gt;Background on the Issues with Yubikeys and SSH on MacOS&lt;/h4&gt;&#xA;&lt;p&gt;With modern versions of &lt;a href=&#34;https://www.openssh.com/&#34;&gt;OpenSSH&lt;/a&gt; (8.3+), you can use SSH keys stored in a modern Yubikey that supports FIDO2 (specifically FIDO 2.1 for credProtect, which early versions of Yubikey 5 did not support). This allows you to use the key in an attached Yubikey to authenticate to remote SSH servers, including Linux, GitHub and anything that supports ed25519-sk and ecdsa-sk keytypes (essentially ed25519 and ecdsa keys in a Yubikey or other hardware device). For their own reasons, Apple has the MacOS bundled versions of OpenSSH (including ssh-keygen and ssh-agent) built with support for this disabled (including as of November 2024 with MacOS Sequoia 15.1.1). We can get around this by installing the clients via &lt;a href=&#34;https://brew.sh/&#34;&gt;Homebrew&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
