Encrypt, sign and verify files with GnuPG
8 steps · about 1 h 36 min · Beginner
- Generate a GnuPG key pair and revocation certificate (guide, ArchWiki, 20 min)
Walks through key creation, listing and backup with clear examples.
- Pick recipients and trust levels for public keys (reference, GnuPG, 10 min)
Explains how gpg decides which imported key to use and trust.
- Encrypt, decrypt and sign files with gpg commands (reference, GnuPG, 12 min)
Lists the exact commands for the everyday encrypt and sign workflow.
- Check detached signatures against a trusted keyring with gpgv (reference, GnuPG, 8 min)
Proves who produced a file and that it was not changed.
- Manage expiry, subkeys and revocation (reference, GnuPG, 15 min)
Keeps keys healthy after the first week.
- Verify an Ubuntu ISO signature and checksum (tutorial, Canonical, 15 min)
Applies signature checking to a real download.
- Check Debian image signatures (guide, Debian, 6 min)
Shows the same practice on a second distribution.
- Sign Git commits with your GPG key (guide, GitHub Docs, 10 min)
Puts your key to daily use on code you publish.