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
x/crypto/ssh/knownhosts: doesn't match any host when known_hosts has more than one host #19994
Comments
CL https://golang.org/cl/40911 mentions this issue. |
@bradfitz check this out: isn't this weird that by just mentioning this issue in a repo that we don't own, the issue gets closed? Should we be filing a bug with Github, otherwise anyone can close Go/other project issues just by cross reference, which might be the unintended case for people that make Go repo mirrors on Github and commit here. |
@odeke-em yep, this is weird, I guess that this happened because I am the author of the issue and also the owner of the organization where the PR was merged. Thanks for reopening. |
I believe this is fixed with golang/crypto@efac7f2 |
@mcuadros could you try with the latest crypto code, to confirm that the CL referred to by @artyom https://go-review.googlesource.com/c/40937 fixes the problem? The code in the fixing CL looks quite identical to yours @mcuadros. |
yup is fixed, thanks |
What version of Go are you using (
go version
)?go version go1.8 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
knownhosts.Host
with a known_hosts generated by the standard opensshWhat did you expect to see?
Validate a known host.
What did you see instead?
Doesn't validate and reports as matched the last line.
The text was updated successfully, but these errors were encountered: