My current GPG keys are available at dayne.broderson.org/GPG/2018
github article on generating a gpg key
gpg --full-generate-key
(1) RSA and RSA (default)
4096
0
- does not expireFull Name Here
user@example.com
https://yourwebsite.example.com/gpg-key-YYYY.key
gpg --list-secret-keys --keyid-format LONG
GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec \
| sed 's/\// /g' | awk '{print $3}')
echo GPG_KEY_ID=$GPG_KEY_ID
gpg --armor --export $GPG_KEY_ID > $GPG_KEY_ID.gpg.pub
echo "exported GPG_KEY_ID as GPG public key file: $GPG_KEY_ID.gpg.pub"
git config --global user.signingkey $GPG_KEY_ID
Then add the public key ($GPG_KEY_ID.gpg.pub
) to your GitHub account
settings. More details at GitHub’s help
page
if you’ve not setup pass here is quick start:
sudo apt install pass
Initialize pass with your GPG key:
pass init $GPG_KEY_ID
.docker/config.json
with
{
"credsStore": "pass"
}
docker login
pass
- should see a docker-credential-helpers
as one
of the storage buckets.More detail in https://github.com/docker/docker-credential-helpers/issues/102
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