Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 754 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 754 Bytes

Git

Gitconfig

Installation:

cd ~
git clone --recursive [email protected]:degete/gitconfig.git ~/.git
ln -s .git/gitconfig .gitconfig

GPG passphrase on macOS

You might want to have integration to store your keys on the Keychain in macOS, for that install

brew install pinentry-mac

Add the config to gpg-agent in order to work with pinentry-mac:

echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf

Restart gpg-agent in order to load the config, and you are ready to go:

killall gpg-agent

To check everything is up, you can execute the command which will ask your passphrase and will allow you to save it on the Keychain.

echo "Test" | gpg --clearsign