Skip to content

SSHClient: fix the host key test (2.0) - #1057

Merged
bitprophet merged 1 commit into
paramiko:2.0from
scVENUS:2.0-gsskex-hostkeycheck-fix
Sep 12, 2017
Merged

bitprophet merged 1 commit into
paramiko:2.0from
scVENUS:2.0-gsskex-hostkeycheck-fix

Conversation

@akruis

@akruis akruis commented Sep 12, 2017

Copy link
Copy Markdown

Same as pull request #1055, but for paramiko 2.0

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.

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.
bitprophet added a commit that referenced this pull request Sep 12, 2017
@bitprophet
bitprophet merged commit 1b2697b into paramiko:2.0 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
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