hn.today

Post-Quantum GitHub SSH

bauer.codes54 points26 comments
Screenshot of Post-Quantum GitHub SSH

The guidance responds to renewed concern about the NSA’s post-quantum cryptography advisory and argues that GitHub SSH users should move away from Ed25519 sooner rather than later. It identifies two separate risks: key exchange, which protects the connection itself, and authentication, which verifies the user’s key. Commands using verbose SSH output can show the negotiated key-exchange algorithm and the accepted authentication key; GitHub’s public key list offers another way to inspect registered keys. The recommended goal is hybrid post-quantum key exchange, since neither OpenSSH 10.6 nor GitHub provides a purely post-quantum option.

For GitHub, the suggested exchange algorithms are mlkem768x25519-sha256 and sntrup761x25519-sha512, configured for the github.com host in ~/.ssh/config. For authentication, GitHub has no post-quantum key option, so the guidance recommends replacing Ed25519 with ECDSA-384 or RSA-3072 or stronger. It walks through generating and registering a new key, ensuring SSH uses it rather than older keys, and updating SSH signing settings if the user relies on verified commits. Finally, it advises closing persistent SSH connections and refreshing the agent, then provides a check that confirms both the negotiated exchange algorithm and the accepted key type and size.

Read on bauer.codes26 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.