Skip to content
Crypto2026-10-04Shuai Li5 min read

Miping × Post-Quantum: A Dual-Stack Assessment Framework for Chinese Compliance Systems

The question that isn't on the report yet — but will be

A system that passes its miping self-check has answered "is Chinese cryptography used, and used correctly". One question, however, is bound to enter the evaluation scope: how long is the lifetime of the data these SM2 keys protect?

The logic is short: SM2 rests on elliptic curves → elliptic-curve discrete log is exactly as quantum-fragile as factoring → compliance and quantum safety are orthogonal dimensions. A high miping score does not stop harvest now, decrypt later (see whose data moves first) — recorded TLCP traffic can be retroactively decrypted the day quantum hardware matures, same as anything else.

Where the domestic process stands: NIST's ML-KEM/ML-DSA are standardized internationally (FIPS 203/204); China's commercial-cryptography post-quantum standards research is underway, proceeding in parallel with the international algorithm families. For critical-infrastructure operators, "wait for the domestic standard" is a defensible position — but data lifetime doesn't wait, which is precisely why a dual-stack framework matters.

Dual-stack isn't two systems — it's one matrix

Split "compliance obligation" and "quantum foresight" into two independent axes:

Compliance track (miping/MLPS)Foresight track (quantum exposure)
TransportTLCP / Chinese-crypto HTTPShybrid TLS (X25519+ML-KEM) deployable in parallel
SignaturesSM2 certificates + SM3 digestslong-lived signatures evaluated for composite PQC paths
Data protectionSM4 (peer of AES)existing stock under 10 years mostly fine; long-lived data gains a PQC wrapping layer
Key managementmiping's full key-lifecycle requirementsadd a "quantum exposure inventory" dimension

The defining property of dual-stack is parallel, not replacement: an ingress can listen for TLCP (domestic compliance) and hybrid TLS (foresight) at the same time; the SM family continues to serve existing obligations while PQC layers on only where long-lived secrets are wrapped. No rule anywhere requires choosing one.

The self-check: five items on top of the standard checklist

Building on the miping self-check framework, append a "quantum exposure assessment" section:

  • List every SM2 public-key usage (certificates, signatures, key exchange), labeling each with its data/signature lifetime
  • Identify secrets with >10-year lifetimes (government archives, medical records, judicial evidence) — first priority for HNDL
  • Transport assessment: can the ingress offer hybrid TLS in parallel (OpenSSL 3.5+ X25519MLKEM768 group, see ML-KEM, explained)? Especially meaningful for international visitors and long-lived sessions
  • Stock data: SM4-encrypted with keys that never traveled through public-key wrapping → quantum risk contained; keys transported inside SM2 envelopes → those envelopes are the future decryption doorway
  • Write one line of "post-quantum readiness" into the cryptography master plan — the next assessment cycle will very likely ask

A minimal viable dual-stack deployment

For teams wanting concrete first steps rather than frameworks, the smallest coherent slice:

  1. Inventory only the top exposure: list SM2 certificates and key-exchange points that protect data with 10+ year lifetimes — typically a one-page table, not the full CBOM
  2. One parallel listener: keep TLCP for the compliance audience; add a hybrid-TLS endpoint (OpenSSL 3.5+ X25519MLKEM768, see the ML-KEM guide) for international traffic and long-lived sessions — no either/or at the ingress
  3. One sentinel metric: log which cipher suite each connection negotiated. The day that log shows hybrid suites carrying real sessions, the second stack exists in fact, not on paper

Teams that skip the metric discover a year later their hybrid listener served zero traffic (misconfigured DNS, firewall, or negotiation order). Measure the stack, or it isn't there.

Why now: the cost curve is asymmetric

  • Now: one extra section in the existing miping documentation + a parallel listener at the ingress — near-zero marginal cost
  • Later: if you wait for standards to settle, long-lived data wrapped in SM2 envelopes will have accumulated un-revocable HNDL exposure — that exposure cannot be retroactively removed

This is the shared tense of all PQC migration: you protect every byte from today forward; you cannot protect yesterday's leaks.

What dual-stack is not

Dual-stack is not "turn off SM2 tomorrow," not a second compliance regime that replaces GB/T 39786, and not a promise that hybrid TLS alone saves archived ciphertext. It is an inventory discipline plus optional parallel transport for the slice of traffic and keys that still have decades of confidentiality left to protect. Teams that treat it as a branding exercise (a hybrid cipher suite in the slide deck, zero negotiated sessions in the log) fail the only metric that matters: real dual negotiation under production DNS and firewall paths.

Procurement and inventory language

When vendors claim "quantum ready," ask three concrete questions: which algorithms are actually negotiated today, whether long-lived data keys were ever wrapped by classical public-key envelopes, and whether the product can emit a cipher-suite metric you can put in SIEM. Write the answers into the same miping evidence pack as certificate inventories — auditors will ask in a later cycle even if the current scorecard does not.

Implementer's note

Building the site's SM2 tool family made the ecosystem gap vivid: browser-side dependencies for Chinese crypto (the sm-crypto family) are far less mature than WebCrypto's built-in classical algorithms — and PQC's browser story (liboqs wasm) is more primitive still. Each stack in the dual-stack is waiting for its own dependency chain. That gives the Chinese-crypto tools an unexpected role: they are already the full rehearsal for "how non-native algorithms enter the browser" — when ML-KEM's wasm toolchain matures, every lesson the SM family learned (payload control, key formats, random-source quality labeling) transfers directly.