My current GPG keys are available at

GPG quick start

generate a new key:

github article on generating a gpg key

gpg --full-generate-key

list keys

gpg --list-secret-keys --keyid-format LONG

key_id=$(gpg --list-secret-keys --keyid-format LONG | grep sec \
         | sed 's/\// /g' | awk '{print $3}')
echo key_id=$key_id
gpg --armor --export $key_id > $
echo "exported key_id as GPG public key file: $"
git config --global user.signingkey $key_id

Add the key to your GitHub account settings

Verify your keys (or some other users) with:


curses gpg-agent

Making gpg-agent work well in command line only mode:

echo "pinentry-program $(which pinentry-curses)" >>  $HOME/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
apt install pass
mkdir ~/.password-store
pass git init dayne-store