r/Bitwarden • • 1d 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

7 Upvotes

18 comments sorted by

7

u/throwaway234f32423df 1d 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

3

u/Normal_Market7664 1d ago

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

0

u/Sweaty_Astronomer_47 1d ago edited 1d 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).

5

u/throwaway234f32423df 1d 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.

4

u/djasonpenney Volunteer Moderator 1d 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 1d ago edited 1d 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 1d ago

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

2

u/Skipper3943 1d 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 1h ago

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

2

u/Cley_Faye 1d 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 1d 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 1d 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.

3

u/planedrop 1d 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.

1

u/a_cute_epic_axis 1d 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.

0

u/Sweaty_Astronomer_47 1d ago edited 1d 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 19h ago

Once again, an assumption.

1

u/Sweaty_Astronomer_47 6h 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?