yubikey-github

Enhance Your GitHub Security with YubiKey

Windows macOS Linux

This repository contains two comprehensive tutorials designed to significantly improve the security of your GitHub workflow using a YubiKey hardware token. By following these guides, you can protect your account with hardware-backed authentication and ensure the integrity of your commits.


Available Guides

1. SSH Authentication with YubiKey

SSH

This guide walks you through setting up your YubiKey to handle SSH authentication for your GitHub account. Instead of using a password or a conventional SSH key file, you will use your YubiKey to physically approve push/pull operations.

➡️ View the Full SSH Setup Guide


2. GPG Commit Signing with YubiKey

GPG

This guide explains how to configure your YubiKey to sign your Git commits using GPG. This process adds a “Verified” badge to your commits on GitHub, proving they came from you and have not been tampered with.

➡️ View the Full GPG Signature Guide