hn.today

Tailscale: Post-Quantum Cryptography

tailscale.com17 points0 comments
Screenshot of Tailscale: Post-Quantum Cryptography

Post-quantum cryptography protects against quantum computers that could break today’s common public-key methods, including elliptic-curve and RSA key exchange. This matters especially for “harvest now, decrypt later” attacks: recorded encrypted traffic could be deciphered in the future if its handshake can be broken. Signatures pose a different, less immediate risk, since breaking them could enable future impersonation but would not decrypt previously recorded traffic. A hybrid key exchange combines classical X25519 with a post-quantum method such as NIST-standardized ML-KEM; the resulting session key remains protected if either method holds. Symmetric encryption using 256-bit keys is not considered practically vulnerable to quantum attacks.

Tailscale’s device-to-device connections use a hybrid handshake when both devices run version 1.106 or later. It adds ephemeral ML-KEM-768 to WireGuard’s X25519 exchange, protecting recorded traffic without requiring configuration or extra shared keys. Older devices fall back to the ordinary WireGuard handshake, which lacks post-quantum protection, so all devices in a tailnet must be updated. Other parts of Tailscale are not yet fully protected: connections to the coordination server still use classical X25519, and features using Ed25519 signatures or ECDSA certificates are not post-quantum. Tailscale does not support WireGuard’s optional pre-shared key feature. Rotating node keys more often also does not prevent later decryption, because recorded handshakes can expose the session keys; protection requires a post-quantum contribution to the handshake itself.

Read on tailscale.com0 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

Practical Quantum Safe Bitcoin

Practical Quantum Safe Bitcoin

Practical Quantum Safe Bitcoin presents Legacy and SegWit methods designed to protect Bitcoin spends against quantum attacks, with adjustable security levels and measured signing times. SegWit versions meet standard relay limits, and spends using both methods have been mined on Bitcoin mainnet. (github.com)

The daily digest

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