I had this problem after I had installed gpg through Homebrew first, and then uninstalled it to use MacGPG instead.
I solved it by going to Sourcetree > Preferences > Advanced, then for GPG Program I clicked Browse and selected /usr/local/MacGPG2/bin. After that, I was able to enable GPG signing on a repository.
I was able to make it work with Homebrew. You need to create a symlink gpg2 -> gpg under `/usr/local/bin` and after that you can select `/usr/local/bin` as GPG Program path under Sourcetree -> Preferences -> Advanced
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you elaborate? I dont see any gpg2 so where did you use your symlink?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create the symlink pointing `gpg2` to `gpg` with the command below:
ln -s /usr/local/bin/gpg /usr/local/bin/gpg2
Once that is in place, you can set `/usr/local/bin` as the GPG Program Path under Sourcetree -> Preferences -> Advanced
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may need to press Command+Shift+Dot
to show hidden files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Turns out I had installed GPG tools, it said it had a key in the control panel thingy so I figured it was cool beans... but it turns out I didn't have a private key yet. So I clicked new, entered a password, jigged my mouse and keyboard some and it all came good.
Obvious. Yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already had a private key generated, but I had to restart SourceTree for it to pick up that change. Worked fine after that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you installed gpgtools?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Possibly. Did you install the tools to a different location?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I picked the default location. Looks like it put it in my Applications dir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.