GnuPG, OpenPGP, and gpg-agent on NixOS GnuPG, OpenPGP, and gpg-agent on NixOS Asymmetric Encryption (Public-Key cryptography) Remove and Store your Primary Key offline Add your PGP Key to GitHub Sign your Commits for Git Backing up Your Private Keys Encrypt a File with PGP List your keys and get the key ID Encrypt a file for yourself Email Encryption Make your Public Key Highly Available ⚠️ SECURITY WARNING: This guide involves sensitive cryptographic material. Never share your private key or passphrase. Backup your keys and handle them with extreme care.