-
-
Notifications
You must be signed in to change notification settings - Fork 605
Commit signature skipped when global configuration commit.gpgSign=true #591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm new to the codebase, but given a nudge in the right direction I may have time to contribute this improvement myself. |
Sounds good thanks, I've subscribed to that one 🖖 |
Was a dependency on Prior to then, my commits made with GitUI were signed and verified correctly, but as of 0.12.0 they are not. So is this more of a regression than what looks like a feature request from May 2020 in #97? |
Hmmm, maybe I just thought it was signing commits because at work we're required to rebase a lot, which I do from the command line. They only just made it a requirement to merge PRs that the commits are all verified, so I probably just hadn't noticed that some of my commits weren't actually signed. |
Describe the bug
Most
git
UI's and toolkits will respect the global (or repo)commit
configuration.I found with
v0.13.0
ofgitui
that even though my~/.gitconfig
included the following configuration:Commits I made from
gitui
would not try to sign, and produced unsigned commits.To Reproduce
Steps to reproduce the behavior:
git config --global commit.gpgSign true
git config --global user.signingKey ${PUBKEY_HASH}
gitui
Expected behavior
The commit should have been signed with the default signing key specified by
git config --global user.signingKey ${PUBKEY_HASH}
.If key was not already unlocked via the local keyring program, a prompt should have occurred for the GPG key passphrase prior to commiting and signing.
Context (please complete the following information):
v0.13.0
v1.50.0
The text was updated successfully, but these errors were encountered: