After the NSA's Advisory, OpenSSH Already Warns on Classical Key Exchange and WireGuard's Author Says Add a 256-Bit Key
Security / explainer
After the NSA's Advisory, OpenSSH Already Warns on Classical Key Exchange and WireGuard's Author Says Add a 256-Bit Key
OpenSSH has defaulted to hybrid post-quantum exchange since 9.0 in April 2022; Jason Donenfeld's December 2 message sets out two interim WireGuard measures and a future v2.

Anyone running OpenSSH 10.1 or later has already seen the warning the NSA is now asking national security system owners to act on: "** WARNING: connection is not using a post-quantum key exchange algorithm." On December 2 at 21:05 UTC, WireGuard's author, Jason A. Donenfeld, cited the NSA's new advisory on the project's mailing list and set out what WireGuard users can do today. The answer is a 256-bit pre-shared key.
The NSA press release itself could not be loaded for this report; its wording here comes from The Register and Breaking Defense, which agree on the substance.
What the NSA said
The advisory urges owners, operators and vendors of National Security Systems to accelerate the move to post-quantum cryptography. The Register lists its steps as prioritising the Commercial National Security Algorithm Suite 2.0 (CNSA 2.0), identifying quantum-vulnerable cryptographic dependencies and establishing modernization plans.
Breaking Defense quotes the NSA saying adversaries "are already collecting encrypted information to decrypt once the capabilities become available." It reports that new acquisitions must meet CNSA 2.0 starting in 2027, that agencies had until 2030 to retire legacy systems, and that the timeline now looks accelerated. The UK's National Cyber Security Centre kept its own date of January 1, 2031 for top-priority migration.

The trigger is not a quantum computer. The Register reports the advisory ties its urgency to AI advances, and a joint NSA, Office of the National Cyber Director and CISA statement says recent AI advances "do not present an immediate and widespread threat" to cryptography. The site's report on Anthropic's lattice papers covers the research behind that context.
What OpenSSH already does
The OpenSSH post-quantum page and its release notes give the sequence:
| Release | Date | Change |
|---|---|---|
| 9.0 | April 2022 | sntrup761x25519-sha512 becomes the default |
| 9.9 | not stated | adds mlkem768x25519-sha256 |
| 10.0 | April 2025 | mlkem768x25519-sha256 becomes the default |
| 10.1 | 2025-10-06 | client warns on a non-post-quantum key exchange; WarnWeakCrypto option, on by default |
| 10.6 | 2026-10-06 | sshd gains WarnWeakCrypto, logging clients that negotiate a non-post-quantum exchange |
Both algorithms are hybrids with x25519, so a flaw in the post-quantum half leaves the connection no weaker than x25519 alone. The page's reason for acting now is "store now, decrypt later": recorded sessions could be decrypted once a quantum computer exists, which it puts at 5 to 20 years away, with many expecting the mid-2030s.
The practical instruction is to upgrade the server to 9.9 or later, check that KexAlgorithms does not disable the hybrids, and silence the warning per host with Match host and WarnWeakCrypto no-pq-kex only where upgrading is impossible.
What WireGuard offers
Donenfeld's message names two interim measures. The first is a 256-bit pre-shared key exchanged over a secure offline channel, so that security rests on breaking a 256-bit ChaCha20 key and not on any asymmetric primitive. He calls it a good option now. The second, for peers that cannot share a key offline, is to run one or more post-quantum key exchanges through an established WireGuard tunnel and put the result in the PSK slot. He says some VPN providers already do this.

The longer fix is "WireGuard v2." The protocol uses versioned crypto, so the version can be incremented when primitives change, and Donenfeld says the project is investigating an update. He adds that the protocol will not be designed on the mailing list, and that building an elegant protocol from current post-quantum primitives is hard because elliptic curves had an "ergonomic sweet spot" they lack. The message names no algorithm and no release date.
What to do this week
OpenSSH users should read their client warnings, not mute them. WireGuard users with an offline channel can add a PSK per peer today. Nothing in either source says the traffic is being decrypted now; the argument is about recordings made today. The site's report on Atproto Spaces is a reminder that "private" and "encrypted" are not the same claim.
Sources
More in Security
- 01OpenSSH's SSHole, CVE-2026-123158, Scores 8.1 or 9.8 Depending on Who Is Asked, and Was Exploited Within 40 HoursOnly sshd on musl Linux without PAM is exposed; 10.6p2 fixes it, and GreyNoise logged a successful attack 40 hours after the release.
- 02Puppet's CVE-2026-115731 Is in CISA's Exploited List, and Autosign Removes the Credential It NeedsAny CA-signed agent certificate runs code on Puppet Server; with autosign on, an unauthenticated attacker can get one, and the same account can reach the CA signing key.
- 03Claude-BugHunter Has 32,548 Stars in Seven Months, a Mock-Up Demo and an Open Dashboard FixThe Claude Code bug-bounty bundle carries 85 skills and sends users to Anthropic's verification programme, whose red-team tier excluded individual researchers as of October 7.
- 0419 Fake Meta Ads Manager Apps Cleared App Review in 12 Days, and Two Bought Apple's Top Search Ad, a Researcher SaysHussein Saleh's Dec. 1 post says the apps show a notepad-style decoy to reviewers, then switch to a Facebook login that lets the app read session cookies.