hn.today

OpenSSH Post-Quantum Cryptography

openssh.org279 points33 comments
Screenshot of OpenSSH Post-Quantum Cryptography

OpenSSH’s guidance explains why SSH connections should use post-quantum key agreement: a sufficiently powerful quantum computer could break conventional methods used to establish session keys. An attacker could record encrypted traffic now and decrypt it later, so waiting until such computers exist would leave today’s sensitive sessions exposed. OpenSSH has supported post-quantum key exchange since version 9.0, first with sntrup761x25519-sha512. Version 9.9 added mlkem768x25519-sha256, which became the default in version 10.0. Starting with 10.1, SSH warns when a connection negotiates neither supported algorithm, because the server may need an upgrade or its key-exchange settings may have disabled these options.

The recommended response to a warning is to upgrade the server or enable one of the post-quantum algorithms; users who knowingly accept the risk can suppress the warning selectively with WarnWeakCrypto. The guidance distinguishes key agreement from digital signatures: quantum computers could also break common signature schemes such as RSA and ECDSA, but forged signatures do not create the same retrospective decryption risk. OpenSSH plans to add post-quantum signatures later, before cryptographically capable quantum computers arrive. It acknowledges uncertainty both about when such machines will be practical and whether newer post-quantum methods could prove vulnerable. To limit that risk, OpenSSH uses hybrid key-exchange algorithms combining a post-quantum method with a classical one, so the connection remains at least as secure as the earlier classical approach even if the newer component is broken.

Read on openssh.org33 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Tailscale: Post-Quantum Cryptography

Tailscale: Post-Quantum Cryptography

Post-quantum cryptography protects key exchange from future quantum attacks, including “harvest now, decrypt later” attempts; hybrid exchange combines classical and post-quantum algorithms for protection if either remains secure. WireGuard uses fixed handshake algorithms, so adding post-quantum protection requires protocol changes and endpoint updates. (tailscale.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.