r/Bitwarden • • 3d ago

Solved does bitwarden.com support post-quantum key exchange with TLS 1.3

Recent news heightens the speculation that at some point in the near future, one or more of the asymmetric encryption schemes may be broken by AI. Even if the particular anthropic item in the news is mostly a nothingburger (which is what I heard it relates to certain lattice pqc algorithms but only if they assume an unrealistic ridiculously-high key size), the unprecedented strides in math progress by AI make it seem a plausible threat (that ai could find some shortcut for prime factorization to break RSA or for the discrete logirthm problem to break ECC).

To my thinking, PQC algorithms provide a degree of robustness against this scenario merely because they rely on multiple diverse cyryptography problems in series [edit I'm assuming hybrid implementation which is the way these are always discussed]. So in view of a potential new AI threat to asymmetric encryption, it makes sense to consider accelerating PQC adoption [edit: hybrid of course]. Bitwarden uses asymmetric encryption in organizations and emergency contacts which is not yet pq, but that may be at least protected in transit by TLS, since widely-used TLS 1.3 allows post-quantum key exchange on sites which support that feature. My question: does bitwarden.com support post-quantum key exchange on TLS 1.3?

I could not find any info about this for bitwarden. I did see the following for another pwm

27 Upvotes

21 comments sorted by

17

u/throwaway234f32423df 3d ago

https://www.ssllabs.com/ssltest/analyze.html?d=bitwarden.com&s=151.101.1.91

https://www.ssllabs.com/ssltest/analyze.html?d=vault.bitwarden.com&s=151.101.73.91

bitwarden.com and vault.bitwarden.com both have X25519MLKEM768, if there are any other subdomains you're concerned about check them yourself

5

u/Normal_Market7664 3d ago

good to know X25519MLKEM768 is already active on the vault subdomain.

1

u/t1thom 1d ago

As far as I am aware the app does not support x25519mlkem768 yet. The web client and site etc, yes.

0

u/Sweaty_Astronomer_47 3d ago edited 3d ago

Thanks. That's exactly what I was looking for... I didn't know it was so easy to look up. I might check out out some other important websites with that link to see how they're doing.

I did read that only about 20% of websites support pq key exchange presently, I'm glad bw is among them (which means web vault and extension are covered).

6

u/throwaway234f32423df 3d ago

Probably way more than 20% because any site behind Cloudflare has it enabled by default, and that's like 42% of the top 10K websites.

6

u/djasonpenney Volunteer Moderator 3d ago

Keep in mind that the choice of ciphersuite is determined by the TLS client, with subsequent agreement by the server. There is already some work for PQC ciphersuites in the source code.

https://github.com/bitwarden/agent-access/blob/512756278c41d19314b462ca978c40d29c51bd36/crates/ap-noise/README.md?plain=1#L14

2

u/Sweaty_Astronomer_47 3d ago edited 3d ago

Thanks, yes good point it requires both sides (server and client).

if the client were the web vault or the chrome extension, then those clients already support pq key exchange for their TLS connections. The mobile/desktop apps might need more

I added a link with the changes made by 1pass. The headline "no code change" made it sound easy, but I'm sure the devil is in the details.

1

u/Bernales-Soniia49 3d ago

good find, didnt realize they already had some of that in the repo.

2

u/Skipper3943 3d ago

I think the PQC code for asymmetric encryption has already been included for new users in 2026.11.0 (once it's rolled out).

Watch out for Quexten's comments including:

1

u/Sweaty_Astronomer_47 2d ago

Thanks! Those are helfpul links. I'll pay closer attention to the release notes.

2

u/Cley_Faye 3d ago

It's kinda funny, that you reference the recent hype and nothingburger that claims to have, maybe, in the future, broken what we currently hold as PQC algorithms, while also suggesting it increase the requirement to move toward even more PQC algorithms in case the same chungus quantum computer gets made.

2

u/Sweaty_Astronomer_47 3d ago

nothing burger is the initial characterization I heard, especially in contrast to the rumors leading up to it. Im sure we'll hear more.

I hope it's clear I was referring to the benefit of pqc implemented in a hybrid fashion with traditional cryptography. The benefit being combination of diverse algorithms so that one breakthrough would not compromise the whole thing

1

u/Cley_Faye 3d ago

On that I agree. I hope crypto applications will keep on the "prudent" path; it's not like we have to ditch existing algorithms if newer algorithms of the same class exists. And we got ample enough capability to do so.

1

u/a_cute_epic_axis 3d ago

the unprecedented strides in math progress by AI make it seem a plausible threat (that ai could find some shortcut for prime factorization to break RSA or for the discrete logirthm problem to break ECC).

I think it's a bold assumption to think that RSA/ECC has an error but so called PQC algorithms do not.

-1

u/Sweaty_Astronomer_47 3d ago edited 3d ago

That was not my assumption at all. I singled out those because they are currently in widespread use. The benefit of accelerating pqc is the hybrid algorithms (traditional and pq) so that one breakthrough doesn't compromise the whole thing

1

u/a_cute_epic_axis 3d ago

Once again, an assumption.

1

u/Sweaty_Astronomer_47 2d ago

What is the assumption you're complaining about: that pqc will be implemented in a hybrid fashion or that one breakthrough won't compromise the whole thing?

1

u/a_cute_epic_axis 2d ago

"The benefit of accelerating pqc is the hybrid algorithms (traditional and pq) so that one breakthrough doesn't compromise the whole thing"

You assume that AI will break existing cryptographic protocols like RSA, and that somehow it won't break PQC. There's no actual evidence to show either is happening, either way. Reveling in support for PQC to prevent AI from breaking things is a bit of a fool's errand.

To my thinking, PQC algorithms provide a degree of robustness against this scenario merely because they rely on multiple diverse cyryptography problems in series

"To my thinking" just means "assumption" so...

I'd be FAR more worried that an AI model would find that bitwarden or an underlying cryptographic library has a bug in their code that incorrectly implements things like cryptography than being worried that RSA/ECC globally has been rendered useless while also believing that the various PQC offerings remain intact.

1

u/Sweaty_Astronomer_47 2d ago edited 2d ago

"The benefit of accelerating pqc is the hybrid algorithms (traditional and pq) so that one breakthrough doesn't compromise the whole thing"

You assume that AI will break existing cryptographic protocols like RSA, and that somehow it won't break PQC. There's no actual evidence to show either is happening, either way. Reveling in support for PQC to prevent AI from breaking things is a bit of a fool's errand.

Once again, I didn't say it won't break PQC. The key aspect is hybrid, for example browsers now support X25519MLKEM768 where the X25519 is ECC and MLKEM768 is lattice-based. These are diverse cryptography schemes, and it's far less likely that both would be broken than that either one individually would be broken.

I'd be FAR more worried that an AI model would find that bitwarden or an underlying cryptographic library has a bug in their code that incorrectly implements things like cryptography than being worried that RSA/ECC globally has been rendered useless while also believing that the various PQC offerings remain intact.

I agree that threat is a real threat as proven by what we have seen going on for many months where AI algorithms have identified security vulnerabilities in software at a high rate. One need only look at the curves for things like the monthly security vulnerabilities patched by MS to see that is real. I know Bitwarden uses AI for pull requests but I'm not sure how much it is used to review their entire code base (do you have any insight?)

Personally the thought of AI cracking some types of asymmetric cryptography was never on my radar until the past few weeks. And it now seems a much more credible scenario than before, not because of the false alarm rumours about anthropic's papers, but because of the massive ai math prowess that has been demonstrated through a variety of recent papers like the Riemann hypothesis proof. Yes it is more a theoretical threat than ai-discovered code vulnerabilities which we see real evidence of, but it is a brand new threat (at least to me) that seems somewhat credible. And a potential mitigation against that new threat is to accelerate plans for pq hybrid cryptography implementation.

2

u/planedrop 3d ago

 it relates to certain lattice pqc algorithms but only if they assume an unrealistic ridiculously-high key size

It's not just this, it's also the fact that the quantum computer needed would require more qubits than atoms in the known universe lol, it's a complete nothingburger.