[](https://devin.ai/blog)

# How Cognition is preparing for the cryptographic future

Alex StamosDecember 3, 20266 min read

![How Cognition is preparing for the cryptographic future](https://devin.ai/images/blog/preparing-for-the-cryptographic-future/cover.png)

_Alex Stamos, Chief Security Officer_

This week has brought significant news about the security of the cryptographic systems that protect everything we do online. I want to update you on what we know, what we are doing to protect ourselves at Cognition, what we are doing to protect customers, and what we recommend individuals do for themselves.

## What’s happening

- **This is real.** After several weeks of rumors and speculation, including [papers Anthropic published Monday](https://github.com/anthropics/formal-math/blob/main/lattices/README.md) on theoretical cryptographic findings that don’t apply to deployed systems, the NSA [advised](https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/) owners of national security systems to “immediately accelerate” their transition to post-quantum cryptography, citing discoveries (plural) disclosed by frontier AI companies (also plural) that affect some cryptographic systems in use today.
- **The NSA has strongly hinted at the breakthroughs.** [The advisory](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF) asks operators to inventory their algorithms and move to a minimum of the [CNSA 1.0](https://media.defense.gov/2021/Sep/27/2002862527/-1/-1/0/CNSS%20WORKSHEET.PDF) suite, a list of classic cryptographic algorithms that were approved by the NSA for encrypting Top Secret data back in 2015. The NSA really wants government agencies and vendors to use [CNSA 2.0](https://media.defense.gov/2025/May/30/2003728741/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS.PDF), algorithms designed to be secure against quantum computers and that, apparently, are secure against these latest AI mathematical breakthroughs.
- **So what’s broken?** A close read of the NSA’s warning, as well as discussions among various cryptography experts, indicates that the weaknesses are likely clustered in traditional Diffie-Hellman (DH) and Elliptic Curve Diffie-Hellman (ECDH), algorithms used in the handshake between two computers to establish a shared key, which can then be used for the rest of the conversation. NSA also wants you to stop using DSA, a signing algorithm, and is strongly hinting that 256-bit key lengths of elliptic curve (ECC) signing and encryption algorithms are no longer safe. This would include the widely used P-256 and Ed25519 algorithms.
- **What on the spacecraft works?** Fortunately, it looks like symmetric block ciphers, such as AES-256, are fine. This isn’t surprising, as such ciphers aren’t based upon the same kind of mathematical trickery as ECC or RSA. The NSA announcement and other information we’ve heard also indicates that RSA signing and encryption with large keys, namely ≥ 3072 bits, is still safe to use, as well as ECC P-384.
- **Why act now?** In their [joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities), the agencies say they see no “immediate and widespread threat”, but adversaries are already collecting encrypted traffic and at the pace AI models are improving it seems likely these will not be the only breakthroughs in this space. Upgrading a connection next year won’t protect the data someone recorded today.
- **So why not just fix everything overnight?** Unfortunately, it’s not that simple. The new algorithms the NSA recommends, called ML-KEM and ML-DSA (enough acronyms yet?), need to use huge keys and signatures compared to our old algorithms, often ten to twenty times the size. This makes it really hard to just drop these algorithms into long-existing standards like TLS, web certificates, cookies, or VPN handshakes. Also, by definition, when you are encrypting data you are often doing so to talk to somebody else, so upgrading encryption means upgrading the entire ecosystem of software, cloud providers, certificate authorities, libraries, CDNs, browsers, operating systems and the like. It’s a big problem, but now that there is a likely threat we expect that this transition will massively accelerate.

## What Cognition is doing

Even before these announcements, Cognition was preparing for the transition to post-quantum cryptography. We are implementing post-quantum cryptography wherever feasible, and implementing mitigations recommended by the NSA when not. In particular:

- **Transport security:** we will support TLS 1.3 with hybrid key exchange today on all our public endpoints, such as [app.devin.ai](https://app.devin.ai/). This means when you connect to Devin using a modern browser the encryption combines classical and post-quantum algorithms in the initial handshake. This secures any data recorded by adversaries against future decryption. We will be removing support for TLS 1.2 in the coming days; we are currently reaching out to enterprise customers whose clients connect to us using clients that cannot support post-quantum cryptography so they can upgrade to protect themselves, not just for their connections to Devin but for all their critical work.
- **Certificates:** The ML-DSA key size issue means it’s not possible to buy and deploy ML-DSA certificates currently, but we are working with our cloud providers to do so as soon as they are available. We are rolling out P-384 certificates and will provision certificates on the most secure RSA-4096 certificate authorities as soon as our cloud edge provider makes them available.
- **Single sign-on:** we are implementing support for ML-DSA as a signing option in our OIDC single sign-on provider. Upgrading the single sign-on ecosystem will be a complicated process and we are engaging with the largest providers of these services to understand their roadmap to being able to integrate with any post-quantum options we provide.
- **Other services:** post-quantum cryptography is not yet available in every service we use. We’re deploying it where we can. Where we can’t, we’re moving to stronger classical keys, such as RSA-4096, in line with NSA guidance. This will buy us time as cloud services, libraries, standards and the overall ecosystem are upgraded to support this massive transition to new algorithms.

## What we recommend for enterprise customers

- **Transport encryption:** Enable hybrid key exchange in TLS 1.3 where both ends support it. Test disabling TLS 1.2 and do so where possible. Prepare for certificate changes in parallel. Update the software that issues and renews your web certificates, and test rotation before you need it. In your private certificate infrastructure, move to ML-DSA where supported. For roots that can’t move yet, the NSA names RSA-3072 or P-384 as interim choices.
- **Check your VPNs:** The NSA explicitly recommends disabling IKE groups 22-24; you should also disable group 19 per their P-256 recommendation. Customers with VPN connections to Devin will be hearing from their technical contacts in the coming days if changes to our VPN configuration will impact them.
- **Code changes:** Scanning and changing millions of lines of code to reference new libraries and algorithms is going to be prohibitively expensive to do by hand. The Devin Security product has a new [Threat listing](https://app.devin.ai/security/threats?threat=gthreat-2b309de197fb4769b7d81580e4c02b29) that will do so automatically, both in your code and your infrastructure-as-code.
- **Single sign-on:** We also recommend that all customers using SSO with Cognition move from SAML to OIDC now, so they are ready to adopt the post-quantum option when it is available. This is also a good time to audit your other SSO connections, as SAML does not support a PQC option.

## What should individuals do?

To quote the cover of my favorite book: DON’T PANIC. The truth is that the risk profile for normal folks hasn’t changed; the way individuals will get hacked is still the same as last week. It’s because they use the same password everywhere and it will get stolen via a breach or phishing. Use a password manager. Use passkeys. Be careful what you click on and where you log in.

The next six months will be demanding for security and engineering teams. Some services may experience brief disruptions over the coming months as the industry upgrades, which is an expected part of the process. However, the path forward is clear: the replacement algorithms are standardized, much of the industry has already begun adopting them, and AI makes it possible to complete this transition far faster than past migrations.

Cognition is determined to be part of the solution. We will update this post as we know more. Happy Holidays.

Table of contents

[What’s happening](#whats-happening)[What Cognition is doing](#what-cognition-is-doing)[What we recommend for enterprise customers](#what-we-recommend-for-enterprise-customers)[What should individuals do?](#what-should-individuals-do)
