-
Notifications
You must be signed in to change notification settings - Fork 667
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
ssh-rsa sigantures broken with 1.12.0 #1316
Comments
I found the issue, in my server code I had to change this line (taken from examples)
I may have overlooked this, but it is a there an UPDATES.md file or something of this sort that lists these kind of breaking changes? Kind regards, |
|
To be honest, I don't fully understand this. It was tough a breaking change for me (openssh clients), my server code: https://gitlab.com/csc1/gitengine/-/blob/main/src/Ssh/Self.js#L131 I think in essence I was close to the example code back then, now the major difference is that I cache parsed keys in a map and check serveral keys. Debugging I just noticed it all looked almost the same, execpt ssh2Parsed.verify() returned true with .11 and false with .14, and the noted the new parameter I was supposed to hand down to. No biggie, it all works now, just noting unless I'm doing something wrong here, an update notice would have been nice. PS: I think not many people use servermode to be honest, most use client mode.. but I'm still very thankful for the whole thing. |
What OpenSSH client versions? AFAIK this shouldn't be a problem as OpenSSH will fall back to ssh-rsa unless the client has explicitly set
|
OpenSSH_8.4p1 Debian-5+deb11u1, OpenSSL 1.1.1n 15 Mar 2022 The other machine I tested with, same result: I forgot about this, was due some issues in the past I excplizitly turned it on. ed25519 worked all the time, with .11 and .14 without the 3rd parameter. But IMO you can close this, the issue is resolved for me, and since its already 3 minor versions ago, I guess no one else had that problem. |
ssh-rsa signatures worked for me with 1.11.0 since 1.12.0 (up to including 1.14.0) they stopped worked.
unfortunally I do not have more info at hand, except that after upgrading node-ssh the handshakes stopped working, downgrading to 1.11.0 they worked again.
PS: I forgot to say, node-ssh working in server mode.
The text was updated successfully, but these errors were encountered: