-
Notifications
You must be signed in to change notification settings - Fork 558
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
Signing is not working correctly with password-protected SSH key #5873
Comments
Thanks a lot for reporting! GitButler does override the The error messages I saw seem to indicate the executable can't be found. Could it be that It does seem to be bundled:
Could you check if Thanks for your help. Also CC @ndom91 . |
I just checked and the I think the issue is that I am actually using a version of GitButler packaged for NixOS, which uses the Debian binaries under the hood. The |
Ah, that's good to know. Then it's not really the The two binaries, |
It seems that all these utilities should be in the same directory (https://github.com/youwen5/gitbutler-flake/blob/448e9a784f2310f73b0b2f4f16dc35d31b3bf8d9/gitbutler.nix#L34C5-L36C87). @youwen5 tested the NixOS application separately and SSH signing was working, so I'm not sure exactly what went wrong in my case (probably something to do with my SSH key and the fact that it was password-protected). I have however found that signing with a password-protected GPG key works fine, so this might be a good solution for others facing the same issue. |
That should indeed work! I also found a portion of code that would indicate that GitButler would produce an error early if these files weren't present. Thus it truly seems that It's unclear to me how that can happen. Is it possible for you to follow child process invocations with |
Sorry for the late reply, but this is what I've found from running
|
Thanks a lot!
When looking at the GitButler error: Unfortunately, even with |
Version
0.14.4
Operating System
Linux
Distribution Method
deb (Linux)
Describe the issue
I have a password protected private SSH key at
~/.ssh/id_ed25519
with a corresponding public key~/.ssh/id_ed25519.pub
which I've added to GitButler through the Git project settings tab. I've also added this key to GitHub, but when testing signing I get the following error:Signing is not working correctly
How to reproduce
Create a password protected private SSH key and then add it to GitButler as a signing key in the Git tab of the project settings, then test signing
Expected behavior
GitButler should ask for the decryption password for the corresponding private key and then use it to access the correct key when signing commits and testing signing
Relevant log output
The text was updated successfully, but these errors were encountered: