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