zach.codes

Share this post

User's avatar
zach.codes
Ultimate Yubikey Setup Guide with ed25519!
Copy link
Facebook
Email
Notes
More

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

Zach Silveira
Sep 24, 2020
∙ Paid

Share this post

User's avatar
zach.codes
Ultimate Yubikey Setup Guide with ed25519!
Copy link
Facebook
Email
Notes
More
Share
Ultimate Yubikey Setup Guide with ed25519!
  • Intro

  • Getting Started

  • Generating the Master Key

  • Exporting the Key

  • Setting up your Yubikey

  • Adding to a Yubikey

  • Setting up GPG Signing

  • Using SSH

  • Using Duplicated Keys

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.

Already a paid subscriber? Sign in
© 2025 Zach Silveira
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More