GPG
Encrypt files for confidentiality, sign files for integrity and authenticity.
Usage
Export keys
gpg --export --armor <UID>
Clear passphrase from cache
gpg-connect-agent reloadagent /bye
Customize pinentry program
To specify the pinentry program you want to use, edit the ~/.gnupg/gpg-agent.conf
file.
pinentry-program /usr/bin/pinentry-curses
Resources
- How to encrypt, sign and decrypt messages using GnuPG on macOS #media/article
- Creating and Managing a GPG Key Pair #media/article