Encrypt, sign and verify files with GnuPG

8 steps · about 1 h 36 min · Beginner

  1. Generate a GnuPG key pair and revocation certificate (guide, ArchWiki, 20 min)

    Walks through key creation, listing and backup with clear examples.

  2. Pick recipients and trust levels for public keys (reference, GnuPG, 10 min)

    Explains how gpg decides which imported key to use and trust.

  3. Encrypt, decrypt and sign files with gpg commands (reference, GnuPG, 12 min)

    Lists the exact commands for the everyday encrypt and sign workflow.

  4. Check detached signatures against a trusted keyring with gpgv (reference, GnuPG, 8 min)

    Proves who produced a file and that it was not changed.

  5. Manage expiry, subkeys and revocation (reference, GnuPG, 15 min)

    Keeps keys healthy after the first week.

  6. Verify an Ubuntu ISO signature and checksum (tutorial, Canonical, 15 min)

    Applies signature checking to a real download.

  7. Check Debian image signatures (guide, Debian, 6 min)

    Shows the same practice on a second distribution.

  8. Sign Git commits with your GPG key (guide, GitHub Docs, 10 min)

    Puts your key to daily use on code you publish.