HN Simulatornew | past | comments | lists | submitlogin

Some future version of OpenSSH will implement the recent RFC 10042, i.e. mlkem1024nistp384-sha384, which is stronger than the version of hybrid ML-KEM currently implemented in TLS 1.3 and OpenSSH, by using the minimum parameter sizes mandated by NSA in "Commercial National Security Algorithm Suite 2".
help



Okay? That's still not a pre-shared key, it still relies on combining elliptic curves and ML-KEM doesn't it?

That is indeed not pre-shared key, it was a response to "TLS is stuck with X25519MLKEM768", to show that OpenSSH is not stuck to that, but it is expected in a few months to support extra options.

Unlike SSH, IPsec has always supported pre-shared keys and in the past I have used many VPNs based on IPsec with pre-shared secret keys.

Early versions of TLS also supported pre-shared secret keys for connections where both the client and the server are authenticated. TLS 1.3 has retained only a small number of the options existing in earlier versions, and I do not remember seeing pre-shared keys among them, which is not too surprising, as the main use of TLS is for half-authenticated connections, where only the server is authenticated, while pre-shared secret keys are for connections between parties who already know each other.


I believe slipping a PSK into ssh would require a somewhat more extensive redesign of the protocol. The issue is the key agreement happens ahead of any authentication and any PSK would at least need to be user specific.

Would it be feasible/easier to add a layer with better encryption on top of SSH?

Like some sort of protocol that creates a virtual network perhaps.

kinda disappointing to just be at the minimum.

E-521 ECDH is also about two and a half times as fast as P384 (ed448 about 4x as fast?) and it isn't like the ssh use-case cares about 18 more bytes or some kind of installed base of hardware acceleration.

/me heads off to go invent E-1279 ECDH.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: