dayne.broderson.org

My current GPG keys are available at dayne.broderson.org/GPG/2018


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 > $key_id.gpg.pub
echo "exported key_id as GPG public key file: $key_id.gpg.pub"
git config --global user.signingkey $key_id

Add the key gpg.pub to your GitHub account settings

Verify your keys (or some other users) with:

https://api.github.com/users/USERNAME/gpg_keys

##

https://help.github.com/articles/telling-git-about-your-signing-key/

curses gpg-agent

Making gpg-agent work well in command line only mode: su.com/520980

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