---
title: "Post-quantum readiness"
description: "How much of your certificate inventory must be replaced for post-quantum cryptography, and by when: a 0-100 score per certificate, with reasons."
keywords: ["post-quantum", "PQC", "quantum readiness", "NIST IR 8547", "CNSA 2.0", "certificate inventory", "RSA deprecation"]
---

**None of the certificates TRUSTIVAN can read is post-quantum.** Every key in
the [certificate inventory](/configuration/certificates) is RSA, elliptic-curve
(ECDSA), Ed25519 or DSA, and a large enough quantum computer would break all of
them. So the score is not a "quantum safe" rating. It says how much about each
certificate has to change, and by when, measured against two public timelines.

| Guidance | What TRUSTIVAN takes from it |
|---|---|
| NIST IR 8547, *Transition to Post-Quantum Cryptography Standards* | Quantum-vulnerable signatures at 112 bits of security (RSA-2048) are deprecated after 2030; every quantum-vulnerable algorithm is disallowed after 2035. |
| NSA, CNSA 2.0 | SHA-384 or SHA-512 for hashing. |

TRUSTIVAN uses these dates and names to explain the score. It does not claim
conformance with either document, and the score is not an assessment against
them.

## The score (formula `pqc-1`)

Each certificate starts at 100 and loses points:

| Term | Deduction |
|---|---|
| A quantum-vulnerable key (every classical key) | 40 |
| Key strength: weak today (RSA under 2048 bits, an elliptic curve under 256 bits, DSA) | 30 |
| Key strength: 112 bits of security (RSA 2048-3071) | 15 |
| Key strength: 128 bits (RSA 3072-7679, a 256-383-bit curve, Ed25519) | 5 |
| Key strength: 192 bits or more (RSA 7680 or more, a 384-bit curve or larger) | 0 |
| Signature hash: MD2, MD5 or SHA-1 | 20 |
| Signature hash: SHA-256 | 5 |
| Signature hash: SHA-384, SHA-512, Ed25519 | 0 |
| Still valid on 2036-01-01 | 25 |
| Otherwise still valid on 2031-01-01 | 10 |

The result is clamped to 0-100. **No classical certificate can score above
60.** A certificate whose key TRUSTIVAN cannot read (which is where a
post-quantum key would appear today) is not scored. Examples: an ACME RSA-2048
certificate with a SHA-256 signature and 90 days of life scores 40; an ECDSA
P-384 certificate signed with SHA-384 scores 60; a self-signed RSA-2048
certificate valid for 20 years, signed with SHA-256, scores 15.

Each certificate also carries its **reasons** (one line per deduction) and a
**band**, which says when it must be replaced:

| Band | Meaning |
|---|---|
| Replace now | The key or the signature hash is weak by today's standards. |
| Replace by end of 2030 | A 112-bit key (RSA 2048-3071) on a certificate still valid in 2031. |
| Replace by end of 2035 | Any classical key on a certificate still valid in 2036. |
| Replace at renewal | It expires before its deadline; choose the replacement key when it is renewed. |
| Not scored | A key TRUSTIVAN cannot read. |

The formula is versioned: any change to a weight, a threshold or a band gets a
new version name, and the tests that pin `pqc-1` (a golden table and the
boundaries one bit and one second either side of each threshold) fail until it
does.

## Where it shows

- **Certificates → Post-quantum readiness**: the count per band and the mean
  score over the inventory, with the statement that nothing is post-quantum.
- **Certificates → Certificates in use**: a **PQC** column (the score, with the
  reasons on hover, and the band) and a **PQC readiness** filter.
- `GET /api/v1/certificates` returns `pqc` on every certificate and accepts
  `pqc=now|2030|2035|renewal|unknown`; `GET /api/v1/certificates/pqc` returns
  the roll-up (`post_quantum` is always 0). Both need `assets:read`.

The score is computed when the inventory is read, from what the certificate
says about itself; nothing is stored and no finding is filed.

## Limits

- The score covers the certificates the inventory holds (endpoint, DAST,
  Kubernetes Ingress and cloud certificate service sources, at most 1,000 per
  read). Certificates seen only in Certificate Transparency logs are not scored.
- It judges the certificate, not the TLS session: the key exchange a server
  negotiates (for example a hybrid ML-KEM group) is not read.
- Intermediates and roots in the chain are not scored separately; the leaf is.
