Skip to content
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: add support for extension negotiation (rfc 8308) #3

Merged
merged 8 commits into from
Aug 23, 2022
Merged

Conversation

iQQBot
Copy link
Collaborator

@iQQBot iQQBot commented Aug 22, 2022

This PR is cherry-pick from golang#211

Reopen #2

This is a rebase of the following PR

golang#197

with some changes and improvements:

- added support for client certificate authentication
- removed read loop from server handshake
- adapted extInfoMsg to upstream changes

Signed-off-by: Nicola Murino <[email protected]>
always add ext-info-s to KEX and send the SSH_MSG_EXT_INFO message
if we received ext-info-c from the client

Signed-off-by: Nicola Murino <[email protected]>
we already know if this is the first key exchange

Signed-off-by: Nicola Murino <[email protected]>
we need it for both client and server

Signed-off-by: Nicola Murino <[email protected]>
Signed-off-by: Nicola Murino <[email protected]>
both client and server side need to parse this message

Signed-off-by: Nicola Murino <[email protected]>
@iQQBot iQQBot merged commit b59f56d into master Aug 23, 2022
@iQQBot iQQBot deleted the rfc/8308 branch August 23, 2022 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants