# Is Cryptography Collapsing? NSA's PQC Alert, RSA/ECC Panic, and What Engineers Need to Upgrade

LLMS index: [llms.txt](/en/llms.txt)

---

Is modern cryptography collapsing?

The mood across tech and security circles over the past forty-eight hours has been tense. First, on December 2, the U.S. National Security Agency (NSA) issued an unusually blunt press release alongside a cybersecurity advisory, *[Immediate Actions to Push Toward Post-Quantum](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF)* (`PP-26-4956`), urging National Security Systems (NSS) owners, operators, and vendors to "immediately accelerate" their migration to post-quantum cryptography (PQC).

That same day, the White House Office of the National Cyber Director (ONCD), the NSA, and CISA took the rare step of issuing a [three-agency joint statement](https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662453/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and/). It disclosed that "frontier" SI models built by U.S. companies (yes, the official text literally spells out *Super Intelligence*) have solved complex, previously open problems in mathematics, and that American SI labs recently reported findings affecting the security of certain cryptographic systems currently in use:

> [!QUOTE] Excerpt from the ONCD, NSA, and CISA Joint Statement (2026-12-02)
>
> The latest generation of SI models—so-called "frontier" models—developed by U.S. companies has demonstrated the capability to solve some of the most complex and previously unsolved problems in the field of mathematics. These problem-solving capabilities have real implications for the digital security systems—often referred to as "cryptographic" systems—that secure our communications systems and other digital infrastructure.
>
> Recently, American SI companies have disclosed discoveries that impact the security of some cryptography currently in use. Our current assessment, in consultation with these technology companies, is that **recent SI advances do not present an immediate and widespread threat to that cryptography**. However, with the rapid evolution of SI and the tremendous capabilities being developed, it is incumbent upon industry and the government to work together to expeditiously upgrade our digital infrastructure and cybersecurity capabilities, with the interests of the American people front of mind.

Right on its heels, eight tech giants (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle) lined up behind a [two-sentence joint statement](https://openai.com/index/joint-statement-post-quantum-cryptography/) whose message boiled down to *stop hesitating and move to NIST post-quantum standards now*:

> We strongly support the guidance issued by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible. We are working to support organizations and governments in implementing this change across the internet.

Three days earlier, on November 30, when Anthropic released [four lattice cryptography papers](https://github.com/anthropics/formal-math/tree/main/lattices) and claimed the core results came from an unreleased Claude model, plenty of people shrugged it off as another round of AI-lab PR hype. After enough "boy who cried wolf" headlines, skepticism is the default reflex. Once eight major tech companies put their names on a joint warning, and Cloudflare CEO Matthew Prince started posting and replying on X on December 3, the tone changed completely.

> [!SOCIAL] Matthew Prince `@eastdakota`
>
> Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it's a big deal. No, we can't give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.
>
> > [!SOCIAL] Cloudflare `@Cloudflare`
> >
> > Joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, Oracle, and SpaceX on transition to post-quantum cryptography:
> >
> > We strongly support the guidance issued by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible...
> {date="2026-12-03"}
{avatar="avatar-eastdakota.webp" date="2026-12-03 11:25" url="https://x.com/eastdakota/status/2128329678633287903" platform="x"}

Someone asked him point-blank whether they had cracked the RSA-2048 encryption securing the internet. Prince replied with a chilling one-liner: **"There are things worse than that"** (a reply he [later deleted](https://officechai.com/ai/there-are-things-worse-than-cracking-rsa-2048-dont-underestimate-us-government-guidance-to-move-to-post-quantum-cryptography-cloudflare-ceo-matthew-prince/)). Minutes later, when a sysadmin pressed him on which systems were actually affected, he laid his cards on the table: **"Assume anything that uses RSA or Elliptic Curve cryptography."** He also made a point of clarifying that whatever Cloudflare had been briefed on was separate from Anthropic's lattice papers.

> [!SOCIAL] Matthew Prince `@eastdakota`
>
> There are things worse than that.
>
> > [!SOCIAL] Leo Mata `@ragelink`
> >
> > so y'all did crack RSA 2048?
> {avatar="avatar-ragelink.webp" date="2026-12-03"}
{avatar="avatar-eastdakota.webp" date="2026-12-03" platform="x"}

> [!SOCIAL] Matthew Prince `@eastdakota`
>
> Assume anything that uses RSA or Elliptic Curve cryptography.
>
> > [!SOCIAL] `@dwjorgeb`
> >
> > When will the rest of the mortals be briefed in what is happening? We also have systems to maintain, would be appreciated if we were told what is or isn't affected.
> {avatar="avatar-dwjorgeb.webp" date="2026-12-03"}
{avatar="avatar-eastdakota.webp" date="2026-12-03 11:41" platform="x"}

As veteran Chinese security researcher `tombkeeper` observed, crypto markets barely blinked when the NSA advisory first went out. Once Prince's posts hit X, the market went into a tailspin. Bitcoin broke below \$57,000 and kept sliding through December 3, [briefly dipping under \$53,000](https://www.coindesk.com/markets/2026/12/03/live-updates-bitcoin-nosedives-below-usd53-000-as-quantum-fears-grip-crypto) for a 24-hour drop of more than 10% and a two-year low. Ether, XRP, and other major tokens shed roughly 10% as well, wiping out over \$1.4 billion in leveraged positions across exchanges.

> [!SOCIAL] tombkeeper
>
> Someone in my group chat asked why BTC, ETH, and other cryptocurrencies didn't start dropping until well after the NSA advisory came out.
>
> Probably because BTC didn't sell off on the NSA advisory; it sold off on Matthew Prince's X post about it.
>
> Matthew Prince is the CEO of Cloudflare.
{avatar="avatar-tombkeeper.webp" date="2026-12-03" platform="weibo"}

Even Hunter Beast, the author of Bitcoin's post-quantum proposal (BIP-360), posted publicly that he had [sold part of his holdings](https://panews.io/articles/01a23a9f-0d26-7233-a765-43d497af59df) to hedge the downside, explaining that he pays his everyday living expenses in Bitcoin and couldn't stomach the volatility. Around the same time, four large on-chain transfers moved roughly 7,315 BTC (about \$428 million) onto Kraken and Coinbase Institutional, while four Satoshi-era wallets dormant for nearly 17 years woke up and moved 50 BTC apiece into newer address formats that don't expose raw public keys directly. The reasoning is easy to follow: both Bitcoin and Ethereum build their account models on `secp256k1` elliptic-curve signatures. If elliptic curves turn out to have a mathematical crack, any wallet that has ever exposed its public key on-chain is sitting there with the door unlocked.

As it happens, I majored in information security in college and took formal cryptography courses; working through integer factorization, discrete logarithms, and elliptic-curve group operations by hand leaves a lasting impression. Today, building open-source database distributions and infrastructure tools means dealing with TLS handshakes, key signing, certificate chains, and hash functions every day. Skipping both the fearmongering and the parlor-game speculation, let's walk through what actually happened from a pure systems-engineering perspective.

## What Actually Happened? {#what-happened}

Has modern cryptography collapsed? Not quite, though there is now a real chance that half of its foundation is cracking. Traditional banks shouldn't lose much sleep over this, whereas crypto exchanges have plenty to weigh carefully. Every generation of engineers gets its own Y2K bug, and we still have the Year 2038 rollover waiting down the road.

Start by separating confirmed facts from informed speculation. Right now, three facts are established:

1. **Anthropic's papers have nothing to do with RSA or ECC.** All four papers study lattice-based cryptography, the mathematical foundation beneath NIST's `ML-KEM` and `ML-DSA` post-quantum standards. The main paper introduces a quantum algorithm targeting *structured lattices*, whose asymptotic advantage only shows up at dimensions far beyond deployed parameter sets, posing no practical threat to current `ML-KEM` or `ML-DSA`. The other three papers actually reinforce confidence in unstructured lattices. In Anthropic's own phrasing, these results reduced its "long-term confidence" in structured lattices.
2. **The government statements name no specific algorithm or company.** The three-agency statement says only that the disclosures affect "some cryptography currently in use," paired with a clear assessment: these advances **"do not present an immediate and widespread threat."**
3. **Matthew Prince told operators to assume both RSA and ECC are affected**, while explicitly confirming that his briefing is unrelated to Anthropic's newly published lattice papers.

![Side-eyeing monkey puppet meme poking fun at advisories urging immediate migration away from ECC and RSA while reassuring everyone they are safe](pqc-safe-meme.webp)
{width="480" caption="“We strongly suggest you move away from ECC and RSA, but don't worry, they are safe”"}

The technical community's working theory comes straight from reading between the lines of the NSA advisory itself. Step one instructs operators to inventory non-CNSA-approved algorithms and names a very specific list: DSA, elliptic curves other than P-384 and P-521, EdDSA, outdated Diffie-Hellman groups, and pairing-based cryptography, while requiring transitional classical root keys to use at least RSA-3072 or P-384. From that scoping, Go standard library cryptography maintainer Filippo Valsorda inferred that 256-bit elliptic curves (`P-256` and `Curve25519` / `X25519` / `Ed25519`) [have likely been broken, or proved far weaker than assumed](https://venturebeat.com/security/nsa-cites-ai-discoveries-in-encryption-warning-as-a-cryptographer-says-the-threat-may-not-require-quantum-computers). And because there is zero sign of a sudden breakthrough in quantum hardware, the culprit looks much more like a classical mathematical shortcut, leaving larger classical parameters like `RSA-4096` and `P-384` able to hold the line for now.

Keep in mind that this remains a reasoned deduction from the advisory's phrasing, not a confirmed fact. For more than a decade, "post-quantum cryptography" meant preparing for fault-tolerant quantum computers sometime past 2030, when Shor's algorithm would break integer factorization (RSA) and elliptic-curve discrete logarithms (ECC). If this week's deduction holds up, the new variable arriving at the end of 2026 is more accurately called **post-AI cryptanalysis**: frontier models grinding away at open mathematical conjectures appear to have found classical algebraic shortcuts that narrow the security margins of legacy public-key schemes. Has the house collapsed? No. Its most widely used load-bearing column—256-bit elliptic curves—may have developed a crack, and the new lattice column replacing it just picked up a shallow theoretical scratch of its own.

Who takes the hardest hit? For traditional banks and standard internet services, TLS session keys are ephemeral, and certificates and private keys can be centrally rotated and revoked. Migration is tedious, yet the operational path is clear. Blockchains are different: once a public key hits the chain, it stays public forever, and changing signature schemes requires both consensus-rule upgrades and every user manually moving funds to new addresses. Crypto exchanges and holders of early wallets have much more to reckon with than conventional banks.

Why shouldn't engineers panic? Beyond the joint statement's assessment that there is no immediate, widespread threat, Prince followed up that afternoon with a much steadier post:

> [!SOCIAL] Matthew Prince `@eastdakota`
>
> The best advice right now is to follow the NSA guidelines and move to post-quantum cryptographic algorithms. We're not doomed, the researchers have been responsible and we have time before any potential techniques are released, but this is no longer a drill.
{avatar="avatar-eastdakota.webp" date="2026-12-03 14:52" url="https://x.com/eastdakota/status/2128381823898337691" platform="x"}

Even under the most extreme thought experiment—suppose RSA and elliptic curves fell completely tomorrow—only the *classical public-key* half of cryptography would give way. The other two pillars remain untouched:

- **Symmetric encryption and hash functions are immune**: `AES-256`, `ChaCha20`, `SHA-256`, `SHA-384`, `SHA-512`, HMAC-based message authentication, and PostgreSQL's `SCRAM-SHA-256` password authentication rely on neither integer factorization nor elliptic-curve algebra. Even against Grover's algorithm on a quantum computer, security strength drops at most by half. At 256-bit key lengths, they remain rock-solid.
- **Next-generation post-quantum (PQC) standards are already shipping**: Many people hear "post-quantum cryptography" and picture dedicated quantum communication hardware. It is nothing of the sort. NIST finalized its first three PQC standards back in August 2024: [FIPS 203 **ML-KEM**](https://csrc.nist.gov/pubs/fips/203/final) (key encapsulation/exchange), [FIPS 204 **ML-DSA**](https://csrc.nist.gov/pubs/fips/204/final) (digital signatures), and [FIPS 205 **SLH-DSA**](https://csrc.nist.gov/pubs/fips/205/final) (purely hash-based signatures). These are software algorithms running on ordinary x86 and ARM servers over existing TCP/IP stacks, and upgrading to them costs far less than most teams think. Given that lattice cryptography also took a theoretical nick this week, the soundest engineering posture is straightforward: use classical + post-quantum **hybrid** schemes for key exchange, and keep purely hash-based `SLH-DSA` in reserve for high-stakes signatures. Anthropic's own conclusion is the same: `ML-KEM` and `ML-DSA` remain among the strongest public-key algorithms available and need no parameter changes.

## Why Connection Key Exchange Comes First {#why-key-exchange}

Customers have already started pinging me today after seeing the news, asking whether they should schedule an OS and database upgrade wave. My stance is unambiguous: **yes, completely. Using this moment to bring aging systems forward is the right engineering call.**

Before changing anything in production, though, developers and architects should be clear about what this upgrade is defending against and what needs to move first. The NSA advisory lays out six prioritized transitional actions:

1. Inventory cryptographic algorithms used across external and internal TLS, IPsec, SSH, PKI, and code signing, flagging anything outside CNSA approval (DSA, elliptic curves other than P-384/P-521, EdDSA, outdated DH groups, and pairing-based schemes);
2. Upgrade servers to **TLS 1.3** across the board and prioritize post-quantum or hybrid key exchange (configured per [RFC 10024](https://www.rfc-editor.org/rfc/rfc10024));
3. Stand up PQC-capable private CAs and trust roots, using at least RSA-3072 or P-384 for transitional classical root keys;
4. Reissue X.509 certificates, re-sign firmware and software packages, and clean up legacy trust chains;
5. Apply vendor PQC patches and disable weak non-PQC fallback defaults;
6. Network-segment legacy systems that cannot be upgraded right away, and deploy traffic inspection to spot lingering weak cryptography.

Look closely at that priority order: **the genuinely urgent fix right now is connection-time *key exchange*, whereas public HTTPS certificates and software signatures can wait their turn.**

The reason is simple. In day-to-day systems, public-key cryptography performs two distinct jobs: **digital signatures** (preventing impersonation) and **key exchange** (negotiating ephemeral session keys to prevent eavesdropping). Even if a signature scheme is broken down the road, the consequence is that an attacker can forge signatures to impersonate you *from that day forward*; they cannot travel back to yesterday and impersonate your site retroactively. Public post-quantum certificates are bulky, too: a full `ML-DSA` certificate chain with Certificate Transparency (CT) signatures easily runs past a dozen kilobytes. Chrome has already made clear it [has no immediate plans](https://security.googleblog.com/2026/02/cultivating-robust-and-efficient.html) to stuff traditional X.509 post-quantum certificates directly into its root store, partnering instead with Cloudflare and Let's Encrypt on Merkle Tree Certificates (MTC), which aren't scheduled to roll out broadly until 2027.

**Key exchange** is a different story altogether. The number-one practical threat the NSA keeps warning about is **Harvest Now, Decrypt Later (HNDL)**. If your cross-datacenter database replication, off-site backup uploads, or Ansible automation channels still negotiate legacy classical key exchange today, an adversary can capture and archive the ciphertext in cold storage right now, then replay and decrypt the plaintext as soon as new math or compute comes online.

Blocking HNDL is remarkably clean thanks to **hybrid post-quantum key exchange (`X25519MLKEM768`)**, finalized as an IETF standard ([RFC 10024](https://www.rfc-editor.org/rfc/rfc10024)) this August. During the connection handshake, both sides bind classical `X25519` elliptic-curve Diffie-Hellman together with post-quantum `ML-KEM-768` to derive the session key; an attacker has to break *both* algorithms simultaneously to recover the key. This week's news is a live demonstration of why hybrid designs make sense: if 256-bit elliptic curves really are weakened, `ML-KEM` holds the line; if lattice cryptography ever suffers a practical flaw, `X25519` still stands in the way. The price is roughly 1.2 KB extra from the client and 1.1 KB from the server per handshake, a rounding error for long-lived connections like database connection pools.

Keep the boundaries straight, too: hybrid key exchange solves "record traffic today, decrypt it later," while handshake authentication still relies on classical certificate signatures for now and implementation bugs remain as real as ever. It isn't a cure-all. One compliance detail worth adding: NSA's strict CNSA 2.0 requirement for National Security Systems mandates `ML-KEM-1024` (whose hybrid group is `SecP384r1MLKEM1024`), and `X25519` itself appears on the phase-out list of curves outside P-384/P-521. For standard commercial and internet workloads, `X25519MLKEM768`, enabled by default in browsers and OpenSSL, is plenty solid; organizations that must align strictly with CNSA 2.0 can add `SecP384r1MLKEM1024` to their group list alongside it.

## What Version Baseline Does Post-Quantum Crypto Require? {#version-baseline}

Setting concepts aside and looking straight at the Linux servers, PostgreSQL databases, Nginx gateways, and application code we run every day, turning on post-quantum connection protection hits a strict version floor:

| Stack Layer | Recommended PQC Baseline | Legacy Blockers & Operational Notes |
| --- | --- | --- |
| **OpenSSL** | **OpenSSL 3.5 LTS+** | The cutoff is **3.5**, not 3.0. [OpenSSL 3.0](https://openssl-library.org/roadmap) reached upstream EOL on September 7, 2026 and will never gain native PQC support |
| **Linux Distros** | **Debian 13**, [**Ubuntu 26.04 LTS**](https://discourse.ubuntu.com/t/post-quantum-support-in-the-upcoming-26-04-lts/76840), **EL 10.1+**, **EL 9.7+** | Enabled by default on EL 10.1+, Debian 13, and Ubuntu 26.04; [EL 9.7+](https://access.redhat.com/security/pqc/rhel) requires running `update-crypto-policies --set DEFAULT:PQ`; system OpenSSL on EL 8, Debian 12, and Ubuntu 22.04/24.04 lacks native PQC |
| **PostgreSQL** | **PostgreSQL 18 / PostgreSQL 19** | Requires explicit `ssl_groups` configuration; PG 17 and earlier only offer single-curve `ssl_ecdh_curve` and cannot enable hybrid handshakes without source patches |
| **OpenSSH** | [**OpenSSH 10.0+**](https://www.openssh.com/pq.html) (or patched 9.9 on EL 10.1+) | Negotiates `mlkem768x25519-sha256` ([RFC 10042](https://www.rfc-editor.org/rfc/rfc10042)) first by default since 10.0; EL 9.8 ships OpenSSH 9.9, yet its `PQ` subpolicy [omitted this algorithm](https://issues.redhat.com/browse/RHEL-151499), so verify with `ssh -Q kex` and `sshd -T`; PQC host/user keys await OpenSSH 10.6 (`ssh-mldsa44-ed25519`) |
| **Runtimes & Gateways** | **Go 1.24+** ([**1.27+**](https://go.dev/doc/go1.27) for `ML-DSA`), **Node 24**, **Nginx** linked against OpenSSL 3.5 | Go ships an independent TLS stack and works on older OSes; official Node 24 binaries bundle OpenSSL 3.5 while distro-packaged Node tracks system OpenSSL; always check Nginx with `nginx -V` and remove hardcoded `ssl_ecdh_curve` directives |

Four field-level gotchas are worth calling out explicitly:

1. **There is no dodging the OS upgrade.** Plenty of teams are still holding onto fleets of Debian 12, Ubuntu 22.04/24.04, or even EL 8. Regular Debian security support for Debian 12 [ended on July 11](https://www.debian.org/News/2026/20260712) as it transitioned to community LTS, and the OpenSSL 3.0 shipped with those distros has no native post-quantum algorithms at all. Provision new machines straight onto **Debian 13, Ubuntu 26.04, or Rocky / RHEL 10.1+**. If you want to stay on **EL 9**, still the largest installed base in enterprise production, roll up to at least `9.7` (`9.8+` recommended) and turn on the `DEFAULT:PQ` crypto policy.

2. **PostgreSQL requires 18 or 19, plus an explicit config change.** PostgreSQL didn't rework its OpenSSL calls to accept multi-group lists via `ssl_groups` (evolving out of `ssl_ecdh_curve`) until [PG 18](/en/pg/pg18-production-ready/), and the newly released [PG 19](/pg/pg19-released/) carries the same design forward. For backward compatibility, however, upstream still defaults to purely classical `X25519:prime256v1`. On a fresh OpenSSL 3.5 host, you must configure `postgresql.conf` explicitly:

   ```ini
   ssl_min_protocol_version = 'TLSv1.3'
   ssl_groups = 'X25519MLKEM768:X25519:prime256v1'
   ```

   `ssl_groups` is the switch that enables hybrid handshakes, while the `TLSv1.3` floor stops clients from downgrading to TLS 1.2, which doesn't support post-quantum handshakes. Client-side `libpq` must also link against OpenSSL 3.5, or negotiation still won't use the hybrid group. **Never drop that `ssl_groups` line onto an older OpenSSL 3.0 machine**: both PostgreSQL and Nginx will fail to recognize the group name and abort on startup. As for PG 17 and earlier, [upstream community builds cannot negotiate hybrid handshakes](https://www.postgresql.org/message-id/fd4v5ekt6y2ohih4bd3cxymj2pwcsnvc3ivne2yu6tncbhlnoy@eemwsabkkueb) unless a distro vendor [backports a dedicated C patch](https://git.almalinux.org/rpms/postgresql16/commit/95905e59ffcba2a276d73c338b7d5027f95918cb) into its own packages, as Red Hat and AlmaLinux have done. Also, since PG 19 only hit general availability on November 19, my recommendation for serious production clusters hasn't changed: stay steady on PG 18 for now and wait for `19.1` before switching.

3. **Get the upgrade approved on security compliance, then collect the performance dividend.** Pitching an upgrade to management or customers right now is an easy sell. PostgreSQL 14 officially reached EOL on November 12 after shipping its final `14.25` point release. Meanwhile, continuous AI-assisted bug hunting has driven PostgreSQL CVE counts sharply higher this year: 44 CVEs had already been patched by mid-October (versus just 7 across all of 2025), and [the November 12 minor releases](/en/pg/minor-earthquake/) fixed another [52 CVEs](https://phoronix.com/news/PostgreSQL-52-CVEs) and 140+ bugs in a single batch, pushing the full-year count toward a hundred. Upgrading to PG 18 or 19 doesn't just solve post-quantum TLS in one move; it also hands you real asynchronous I/O (AIO), native `uuidv7()`, and optimizer statistics preservation across `pg_upgrade` as a bonus.

   One ironclad DBA rule still bears repeating: **when upgrading across major OS versions (say Debian 12 to 13, or EL 8 to 10), never run an in-place OS upgrade on a machine hosting a live database.** Changes in `glibc` alter text collation ordering and silently corrupt indexes. The right approach is to spin up fresh hosts on the new OS and migrate via logical replication so indexes rebuild cleanly against the new locale library. If you use physical streaming replication instead, remember that index pages are copied byte-for-byte, so right after switchover you must `REINDEX` every index that depends on text collation.

4. **Companion services written in Go are the lowest-maintenance part of the stack.** Tools like `etcd`, `VictoriaMetrics`, our object-storage fork [Silo](/en/db/long-live-silo/), and our package manager [`pig`](/en/pg/pig/) only need to be compiled with **Go 1.24+** without hardcoded `CurvePreferences` in code, and Go's standard library will negotiate `X25519MLKEM768` post-quantum handshakes by default even on an older kernel and distro. I checked the source repositories directly: the current `main` branches of `etcd`, `VictoriaMetrics`, and `Silo` all build with Go 1.27 and leave curve preferences untouched. The one subtle detail to watch is that [Go's default `GODEBUG` settings](https://go.dev/doc/godebug) follow the `go` version directive in `go.mod`: if `go.mod` still says `go 1.23`, even compiling with a newer toolchain falls back to `tlsmlkem=0`, which you can verify with `go list -f '{{.DefaultGODEBUG}}'`. And starting in **Go 1.27**, post-quantum signatures (`ML-DSA`) are built straight into the standard library (`crypto/mldsa`).

## What Pigsty Has Done, and Where We Go Next {#pigsty-roadmap}

Over the past couple of days, I also audited **Pigsty**, our package manager **[`pig`](/en/pg/pig/)**, our local VM manager **[`Barn`](/en/db/barn-intro/)**, and every infrastructure project we maintain against the NSA advisory and CNSA 2.0 requirements.

Our starting baseline is already in good shape: [**Pigsty v4.6**](https://github.com/pgsty/pigsty/releases/tag/v4.6.0), released in mid-November, defaults to PostgreSQL 18.7 and ships Beta configuration templates for PG 19 (GA templates for PG 19 will land in the next release); our OS matrix already covers **Debian 13, Ubuntu 26.04, EL 10, and EL 9**; our Nginx templates don't hardcode legacy `ssl_ecdh_curve`, so hosts on OpenSSL 3.5 negotiate post-quantum handshakes naturally; `etcd` and `Silo` run end-to-end on Go 1.27's modern TLS stack; `pgBackRest` physical backups use inherently quantum-resistant `AES-256` encryption; and our internal private CA uses an `RSA-4096` root key, clearing the NSA's transitional `RSA-3072` floor.

To verify how each Linux distribution and PostgreSQL kernel fork behaves in practice, we ran live handshake tests inside isolated containers across **352 combinations of OS releases, CPU architectures, and concrete packages**:

> [!DETAILS] Pigsty Post-Quantum Handshake Test Matrix · 352 OS, Architecture & Kernel Package Combinations (2026-12-03)
>
> As of 2026-12-03, we tested 352 combinations of operating systems, architectures (native `arm64` plus real `x86_64` Linux binaries), and concrete packages inside isolated containers:
>
> - **With upstream default group settings**: All 352 combinations rejected clients advertising only post-quantum hybrid groups.
> - **With `X25519MLKEM768` explicitly configured as the only allowed group**: All 85 baseline-compliant combinations completed the handshake and consistently rejected clients supporting only classical `P-256`.
> - **Distro backport exceptions**: Community PGDG builds of PG 17 and earlier parse `ssl_ecdh_curve` as a single classical elliptic curve and reject hybrid groups even if system OpenSSL is upgraded separately; however, RHEL / Rocky 9.9 and 10.3 AppStream repositories backported patches to `PG 15.20` and `PG 16.16` so setting `ssl_ecdh_curve = 'X25519MLKEM768'` completes the hybrid handshake (standard Pigsty installs use PGDG packages by default).
>
> | Pigsty Platform | Native System Library Floor | PostgreSQL Test Results |
> | --- | --- | --- |
> | **Debian** | **13.0+** | PGDG `18.7` and `19.0` pass on Debian 13; Debian 13's built-in PG 17 still uses the legacy interface |
> | **Ubuntu LTS** | **26.04+** | PGDG `18.7` and `19.0` pass on Ubuntu 26.04.1; built-in system PG 18 also supports `ssl_groups` |
> | **EL 9** | **9.7+** | PGDG `18.7` and `19.0` pass on Rocky 9.9; select backported AppStream PG 15 and 16 packages also work |
> | **EL 10** | **10.1+** | PGDG `18.7` and `19.0` pass on Rocky 10.3 (10.0 only shipped an optional `oqsprovider` tech preview) |
> | **EL 8 / Debian 12 / Ubuntu 22.04–24.04** | Standard system OpenSSL lacks target groups | Tested PGDG packages cannot enable hybrid groups even when `ssl_groups` is present; EL 8 has no PGDG 19 packages |
>
> Every alternative database kernel in Pigsty listed below was verified with strict hybrid-only handshakes over the native PG wire protocol across Rocky 9.9, Rocky 10.3, Debian 13, and Ubuntu 26.04.1 on both architectures:
>
> | Database Kernel | Passing Versions | Earlier Versions & Other Protocol Notes |
> | --- | --- | --- |
> | **AgensGraph** | `2.18.6.1` (PG 18.6) | `2.17.0` / PG 17.10 rejected in testing |
> | **Babelfish** | `6.2.0-2PGSTY` (PG 18.6) | `5.7.0` / PG 17.11 rejected; PG port supports PQC key exchange, while TDS port 1433 still tops out at TLS 1.2 |
> | **IvorySQL** | `5.6` (PG 18.6) | `4.4` / PG 17.4 and `3.3` / PG 16.3 source trees still use the legacy interface |
> | **OrioleDB** | `1.10.3` (PG 18.6) | `1.10.3` builds on PG 17.11 and PG 16.15 both rejected |
> | **pgEdge** | `PG 18.7` / Spock `5.0.15` | PG 15, 16, and 17 builds all rejected |
> | **OpenHalo** | `19.0.0` (PG 19.0) | `1.0` / PG 14.18 rejected; MySQL protocol endpoint not tested independently |
> | **Percona Server** | `18.7.1` / PG 18.7, `19.0.1` / PG 19.0 | `pg_tde` handles transparent disk encryption; connection encryption runs over PG TLS |
> | **PolarDB for PostgreSQL** | All tested versions rejected | Tested `17.12.1.0` / PG 17.12 plus `17.11.1.0` on EL 8 |

Judged against what a responsible database distribution should ship in a post-quantum, post-AI world, several permissive defaults we kept around for frictionless intranet setup are overdue for an overhaul. Over the next several releases, Pigsty will roll out four initiatives in order:

- **Clear OS tiering and an orderly deprecation schedule**: We are promoting **EL 10.1+, EL 9.8+ (with Pigsty enabling the `DEFAULT:PQ` policy automatically), Debian 13, and Ubuntu 26.04** to first-class citizens and default recommended platforms. Legacy OS releases stuck on OpenSSL 3.0 or earlier (Debian 12, Ubuntu 22.04/24.04, and EL 8) will be formally marked **Deprecated** while remaining usable; before retiring them completely, we will cut **v4.7** as the final release supporting those older systems.
- **Conditional post-quantum TLS and full-path default hardening**: When Pigsty detects `OpenSSL >= 3.5` on the host alongside `PG 18+`, configuration templates will automatically populate `ssl_groups` prioritizing `X25519MLKEM768`, strip legacy compatibility protocols from Nginx, and advance default TLS protection across PgBouncer, Patroni, and log shipping pipelines. On the control plane, we will enable SSH host-key verification and post-quantum KEX checks on Ansible admin nodes, and auto-generate strong random `pgBackRest` backup encryption passphrases per cluster during `configure -g`.
- **Post-quantum signature verification for software repos and image catalogs**: We maintain package repositories covering more than 600 PostgreSQL extensions alongside `Barn`'s system image catalog. While the image payloads themselves are already backed by quantum-resistant `SHA-256` digests, outer catalog manifests and repository signatures still rely on classical `RSA-4096` and `Ed25519`—and `EdDSA` sits right on the list the NSA flagged for inventory this week. Taking advantage of native `ML-DSA` support in Go 1.27's standard library, we will roll out `ML-DSA` metadata signing (backed by purely hash-based `SLH-DSA`) and strict signature verification in both the `pig` CLI and `Barn` first, locking down our software supply chain.
- **WireGuard symmetric preshared-key fallbacks and one-command rotation**: For users who genuinely cannot upgrade legacy hosts in the short term, or who network nodes across the public internet, we plan to ship an optional **WireGuard + `PresharedKey` (256-bit symmetric PSK)** tunnel module. WireGuard's handshake itself is built on `Curve25519`, yet layering a 256-bit symmetric PSK on top means that even if elliptic curves fell completely, recorded traffic still cannot be decrypted without the PSK (provided the PSK itself is delivered over a secure channel; pushing it over legacy SSH with classical key exchange would carry the exact same "harvest now" risk). At the same time, we will add seamless rotation playbooks for passwords, SSH keys, and internal private CAs—shortening multi-year validity windows and wiring in the option to switch internal PKI straight to `ML-DSA` root certificates without waiting on public browsers—alongside a cluster-wide post-quantum readiness audit command.

Back to the question we started with: is modern cryptography collapsing? Not at all. Under the twin pressures of frontier AI and quantum computing, it is simply shedding the aging public-key shell left over from the 1970s and 1980s. If you hold the keys to production infrastructure, there is no need to ride crypto-market mood swings, and no excuse left for running long-retired Debian 11/12 hosts and old PostgreSQL versions on wishful thinking. Upgrade the base stack that needs upgrading, layer in symmetric protections where they belong, and put this moment to work: you won't find a cleaner or better-justified reason to modernize aging infrastructure over the next few years.
