Seems SourceTree requires gpg2 exist but brewed gpg won't install it

Carter Li August 11, 2017

Install gpg with `brew install gpg` and configure git to use it.

 

Then SourceTree keeps bothering

error: gpg failed to sign the data

fatal: failed to write commit object

 

While `git commit` in terminal doesn't

 

I have set the GPG program path `/usr/local/Cellar/gnupg/2.1.23/bin`

 

If I `ln -s gpg gpg2`, the problem solves

2 comments

Tomáš Slíž December 5, 2017

I don't want to use GPG Tools or something like that. So thank you for this hint, it saved my day ;-)

Andrew S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 21, 2021

In which directory did you create that symlink?

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events