News for hackers. Stuff that matters.
Re:We updated our RSA SSH host key by cwillu on Friday March 24, 2023 @03:03AM (#35285921)
Note the MITM here :)

We humans really aren't cut out for this, are we.

Re:We updated our RSA SSH host key by darthrupert on Friday March 24, 2023 @04:45AM (#35286587)
What MITM? What are you talking about?
Re:We updated our RSA SSH host key by fulafel on Friday March 24, 2023 @04:52AM (#35286622)
The poster of the fingerprints is in the middle, you are not getting them from GH if you use them instead of going to the linked page.
Re:We updated our RSA SSH host key by vxNsr on Friday March 24, 2023 @04:52AM (#35286624)
This is literally a man in the middle between you and GitHub.
Re:We updated our RSA SSH host key by nicky0 on Friday March 24, 2023 @04:57AM (#35286658)
If someone wanted to trick HN users into trusting a phoney key, one way to do that would be to post the phoney fingerprint on HN claiming it to be the real one.
Re:We updated our RSA SSH host key by iso1631 on Friday March 24, 2023 @05:51AM (#35286997)
And within a few seconds someone will have called this out in a reply
Re:We updated our RSA SSH host key by macintux on Friday March 24, 2023 @07:30AM (#35287650)
Assuming the person doesn’t have some back door access to HN as well.
Re:We updated our RSA SSH host key by detrites on Friday March 24, 2023 @07:57AM (#35287862)
Or they don't simply wait a while and edit it when it's not under high scrutiny.
Re:We updated our RSA SSH host key by iso1631 on Tuesday March 28, 2023 @04:24AM (#35337426)
You can only edit for a certain amount of time
Re:We updated our RSA SSH host key by pferde on Friday March 24, 2023 @06:03AM (#35287066)
And if someone would actually fall for this, they deserve to be fired, and/or never allowed anywhere near anything related to computer security. :)
Re:We updated our RSA SSH host key by misnome on Friday March 24, 2023 @06:40AM (#35287309)
I mean, yes, but you'd also have to have a way to actually MITM the person you are targeting via HN comment, before anyone pointed out it was wrong. It'd be much easier to just use the MITM you already have and not raise the suspicion of posting in a comment.
Re:We updated our RSA SSH host key by nicky0 on Friday March 24, 2023 @01:05PM (#35292103)
Don't overthink this.
Re:We updated our RSA SSH host key by coryfklein on Friday March 24, 2023 @11:36AM (#35290484)
Why downvote this person! The parent post left plenty of ambiguity in their comment. Are they saying that an actual MITM attack is happening? That the fingerprints shared are actually the wrong ones?

Generally speaking, one would not consider an internet comment directing folks to GitHub's actual SSH fingerprints a "man in the middle" as the phrase in this context usually has a negative implication, where in this case defanor is in fact simply mirroring the actual information that GitHub has officially posted in a way that is much more helpful than yetanotherjosh's "double check it is the expected value". For most of us idiots, we don't know what the expected value is!

So thank you defanor for sharing, and thank you darthrupert for asking for clarification. Y'all contributed to educating myself and others and now we know more because of it.

Re:We updated our RSA SSH host key by darthrupert on Friday March 24, 2023 @01:17PM (#35292313)
Ah, okay. I thought this was obvious that the keys in the comment were just for show, and if anyone would need the actual keys, they would be looked via the GH link anyway.

Good clarifications everywhere, yes.

Re:We updated our RSA SSH host key by cesarb on Friday March 24, 2023 @10:07AM (#35289239)
On the other hand, this is a nice TOFU-style double check. The first time HN user "defanor" went to that page, these were the fingerprints; if later someone somehow invades the github documentation server (or somehow MITMs your HTTPS connection to it), and changes the fingerprints there, they will no longer match the ones saved in the comment above.
Re:We updated our RSA SSH host key by NelsonMinar on Friday March 24, 2023 @11:28AM (#35290329)
Well, "defanor" says these were the fingerprints. Perhaps they are the MITM.

(Not genuinely concerned about this risk, but "Reflections on Trusting Trust" reverberates.)

Re:We updated our RSA SSH host key by defanor on Friday March 24, 2023 @11:50AM (#35290737)
Indeed, at least for verification. I didn't mean for HN users to trust those, but perhaps should have warned about it: copied the fingerprints primarily for people searching on this page, so that they can follow the link to GitHub (and rely on PKIX to build a trust chain). I did `ssh-keygen -R github.com` myself, and saw the ECDSA key's fingerprint while connecting (which wasn't mentioned in the linked post, and wasn't on this page either), so figured it would be somewhat helpful for others following the same route.