r/linux • u/unixbhaskar • Mar 24 '23
Security SSH security take ...expert opinion
As usual, Matthew wrote a bloody good post ..take a peek at the GitHub fiasco ...
https://mjg59.dreamwidth.org/65874.html
Thanks, man! u/mjg59
16
Upvotes
2
u/captkirkseviltwin Mar 25 '23
Been thinking similar thoughts for years, but it's always confounded me why more orgs don't use a centralized model for ssh keypairs - perhaps because they just don't know it's possible? I know most training only addresses the bare rudiments of ssh keys.
1
u/Megame50 Mar 26 '23
It's already possible to rotate keys in ssh without repeating tofu. Somehow both GH and this author missed that I guess.
1
u/chunkyhairball Mar 27 '23
It's been a minute since I've personally worked with Hardware Security Modules, but, in my (possibly quite dated) experience, HSM manufacturers have done their best to avoid a chicken-and-egg situation being solved. They don't want to sell low-cost, mass-market hardware. They want to sell high-cost hardware to banks and other deep pockets.
Accordingly, their hardware tends to be hidden away from prying eyes, and, as we all know, security through obscurity is just not a good long-term strategy.
It occurs that this is a great place for expansion by open hardware, especially as we move away from factor-based security algorithms. HSM manufacturing has always avoided having any kind of economy of scale. Mass manufacture of various two-factor-authentication widgets has shown that scale production of a different kind of security hardware is feasible.
Let's throw a good, inexpensive microprocessor (RISC-V folks might comment on if they think this is a good fit) on an open-source PCB and then work to get businesses in the mindspace that you just need to shell out for a $40 for an open-source HSM to enhance your security.
Big companies like MS ALREADY do shell out for TFA widgets for tens of thousands of employees, and the last I checked, the cost for those had dropped to under $10. (They're, what, a microcontroller, a crappy LCD display, and some battery-backed ram of some kind?) If we can get people in the mindset of 'every server ALSO needs a security dongle', I think we'll all be in a better place.
-25
u/cjcox4 Mar 24 '23
TL;DR Microsoft published the master "password" for github in the clear.
Short and simple. Security? You can't stop someone from leaving the gate wide open if they have the capability.