Last active
May 11, 2016 10:06
-
-
Save elblivion/ac7134eeb3dab0ebf8e5d32a2d3e16fa to your computer and use it in GitHub Desktop.
gpg-agent on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ -f ~/.gnupg/gpg-agent-info ] && source ~/.gnupg/gpg-agent-info | |
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then | |
export GPG_AGENT_INFO | |
else | |
eval $( gpg-agent --daemon --options /Users/stanton/.gnupg/gpg-agent.conf --enable-ssh-support --log-file /var/log/gpg-agent.log --write-env-file /Users/stanton/.gnupg/gpg-agent-info ) | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install gnupg | |
brew install gpg-agent | |
brew install pinentry-mac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use-standard-socket | |
enable-ssh-support | |
default-cache-ttl 14400 | |
max-cache-ttl 86400 | |
pinentry-program /usr/local/bin/pinentry-mac | |
log-file /var/log/gpg-agent.log | |
write-env-file /Users/stanton/.gnupg/gpg-agent-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment