| ▲ | stabbles 2 hours ago | ||||||||||||||||
Should OpenSSH implement a config option that requires two different types of keys? If we don't know whether RSA or Ed25519 is weakened, then better to have both? The situation on e.g. GitHub is sort of the opposite: if you use both RSA and Ed25519, then it's as strong as the weakest of the two. | |||||||||||||||||
| ▲ | peri-cl 2 hours ago | parent | next [-] | ||||||||||||||||
I think that's just "hybrid" key exchange. I.e., when I'm connecting to news.ycombinator.com now, my browser is exchanging keys by mlkem768x25519 in TLS 1.3, which is still secure if either one of ML-KEM or Ed25519 fall. https://www.rfc-editor.org/rfc/rfc9954.html (RFC 9954 Hybrid Key Exchange in TLS 1.3") > "Hybrid key exchange refers to using multiple key exchange algorithms simultaneously and combining the result with the goal of providing security even if a way is found to defeat the encryption for all but one of the component algorithms." Note that Ed25519 would fall together with RSA if that P=BQP rumor is true. (Ed25519 is a special case of the discrete logarithm problem in the OP, by the way). | |||||||||||||||||
| ▲ | moody__ 2 hours ago | parent | prev | next [-] | ||||||||||||||||
This is already their chosen path for PQC, ed25519 and mldsa44 will likely replace the bare ed25519 default within a year-ish. | |||||||||||||||||
| ▲ | aaronmdjones 2 hours ago | parent | prev | next [-] | ||||||||||||||||
You would want to do that for key exchange too, not just authentication. OpenSSH already supports this for authentication; setting "AuthenticationMethods publickey,publickey" in sshd_config(5) will force users to supply 2 independent authorised keys. It also already supports hybrid key exchange. | |||||||||||||||||
| |||||||||||||||||
| ▲ | ufocia 43 minutes ago | parent | prev [-] | ||||||||||||||||
The weaker of the two. Two is not enough to use the superlative, only the comparative. | |||||||||||||||||
| |||||||||||||||||