flathub / com.syntevo.SmartGit

https://flathub.org/apps/details/com.syntevo.SmartGit
3 stars 3 forks source link

Signing commits using GPG #1

Closed x80486 closed 4 years ago

x80486 commented 6 years ago

SmartGit cannot sign commits:

Commit: gpg failed to sign the data failed to write commit object
    /home/x80486/Workshop/some-repo> git commit --cleanup=whitespace --file=/tmp/smartgit-17819135483608894911tmp/commit-14493487505562511998.tmp
    gpg failed to sign the data
    failed to write commit object

This works fine on the non-Flatpak'ed version. I'm not super-familiar with GPG, but it looks like SmartGit does not have access (eventually) to the gpg-agent running in the host. Maybe installing GPGTools?

RoyiAvital commented 6 years ago

Is this officially supported by Syntevo?

x80486 commented 6 years ago

No, it's not. If you browse over to the application details in Flathub you will read that:

NOTE: This wrapper is not verified by, affiliated with, or supported by syntevo GmbH.

x80486 commented 5 years ago

I have this working already here.

I had to install gnupg, pinentry, and change the runtime to GNOME 3.x because I need to configure the gpg-agent with pinentry in order to make work the graphical password prompt.

I'm in my quest to figure it out what pinentry option works to make work the graphical password prompt using Freedesktop 18.08.

Erick555 commented 4 years ago

You can see example how I made pinentry work with freedesktop 19.08 here: https://github.com/flathub/org.mozilla.Thunderbird/pull/97