Skip to content

Instantly share code, notes, and snippets.

@rboyer
rboyer / YubiKey-GPG-SSH-guide.md
Created December 16, 2017 16:06 — forked from ageis/YubiKey-GPG-SSH-guide.md
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

This is an update of an earlier guide which had become dated, having been originally written with the OpenPGP card from g10 code (in combination with a Gemalto shell token v2) in mind, which is now relatively ancient. Some options and comments were meant for older versions of GPG (2.0.x and before) and a user environment consisting of a previous version of Tails OS based upon Debian wheezy. The previous version also advocated what's known as a "dual-smartcard" setup, which is less common, more expensive and trickier to work with, making it less feasible for most people. I've already updated what I can and verifie