Skip to content

Instantly share code, notes, and snippets.

@dacci
Created May 10, 2022 02:21
Show Gist options
  • Select an option

  • Save dacci/ae5212b8fba55ffec9a13f4d020f6ce8 to your computer and use it in GitHub Desktop.

Select an option

Save dacci/ae5212b8fba55ffec9a13f4d020f6ce8 to your computer and use it in GitHub Desktop.
Launch gpg-agent by launchctl.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.gnupg.gpg-agent</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/gpgconf</string>
<string>--launch</string>
<string>gpg-agent</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment