-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
affected/package: golang.org/x/crypto #60314
Labels
Comments
Duplicate of #53391 |
I know this is closed as duplicate, but posting a workaround which could be helpful in some cases.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am trying to use gogit to clone an ssh repo
which inturn uses the crypto package to ssh auth
The ssh server returns algo as ssh-rsa, even when the client proposes rsa-sha2-256, this function below is affected:
in ssh/client_auth.go file
Specifically the msg.Algo doesn't match algo arg. Is there a way to override this? and relax the match
What did you expect to see?
I would like to see the git clone work, i.e. ssh auth using ssh-rsa key work as it works with the ssh client on Mac.
ssh -T git@<privateGitServer>
works...What did you see instead?
The ssh auth doesn't work causing git clone failure...
I managed to make it work when I overwrote the msg.Algo field in the Unmarshal method.
The text was updated successfully, but these errors were encountered: