Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incorrect user showing up for GPG key in SourceTree 2.7.1 Edited

I was trying to set up SourceTree to use GPG key signing for commits. I'm on a Mac (OS 10.13.3)

I have created keys and everything configured correctly. I can successfully commit/push stuff to a remote repo from the command line.

When I do a "gpg --list-key", in the terminal, the key shows up correctly

So then I tried do set up SourceTree and running into an issue. I've set the location of GPG in the SourceTree preferences and I am able to select the "Enable GPG key for signing commits. It automatically found my key, however, the user name that is showing up is "0", which is incorrect. The key that shows up is correct, however.



Why is it not showing the correct user? I only have one key generated and the user name does not match.

Obviously when I try to commit, I get an error:

error: gpg failed to sign the data
fatal: failed to write commit object

Anyone have any ideas?


1 answer

0 votes
bgannin Atlassian Team Mar 15, 2018

Please file a ticket at and we'll follow up from there. Apologies for the hiccup.

Brian Ganninger
Senior Mac Developer, Sourcetree

@bganninAny chance you could help me? submitted a ticket, but can't seem to find the ticket I submitted. I just wanted to follow up on it and find out if there's a workaround, or if there's plans to fix (if this is a bug and not user error). I can no longer use SourceTree since the repos I'm trying to commit to require GPG signing.

The original ticket was SRCTREE-5407. Not sure if it was moved, permissions changes, or it was deleted.

Just looking for an update on the issue and hoping I can start using SourceTree again. =)


bgannin Atlassian Team Apr 03, 2018

I think it accidentally got caught up in the spam sweep last week. Please refile and we'll take a fresh look. Sorry about that!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,246 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you