-
-
Save trinitronx/8b0bd77eecea0113d4134bad2b6fc569 to your computer and use it in GitHub Desktop.
Using GPG Agent on OS-X
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
launchctl unload -w -S Aqua /System/Library/LaunchAgents/gpg.agent.daemon.plist | |
launchctl load -w -S Aqua /System/Library/LaunchAgents/gpg.agent.daemon.plist |
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/remco/.gnupg/gpg-agent-info | |
pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>gpg.agent.daemon</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/MacGPG2/bin/gpg-agent</string> | |
<string>--daemon</string> | |
<string>--options</string> | |
<string>/Users/remco/.gnupg/gpg-agent.conf</string> | |
<string>--enable-ssh-support</string> | |
<string>--log-file</string> | |
<string>/var/log/gpg-agent.log</string> | |
<string>--write-env-file</string> | |
<string>/Users/remco/.gnupg/gpg-agent-info</string> | |
</array> | |
<key>Sockets</key> | |
<dict> | |
<key>Listeners</key> | |
<dict> | |
<key>SecureSocketWithKey</key> | |
<string>SSH_AUTH_SOCK</string> | |
</dict> | |
</dict> | |
<key>StandardOutPath</key> | |
<string>/var/log/gpg-agent.stdout.log</string> | |
<key>StandardErrorPath</key> | |
<string>/var/log/gpg-agent.error.log</string> | |
<!-- | |
<key>RunAtLoad</key> | |
<true/> | |
<key>EnableTransactions</key> | |
<true/> | |
--> | |
<key>Umask</key> | |
<integer>63</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment