Jump to content
Not connected, Your IP: 216.73.217.179
Staff

RSA, elliptic curves and the recent claims of an AI breakthrough: where we stand

Recommended Posts

Caveat: in this whole thread the definition "post quantum" must be interpreted as originally meant by Daniel Bernstein in 2003. "Post-quantum" (and worse, "quantum-safe" or "quantum-proof") sounds as if the algorithm has been shown to resist quantum computers. It hasn't. It only means that under the fantasy assumption that a usable quantum computer for the purpose existed, no efficient quantum attack is known, as Shor's algorithm is for RSA and elliptic curves. The security is a conjecture, just like for any public-key scheme. That is why hybrid key exchanges are the cautious choice today.

Hello,

in the last weeks, posts on social media have claimed that an AI lab broke RSA-2048 and elliptic curve signatures (ECDSA). Some of you asked us about it in the General forum, and we answered there:
https://airvpn.org/forums/topic/82613-rsa-2048-ai-breakthrough/ 
Since not everybody reads that forum, we summarize here what the claims are worth and how they relate to our service.

The facts. Nobody has published the factors of an RSA-2048 modulus, a new factoring algorithm or any verifiable result, and no AI lab has released a paper or a statement claiming such a break. Cryptographers who looked into the rumors found nothing behind them. The largest RSA challenge number factored in public is RSA-896, in September 2026. With the best known algorithm, factoring a 2048 bit modulus takes tens of billions of times more work than that.

The panic that seems to be spreading is, in our opinion, essentially a mix of FUD (fear, uncertainty and doubt) and a lack of mathematical background. The security of RSA does not depend on how much computing power somebody can throw at it, which an AI could suddenly multiply: breaking RSA-2048 would require a new mathematical result, and such a result would be published, checked and verified, not whispered on a social network. The same rumors, by the way, also claim that elliptic curve cryptography is broken and even that somebody has privately proven P=NP. (*)

RSA 4096, which we use for our web site certificate and for OpenVPN, is absolutely not in question at the moment. It is also above the 3072 bit minimum that NSA requires in its CNSA suite for national security systems. Moreover, both the web site and OpenVPN negotiate ephemeral session keys (Perfect Forward Secrecy), so even a hypothetical future break of a certificate key would not decrypt past traffic.

That elliptic curve cryptography has limits is not news either: as early as 2015-2016 NSA dropped the P-256 curve from its recommended algorithms and stated that elliptic curve cryptography is not the long-term solution many once hoped it would be, in view of future quantum computers.

WireGuard does not use RSA: its key exchange is based on X25519, an elliptic curve. We are not particularly worried about it either, thanks to pre-shared keys. Every WireGuard key we generate for your devices comes with its own pre-shared key: 256 random bits, different for each device, included in the configuration files generated by our Config Generator and used by Eddie and the AirVPN Suite. WireGuard mixes the pre-shared key into the handshake after the elliptic curve exchanges, and the session keys that encrypt your traffic are derived from both. So even an attacker able to break every X25519 exchange would still not know the pre-shared key: they could not derive the session keys, and they could not complete a handshake by impersonating you or our server.

The pre-shared key relies only on symmetric cryptography (BLAKE2s and ChaCha20-Poly1305 with 256 bit keys), which is not touched by the alleged attacks on RSA or elliptic curves. It is also the kind of cryptography that best withstands quantum computers: a 256 bit key keeps about 128 bits of security even against Grover's algorithm. Not by chance, it is the interim measure that WireGuard's author, Jason Donenfeld, pointed to a few days ago, while announcing early work on a post-quantum WireGuard v2.

Eddie and the AirVPN Suite receive the pre-shared key from our servers through a channel protected by RSA 4096, with no elliptic curve involved.

OpenVPN is a different case: its TLS key exchange can use X25519, depending on the client. If the weakness of 256-bit curves is demonstrated, we plan to remove X25519 and P-256 from the key exchange of our OpenVPN servers, in favour of P-384, P-521 and hybrid post-quantum exchanges for the clients that support them.

In short: there is no evidence of any break, RSA 4096 is not in question, and WireGuard traffic stays protected by the pre-shared keys even in the hypothesis of a break of elliptic curves. We follow the developments of post-quantum cryptography, WireGuard v2 included, and we will keep you informed. You are welcome to discuss in the General forum thread linked above.

Kind regards & datalove
AirVPN Staff

(*) The claim that somebody has privately proven P=NP deserves a word. P versus NP has been open since 1971 and is one of the seven Millennium Prize Problems of the Clay Mathematics Institute, with a one million dollar prize. Most complexity theorists believe that P is different from NP (about 88% in William Gasarch's 2019 poll). Even a proof of P=NP would not necessarily break RSA in practice: it could give no usable algorithm, or one with exponents and constants so large as to be useless. Conversely, a proof that P is different from NP would not prove RSA secure either, because factoring is not believed to be NP-complete. Whoever held such a proof would have every reason to publish it, since it would be the most important result in the history of computer science, checkable by anyone. A "private proof" circulating as a rumor is, by definition, not a proof.

Share this post


Link to post

The issue is how you distribute the wg preshared key to users. Right now you are distributing it through your website which uses EC cryptography so it kinda invalidates the pre-shared key.

Share this post


Link to post
9 hours ago, trekkie.forever said:

The issue is how you distribute the wg preshared key to users. Right now you are distributing it through your website which uses EC cryptography so it kinda invalidates the pre-shared key.


Hello,

please read the post before replying to it. The post says it plainly: Eddie and the AirVPN Suite receive the pre-shared key through a channel protected by RSA 4096, with no elliptic curve involved. Your comment does not even address that case.

Your claim about the web site is also inaccurate. Its certificate is RSA 4096, not elliptic curve. What uses an elliptic curve is the ephemeral key exchange of TLS (ECDHE, on NIST curves), the same mechanism that gives Perfect Forward Secrecy. So yes, a configuration file downloaded from the Config Generator with a browser such as Firefox or Chrome, which disabled DHE-RSA, travels over a channel whose session key comes from an elliptic curve exchange. That is precisely why we claimed the RSA-only channel for Eddie and the Suite and not for the Config Generator.

"Kinda invalidates" is another matter, and it is simply wrong. To exploit that, an attacker must have recorded that specific HTTPS download, which happens once per device, and must then break that elliptic curve exchange, which is exactly the thing for which there is not a shred of evidence. You take an unfounded rumor as your premise and conclude that our protection is void: that is a circular argument. And if somebody really could break all elliptic curve key exchanges, the pre-shared key would be the least of anybody's problems. The same file contains your WireGuard private key, and the same attacker would read your bank sessions, your e-mail and most of the HTTPS traffic on the planet.

However, with every current browser the key exchange uses the P-384 or P-521 curves, the ones the NSA advisory approves, or a classic Diffie-Hellman exchange with a 4096 bit group, and therefore the transmission of the WireGuard pre-shared keys from the Config Generator is effectively protected as well.

The pre-shared key is designed for a different and far more realistic adversary: one who records your WireGuard traffic, in a datacenter or at your ISP, without having captured the download, and hopes to break X25519 later. Against that adversary it does its job, whatever way the file reached you.

If you want elliptic curves out of the picture entirely, use Eddie or the AirVPN Suite, which is what we recommend anyway. Our web site also accepts TLS 1.2 with a classic Diffie-Hellman exchange (DHE-RSA, 4096 bit group), but mainstream browsers no longer offer it by default, and it would help only if every session on our web site, login included, used it: a password captured from an elliptic curve session would let an attacker download your configuration anyway.

Kind regards

Share this post


Link to post

Hello,

an update on the two documents published by the US government on 1 and 2 December, which some readers have taken as confirmation that elliptic curves are broken.

The joint statement of the Office of the National Cyber Director, NSA and CISA (2 December) says that American AI companies "have disclosed discoveries that impact the security of some cryptography currently in use", and that the current assessment is that these advances "do not present an immediate and widespread threat to that cryptography". It names no algorithm, no company and no result.
https://www.whitehouse.gov/wp-content/uploads/2026/12/Encryption-Statement.pdf

The NSA advisory "Immediate Actions to Push Toward Post-Quantum" (PP-26-4956) is a list of migration steps. It asks organizations to inventory the algorithms not approved in CNSA, "elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA" among them: the same exclusion NSA has applied since 2016, mentioned in our first post. It describes no attack on any curve.
https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF 

The same advisory does not question RSA either. It still accepts RSA 2048 where legacy support requires it, while it recommends RSA 3072 as the base size. We use RSA 4096.

As for our web site, the certificate is RSA 4096. With every current browser the key exchange uses the P-384 or P-521 curves, the ones the NSA advisory approves, or a classic Diffie-Hellman exchange with a 4096 bit group, and therefore the transmission of the WireGuard pre-shared keys from the Config Generator is effectively protected as well. X25519 is not offered at all. The intermediate certificate of Let's Encrypt, our certification authority, is RSA 2048: it is accepted by the advisory, and it only authenticates the server, it does not protect the confidentiality of your traffic.

Readings according to which X25519 or Ed25519 are broken are incautious inferences from the wording of these documents as no attack has been published. Nothing changes for our service, except a possible revision of OpenVPN Control Channel (see the first message on this thread), since our RSA 4096 is above the size NSA recommends, and WireGuard traffic stays protected by the pre-shared keys, as explained above.

Kind regards & datalove
AirVPN Staff

Share this post


Link to post

Hello,

the first step of the post-quantum transition we announced in the General forum is done: since today, 4 December 2026, our web site, Config Generator included, supports the hybrid post-quantum key exchange X25519MLKEM768.

X25519MLKEM768, defined in RFC 10024, combines the X25519 elliptic curve exchange with ML-KEM-768, the post-quantum key encapsulation mechanism standardized by NIST in FIPS 203. The session key is derived from both, so it stays secret as long as either of them holds: a future quantum computer able to break X25519 would still have to break ML-KEM-768.

The climate of collective hysteria of the last few days made us move faster than we had planned, and at the current state of things this step is superfluous, since the quantum computer it protects against does not exist and will not exist for several years to come. However, ML-KEM-768 has passed severe tests: about nine years of public cryptanalysis since its submission to NIST's standardization process in 2017, the same process in which SIKE and Rainbow fell, and no attack on the algorithm at its standard parameters. So we could switch it on with peace of mind.

What changes for you:

  • Current versions of Chrome, Edge, Firefox, Safari and most probably any modern browser negotiate X25519MLKEM768 with our web site by default.
  • SecP384r1MLKEM1024 (P-384 combined with ML-KEM-1024) is also available, for clients that prefer it.
  • Clients without post-quantum support keep a classical exchange, with P-521 and P-384 preferred, curves that at the moment not even the conspiracy theorists question, let alone the NSA advisory, which explicitly approves them, or NIST, which keeps them approved until its post-quantum deadlines (2030-2035). No client was lost: before extending the change to all our web servers, we tested it on two of them with real browsers and the SSL Labs handshake simulation.
  • In our previous posts we wrote that X25519 is not offered at all. It is still not offered alone: it now appears only inside the hybrid.
  • The WireGuard pre-shared keys you download from the Config Generator with such a browser now travel over a post-quantum key exchange. If you want to replace the keys you downloaded in the past, open the Client Area, Devices page, select the device and press "Renew": the device gets new OpenVPN and WireGuard keys, pre-shared key included, and new WireGuard addresses. Its old configuration files stop working, so generate the new ones and replace them on every system that uses that device.
Next steps, as announced: the channel through which Eddie and the AirVPN Suite receive their keys, today protected by RSA 4096, which will have to be abandoned in 2035 at the latest. For WireGuard itself we follow upstream (WireGuard v2); until then the pre-shared keys remain the interim measure. We will act in step with the official releases of the open source projects we rely on, and we will announce each step.

Kind regards & datalove
AirVPN Staff
 
Screenshot_20261204_190934.thumb.png.ba5a9073a455311d278721cdf7c2785d.png

Share this post


Link to post

Hello,

a further step in the post-quantum transition: OpenVPN connections to our servers already use the hybrid post-quantum key exchange X25519MLKEM768, whenever the client supports it.

X25519MLKEM768 is the same hybrid exchange our web site has supported since 4 December: the session key is derived from both X25519 and ML-KEM-768 (FIPS 203), so it stays secret as long as either of them holds. This protects against a future quantum computer, and also against a hypothetical classical attack on X25519, the scenario at the center of the hysteria of these days.

What it means for you:

  • Since late 2025 all of our VPN servers have run OpenVPN with post-quantum support and negotiate X25519MLKEM768 with every client that supports it.
  • The keys of the data channel, the one that carries your traffic, are derived from this TLS session, so the hybrid exchange protects your traffic, not only the connection setup.
 
System and software details on your side 
  • Eddie Windows edition supports X25519MLKEM768 if you run it in OpenVPN mode, with no change to your configuration.
  • Eddie Linux edition: the portable package includes OpenVPN with OpenSSL 3.6 and negotiates X25519MLKEM768 on any distribution; the .deb, .rpm and Arch packages use the OpenVPN of your system, so they negotiate it when your distribution's OpenVPN uses OpenSSL 3.5 or later, for example Debian 13.
  • AirVPN Suite: the legacy builds include OpenSSL 3.5 and negotiate it on any system; the other builds use the OpenSSL of your system, so they negotiate it when the system has OpenSSL 3.5 or later, for example Debian 13.
  • Eddie Android edition includes OpenSSL 3.6 and negotiates X25519MLKEM768 (if used in OpenVPN mode) on every Android version it supports.
  • If your system has an OpenSSL older than 3.5, OpenVPN keeps a classical exchange. In that case you can count on WireGuard: its pre-shared keys keep your traffic safe even if your next-door neighbor attacks you with their latest quantum computer.
  • Our commitment stays: if the weakness of 256-bit curves is demonstrated, we will remove X25519 and P-256 from the key exchange of our OpenVPN servers.
  • Note: keep your software up to date. The above statements related to our software may not apply to obsolete versions.

For WireGuard nothing changes: the pre-shared keys remain the robust protection against quantum computers (if they existed capable of factoring a number a bit larger than 21 (*)) or against holes in X25519 until WireGuard v2.

Kind regards & datalove
AirVPN Staff

(*) Seriously: 21 is the largest number ever factored with Shor's algorithm, the quantum algorithm that threatens RSA and elliptic curves, and even that result relied on shortcuts. Breaking RSA-2048 or X25519 would take a machine various orders of magnitude larger than any built so far.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...