-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add GnuPG Support to sign git commits #170
Comments
@strausmann For documentation and testing can you give an example of the proper values for |
I merged in your changes to the |
Depends on #176 |
@strausmann ready to test in the Please test on multiple workspace restarts to be safe. |
Awesome. Perhaps we should quiet the gpg |
I like, I had also already considered |
Great. I just added that in blind. Test if you like. |
Does not work as expected 3614991 |
Ok please try again |
I am pretty sure this existed before my fix for supressing output. Please revert those fixes and run |
All good, this was the output of |
oh ok, haha. It looked like a failure with that warning but I take it that is because the key you are testing with is just a dummy. If you used your true key would the warning go away? |
Yeah so the last thing on the list before release is #176. Please see my last comment. |
oh yeah the intellisense feature needs to be documented in the README as well. I will add that to #176 |
No, even with my own key the warning is not gone, because after importing the key, you would still have to set it trusted. You would have to execute an edit-key interactively to trust the key. But everything ok. You still need the passphrase for the private key anyway. |
Can you give me this or a link that shows how its done so I can put it in the documentation? |
Renaming |
GPG Key for git commit signing is implemented properly and logged however pushes to remote still show up as unverified. |
This is related to the fact that a GPG key can have an email address that doesn't match the git commiters address such as in the case where a github no-reply email address is used such as |
I will add support for a third environment variable: |
I will add support for a fourth environment variable: |
@apolopena |
Problem this feature will solve
The signing of Git commits currently has to be set up again each time the workspace is restarted.
Background
Restarting the workspace does not preserve the local information of the workspace, thus the GPG Privatekey and the Git Config are not preserved.
Proposed Solution
With the start of the workspace, the Git configuration should want to automatically sign each commit and the GnuPG private key is imported into the workspace. So that with a Git commit only the password of the GPG key is requested and the commit is signed with it.
Constraints and Assumptions
verified
in the github UI if the email ~/.gitconfig doesnt match that of the GPG key.Alternatives or Workarounds
Since this is not a rarely relevant feature, a project-based implementation is less likely to be considered if necessary.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: