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
git fetch complains about bad RSA key signature with gitlab.com #3108
Comments
|
My hunch is that this might due to openssh 8.5p1 from 2.31.0.rc2. |
Quite possible. https://github.com/git-for-windows/build-extra/blob/HEAD/versions/package-versions-2.30.2.txt#L117 says that Git for Windows v2.30.2 came with 8.4p1. Could you drop the |
|
https://forum.gitlab.com/t/openssh-8-5p1-1-potential-problem-ssh-keys-on-gitlab/49980 might be relevant, too. |
|
And https://www.reddit.com/r/archlinux/comments/lyazre/openssh_update_causes_problems/. This even has the suggestion to work around the issue by putting this into your |
|
Thanks for digging. Using the ssh.exe in version 8.4p1 from portable 2.30.2 fixes the issue, as does using |
|
FWIW https://bugzilla.mindrot.org/buglist.cgi?quicksearch=server%20gave%20bad%20signature%20for%20RSA%20key came up empty. You might want to dig in a bit more yourself, but my hunch is that GitLab uses an |
|
Thanks for your time and help. I've opened https://bugzilla.mindrot.org/show_bug.cgi?id=3279. |
From my understanding the host key is of ed25519 type as posted in #3108 (comment). |
Excellent. Could you keep us posted? If no patch for this manifests before Git for Windows v2.31.0, we might have to hack |
Setup
defaults?
to the issue you're seeing?
Nope.
Details
Windows Terminal with bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
My SSH key is also not a RSA key but a ED25519 one.
no bad signature message combined with a successfull clone. When the signature is bad and I should not be able clone.
URL to that repository to help us with testing?
gitlab.com/tango-controls/cppTango
I tried to reproduce it with a portable installation of
git version 2.30.2.windows.1but that always worked.The text was updated successfully, but these errors were encountered: