-
Notifications
You must be signed in to change notification settings - Fork 605
Respect Git configuration related to signing when creating commits #3586
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
Just some constructive feedback: the inability to sign commits based on my existing git config is a blocker for me. I can see a huge benefit in using GitButler while maintaining say Anywho - Look forward to seeing GitButler grow, and hopefully being able to use it in my day to day in the near future... |
The initial comment mentions about GPG based signing, but for me I would like to have my keys in 1Password be used for signing, as is the case without using GitButler. Using GitButler's key is usable by adding that key to Github/Gitlab, but it would be nice to be able to use 1Password keys for both authentication and signing. |
@MikeJCusack I could be wrong, but I believe that when this issue gets implemented, that would work out of the box for you -assuming that when you do a It's my understanding that when your I wouldn't be surprised if the 1password cli tool ultimately imports the gpg key into your local gpg keyring to make things appear seamless on the os level. e.g. 1password is not replacing your local gpg as a signing agent / key store |
I'm using ssh commit signing, but otherwise this is my understanding as well. Just wanted to make sure this fix would be addressing both gpg and ssh signing. You can save GPG keys in 1Password since you can save any type of file as an attachment, but for developers it just provides an SSH agent to handle secure storage and access of ssh keys. It saves a copy of the public key in |
Yes this is a known issue, I've been meaning to add signing support to the fork/exec end of things. Assuming I can get rust-analyzer working again in The problem is indeed the confusing bit about which "auth method" you use - it doesn't change which implementation of Git we use for all operations, just for I just need to make sure it works with our ASKPASS implementation so that e.g. passphrase prompts properly forward to the client. FWIW this also blocks me from using GitButler at the moment, so it's rather high priority for me as well :) |
I think this may also be fixed by now. |
Uh oh!
There was an error while loading. Please reload this page.
Currently, GPG based signature configuration is not respected by default, even though users would expect commits to be created just like Git would.
For instance, creating a commit in a virtual branch and pushing that will cause the commit to be unsigned, even if the user configured commit signatures, i.e.:
Right now there is an option (default off) to sign with a locally generated key…
…but using that wouldn't imply that it is trusted by other parties.
Sources of Confusion
auth*
being implied. Users may think that this rather means to use Git for all (or most) operations so that their settings would be respected no matter what.Related Issues
The text was updated successfully, but these errors were encountered: