Hacker News new | ask | show | jobs
by mastahyeti 3731 days ago
GitHub Desktop doesn't support commit/tag signing at this point. Sorry.
2 comments

Hopefully will at some point, it's one of the few reasons I use SourceTree at the moment.

GPG in Github Desktop would be a fantastic addition :)

Do you use the "git flow" feature of SourceTree ?

I have a hard time trying to sign my merge commit. (after a new release for example)

I wonder if you were able to do it ?

Nope no git flow here sorry :)

Is it failing to give you the option to sign (UI bug)?

There is no UI that allows you to specify that you want the merge commit to be signed.

And if you configure git to sign all commits, you get this error:

https://confluence.atlassian.com/sourcetreekb/sourcetree-com...

For what it's worth, I had that same error message (OS X), and I managed to fix it. After using homebrew to make sure my git was up-to-date and gpg was also installed correctly, I told git where gpg is (for some reason, despite being in my PATH, it wasn't registering?): git config --global gpg.program /usr/local/bin/gpg

After that, I had to make a tweak to gpg so I didn't get another annoying error. In ~/.gnupg/gpg.conf, adding 'no-tty' got everything working smoothly.

I agree that that was way too tedious, but it did work out. :)

It looks like adding the no-tty in gpg.conf fixed it :D

Thank you !

> There is no UI that allows you to specify that you want the merge commit to be signed.

Ah ok, I see what you mean. I don't think theres a way to have rebase re-sign things inside SourceTree either, I run in to that one constantly and have to open a terminal.

Drat!