Ultimate Yubikey Setup Guide with ed25519!
I'll show you how to generate a master key using Ed25519, do git commit signing, ssh, and duplicating this across multiple Yubikeys

Intro
In the past year Yubico has updated their firmware to support Ed25519. This finally brings support for elliptical curve encryption, and much shorter ssh public keys.
Yubikeys are really useful, they allow you to do git commit signing, ssh, and store your private key on an external device.
This lets you jump between computers easily, and you never have your private key sitting on a local filesystem.
One critical piece to this setup is making backup keys, this has been covered by other blog posts, but there's a less common issue out there: plugging in a cloned key will cause a GPG error that you have to work around on your own... This is frustrating if you setup two yubikeys, and frequently use them both.
This guide will cover creating the GPG master key. Setting it up for commit signing, using this master key with ssh, how to make …
Keep reading with a 7-day free trial
Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.