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

SSHClient: fix the host key test (2.1) #1058

Merged
merged 2 commits into from Sep 12, 2017

Conversation

@akruis
Copy link
Contributor

@akruis akruis commented Sep 12, 2017

Same as pull request #1057, but for paramiko 2.1

Anselm Kruis added 2 commits Aug 1, 2017
Skip the host key check only, if the transport actually used
gssapi-keyex. Add tests for the missing-host-key RejectPolicy.

Before this change, a man-in-the-middle attack on the paramiko ssh
client with gss_kex=True was possible by having a server that does not
support gssapi-keyex and gives any or no host key.
@akruis akruis changed the base branch from master to 2.1 Sep 12, 2017
bitprophet added a commit that referenced this pull request Sep 12, 2017
bitprophet added a commit that referenced this pull request Sep 12, 2017
@bitprophet bitprophet merged commit a8b8012 into paramiko:2.1 Sep 12, 2017
bitprophet added a commit that referenced this pull request Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants