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

In hasHostKey(), check the host key type when parsing ~/.ssh/known_hosts #640

Closed
wants to merge 5 commits into from

Conversation

rodrigc
Copy link
Contributor

@rodrigc rodrigc commented Dec 21, 2016

If we have an ecdsa-nistp-256 key in known_hosts, but the
server offers an ssh-rsa key, this will cause conch to skip the
entry instead of raising a bad host key error.
but the hostname + keyType is the same.
@codecov-io
Copy link

Current coverage is 91.18% (diff: 100%)

Merging #640 into trunk will increase coverage by 0.03%

@@              trunk       #640   diff @@
==========================================
  Files           836        813    -23   
  Lines        146375     145464   -911   
  Methods           0          0          
  Messages          0          0          
  Branches      12983      12878   -105   
==========================================
- Hits         133412     132639   -773   
+ Misses        10724      10560   -164   
- Partials       2239       2265    +26   

Powered by Codecov. Last update 3f6dd48...75aab4e

@rodrigc
Copy link
Contributor Author

rodrigc commented Dec 24, 2016

@the0id please review this

@rodrigc
Copy link
Contributor Author

rodrigc commented Dec 27, 2016

Moved to #642

@rodrigc rodrigc closed this Dec 27, 2016
@rodrigc rodrigc deleted the 8957-rodrigc-ssh branch December 27, 2016 10:00
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.

None yet

2 participants