Libmacgpg-free is a drop-in-replacement for GPG Suite Libmacgpg removing the paywall.
Tested with GPG-Suite 2019.1, 2018.5 and 2018.4
git clone --recursive https://github.com/macgpg/libmacgpg-free
cd Libmacgpg-free
make
Checkout an older tag if you wish to build for older versions
- Install the GPG Suite.
- Build this library or download it.
- Make sure the version of your downloaded GPGTools match the version of this library (see releases)
- To replace the existing org.gpgtools.Libmacgpg:
sudo cp ./build/Release/org.gpgtools.Libmacgpg.xpc/Contents/MacOS/org.gpgtools.Libmacgpg /Library/Application\ Support/GPGTools/org.gpgtools.Libmacgpg.xpc/Contents/MacOS
sudo chmod 755 /Library/Application\ Support/GPGTools/org.gpgtools.Libmacgpg.xpc/Contents/MacOS/org.gpgtools.Libmacgpg
Restart your computer or at least restart the XPC org.gpgtools.Libmacgpg.xpc
:
sudo launchctl stop org.gpgtools.Libmacgpg.xpc
sudo launchctl start org.gpgtools.Libmacgpg.xpc
...or eventully kill the org.gpgtools.Libmacgpg.xpc process.