discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.

Python Now Has a Post-Quantum Encryption Library

Python's pyca/cryptography library now supports ML-KEM and ML-DSA, the NIST-standard post-quantum key-establishment and digital-signature primitives, available via pip.

By Bruce Schneier·Aug 10·schneier.com·2 min read

Intelligence analysis by Llama

Python Now Has a Post-Quantum Encryption Library
Image: schneier.com

Post-quantum cryptography is now one pip-install away for the entire Python ecosystem, with ML-KEM and ML-DSA added to pyca/cryptography, funded by the Sovereign Tech Agency.

Why it matters

It dramatically lowers the barrier for developers to integrate post-quantum cryptography, giving organizations runway to become crypto-agile before quantum threats to current asymmetric encryption become urgent.

Today, computers protect secrets using math puzzles that future super-powerful quantum computers might solve. Python now has brand-new puzzle tools that even quantum computers can't crack, so coders can start using them right away.

Analysis

Sovereign Tech Agency

The addition of post-quantum primitives to pyca/cryptography was funded by the Sovereign Tech Agency, according to the post. The Sovereign Tech Agency is a German federal entity that invests in the maintenance and security of critical open-source infrastructure, and its backing of this work signals that governments now view post-quantum readiness as a matter of public-infrastructure resilience rather than a niche academic concern. By underwriting the implementation in a widely used general-purpose cryptographic library, the agency is effectively subsidizing the upgrade path for thousands of downstream Python applications, web services, and DevOps tooling that depend on pyca/cryptography without their maintainers having to budget for the migration themselves.

ML-KEM and ML-DSA

The two algorithms added to the library are ML-KEM, the NIST-standard key-establishment primitive, and ML-DSA, the NIST-standard digital-signature primitive. Together they cover the two main jobs that asymmetric cryptography performs in modern systems: agreeing on a shared secret across an untrusted channel, and proving the authenticity of a message or identity. ML-KEM replaces the role currently filled by RSA or elliptic-curve Diffie-Hellman key exchange, while ML-DSA replaces RSA or ECDSA signatures. Both have been standardized by NIST after a multi-year international competition, which means they are not experimental drafts but vetted, peer-reviewed algorithms with reference implementations already deployed in major browsers, TLS libraries, and operating systems.

Crypto Agility

Schneier emphasizes that the point of doing this work now is to let systems become "crypto agile," a term for designing software so the underlying primitives can be swapped without rewriting the application. As one commenter in the thread notes, symmetric algorithms like AES-256 are not meaningfully threatened by quantum algorithms because Grover's algorithm offers only a quadratic speedup that is too slow to be useful. The real exposure is in asymmetric primitives such as RSA, which Shor's algorithm can break in polynomial time on a sufficiently large quantum computer. Building agility into the Python ecosystem now, while there is no emergency, means that when quantum machines capable of breaking RSA do arrive, organizations can rotate algorithms as a routine software update rather than as a panicked migration.

Key points

  • ML-KEM and ML-DSA, the NIST-standard post-quantum key-establishment and digital-signature primitives, have been added to pyca/cryptography
  • The work was funded by the Sovereign Tech Agency
  • The primitives are available to the entire Python ecosystem via pip install
  • Schneier frames the change as a chance to make systems crypto agile while there is no emergency
  • Post-quantum addresses asymmetric algorithms such as RSA, not symmetric ciphers like AES-256
The Upside

Wider availability of post-quantum primitives in pyca/cryptography lets Python-based services begin integrating ML-KEM and ML-DSA in low-risk pilot deployments, building operational experience before quantum threats materialize. Gradual adoption across the Python ecosystem could set a template for other language ecosystems and accelerate the broader transition to crypto-agile systems.

The Downside

Adoption remains voluntary, and a slow rollout could leave many production systems still reliant on RSA-style key exchange and signatures when cryptographically relevant quantum computers eventually arrive. Legacy codebases and non-Python services will not benefit from this work at all, and the value of crypto agility only materializes if developers actually redesign their systems to swap primitives rather than treating post-quantum as a drop-in.

Originally reported at

schneier.com

Discernion covers the story. Read the full piece at the source.

Tagscryptographyencryptionopen-sourcesecuritypythonquantum-computing

Author

Bruce Schneier

Intelligence analysis by

Llama

Published

Aug 10, 2026

Source

schneier.com

Share

Topics

cryptographyencryptionopen-sourcesecuritypythonquantum-computing

Related

More from this desk

Aug 10·bleepingcomputer.com

CISA Warns of Critical Progress LoadMaster Flaw Exploited in Attacks

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) warned that hackers are exploiting a critical-severity Progress Kemp LoadMaster command injection vulnerability. Kemp LoadMaster is a popular Application Delivery Controller (ADC) and server load balancer us…

Aug 10·thehackernews.com

Solidity Pro VS Code Extensions Steal Crypto Wallets, API Keys, and Credentials

Cybersecurity researchers have flagged a malicious Microsoft Visual Studio Code (VS Code) extension named Solidity Pro that has been observed delivering a browser wallet and credential stealer.

Aug 10·thehackernews.com

OpenAI's Next AI Model Astra Shows Cyber Performance Strong Enough to Trigger Pause

OpenAI is pausing internal activities involving its upcoming model Astra after evaluations suggested it could reach 'Critical' cyber capability under its Preparedness Framework, including autonomous zero-day exploit discovery.

Aug 8·bleepingcomputer.com

Hackers Exploit TrueConf Servers to Deploy Malicious Backdoors

Head Mare hackers exploit TrueConf servers to inject malicious client installers with backdoors, compromising Russian organizations in various sectors.