/usr/local/MacGPG2/libexec/shutdown-gpg-agent
LaunchAgent entry used by MacGPG2 to shut down the GPG agent, typically installed with GPGTools for OpenPGP and smart card workflows.
What is /usr/local/MacGPG2/libexec/shutdown-gpg-agent?
This startup item is a LaunchAgent associated with MacGPG2, a component commonly installed as part of GPGTools. It appears to run a helper script named shutdown-gpg-agent, which is related to managing the GPG agent used for OpenPGP encryption, signing, key handling, and sometimes smart card or SSH integration on macOS. People usually encounter it after installing GPGTools or related GnuPG software for email encryption, code signing, or secure key management.
Safety overview
Status: Mostly safe
This item is generally associated with legitimate GPGTools or GnuPG functionality rather than core macOS. Disabling or removing it may affect how GPG agent sessions are cleaned up, which can impact encryption, signing, passphrase prompting, or smart card behavior. It is not typically a personal data store, but changing it can break related security-tool workflows.
Recommendation: Keep it if you actively use GPGTools, GnuPG, OpenPGP email, code signing, or hardware tokens. If you no longer use those tools, it is usually reasonable to review and disable this LaunchAgent first before removing any related software components.
File path
/Library/LaunchAgents/org.gpgtools.macgpg2.shutdown-gpg-agent.plist
Share your experience
Be the first to share your experience.