git-plus icon indicating copy to clipboard operation
git-plus copied to clipboard

[REQUEST] GPG Signed Commit

Open Baachi opened this issue 7 years ago • 3 comments

I'm using gpg to sign all my commits to enhance the security. Currently i have to enter all git commits commands in the cli because i need to enter a passphrase, which doesn't support this package (yet).

If you can tell me how this could be supported and which files should be changed, i would be happy to submit a PR :smile:

Baachi avatar Oct 27 '17 06:10 Baachi

I had this problem, too. I made git automatically sign my commits. I ran this in my terminal: git config --global commit.gpgsign true Now every time I commit, it automatically signs with GPG.

If the GPG requires a passcode, git plus handles this! A text box shows up.

Does this help?

Chew avatar Nov 05 '17 23:11 Chew

If the GPG requires a passcode, git plus handles this! A text box shows up.

Actually this is handled by GnuPG package, you need to have it installed and configured, otherwise the commit will always fail In some cases it can break when you have both gpg1 and gpg2 installed, check this question on stack overflow

Fryuni avatar Dec 21 '17 16:12 Fryuni

If you can tell me how this could be supported and which files should be changed, i would be happy to submit a PR

Now for that you could do something similar to the PR I submited #707 I added an option to always be included when pulling, you could add one to always include -S when commiting

Fryuni avatar Dec 21 '17 16:12 Fryuni