23
loading...
This website collects cookies to deliver better user experience
brew install gpg
gpg --full-generate-key
gpg --list-secret-keys --keyid-format LONG
[SCRAMBLING NOT REALLY IMPORTANT]
--------------------------------------
sec rsa4096/[THIS_KEY_ID] 2021-07-07 [SC]
2B18EEB732D15480D40A60D605AE1785E201CE95
uid [ultimate] Chris Bongers <[email protected]>
ssb rsa4096/C98A99F6B0202433 2021-07-07 [E]
gpg --armor --export [THIS_KEY_ID]
-----BEGIN PGP PUBLIC KEY BLOCK-----
[SCRAMBLE]
----------END PGP PUBLIC KEY BLOCK-----
git config --global user.signingkey [THIS_KEY_ID]
git config --global commit.gpgsign true
echo "test" | gpg --clearsign
export GPG_TTY=$(tty)
gpgconf --kill all
gpg-agent --daemon