News for hackers. Stuff that matters.
Re:We updated our RSA SSH host key by oleganza on Friday March 24, 2023 @04:51AM (#35286613)
Certificates just add more keys to worry about. The beauty of SSH is that it does not add hugely trusted parties in the name of convenience, while the UX of TOFU (trust on first use) is pretty decent.

The real solution to break out of these UX/security tradeoffs is to put domain names on a blockchain: then you can simply rotate the key in your DNS record, while the blockchain model is such that you need to compromise many parties, instead of "one out of many parties", as with CAs.

Tracking Bitcoin chain for DNS updates is lightweight enough that it can be built into OS alongside other modern components such as secure enclave, TCP/IP stack and WiFi/BT/5G radios.

Re:We updated our RSA SSH host key by hnfong on Friday March 24, 2023 @05:03AM (#35286695)
> The beauty of SSH is that it does not add hugely trusted parties in the name of convenience

Even with a certificate authority model, you don't have to trust any CAs if you don't want to. Not having the option to do so is more of a problem.

Re:We updated our RSA SSH host key by datadeft on Friday March 24, 2023 @07:05AM (#35287476)
We should use a separate system that could reliably verify which certs belong to which entity.

Blockchain is a perfect solution to this. I wonder why it is not considered yet.

Re:We updated our RSA SSH host key by jtsiskin on Friday March 24, 2023 @01:19PM (#35292350)
Re:We updated our RSA SSH host key by datadeft on Friday March 24, 2023 @05:09PM (#35295544)
Thanks, I was not aware!
Re:We updated our RSA SSH host key by megous on Friday March 24, 2023 @11:28AM (#35290335)
Those keys can be worried about on a better secured computer, and don't need to be spread out on every frontend ssh server. Also it allows you to have each machine have a different host key pair, so if one leaks, only that single machine may have some trust issues, and not the whole fleet.

Also it's way better than TOFU, you can just add the CA key to known_hosts and avoid TOFU for each machine.

(Nevermind that you'll probably not accidentally commit some semi-ephemeral host key that's rotated often somewhere, because it will not be some special snowflake key you care about, but something handled by your infrastructure software automatically for each machine)