Build a compatibility test matrix for a post-quantum pilot

THE SHORT ANSWER
A practical worksheet for testing communicating pairs, documenting fallback behavior and reviewing evidence before widening a post-quantum pilot.
Build a post-quantum compatibility test matrix around real communicating pairs: the exact producer and consumer versions, the proposed cryptographic configuration, the expected behavior and the evidence needed to accept the result. An algorithm working in one library is a useful starting point; it does not establish that your application and its dependencies can complete their real workflow.
The NCCoE migration project treats interoperability testing as a separate workstream and describes resolving compatibility issues in a controlled, non-production environment. Its project overview provides the context. The worksheet below is our recommended engineering practice, not a NIST-prescribed test plan or a report of completed tests.
1. Choose one boundary and name both ends
Start with one service-to-service connection, signed artifact handoff or other bounded workflow. Identify who produces the message or artifact and who consumes it. Record application builds, library versions, enabled providers, operating systems and configuration references. Include an intermediary when it terminates or transforms the protected exchange.
Do not use “latest” as a version. Save the test date and immutable build identifiers where available. Separate algorithm support from support for the protocol, encoding, credentials and operating mode your workflow actually uses.
IETF RFC 7696, an algorithm-agility document rather than a PQC deployment profile, explains that communicating peers need compatible algorithms. That is the reason to test a pair instead of checking two independent feature lists.
2. Write expectations before executing tests
For every row, record: case ID, producer build, consumer build, configuration reference, input reference, expected outcome, observed outcome, evidence link and owner. Keep a separate field for unresolved questions. Leave observed outcomes blank until someone runs the case.
The following cases are illustrative planning examples. They contain no measurements or claimed implementation support.
| Case | What to exercise | Expected outcome to define in advance |
|---|---|---|
| Existing baseline | Current approved pair and configuration | The existing workflow completes correctly |
| Candidate pair | Proposed versions and exact approved candidate configuration | The intended operation completes and evidence identifies the configuration actually used |
| Mixed-version pair | Candidate producer with a supported older consumer, where applicable | The documented compatibility behavior or an explicit, diagnosable refusal |
| Invalid input | Altered signed artifact or another protocol-appropriate negative case | The specified rejection behavior, with no application acceptance of invalid data |
| Recovery | Restore an approved configuration in the isolated environment | The baseline workflow resumes and the change is traceable |
Replace generic cases with checks from the relevant protocol and implementation documentation. Do not assume every protocol exposes the same errors. For a signature workflow, test verification failures; for key establishment, define checks appropriate to that protocol rather than copying signature assertions.
3. Make fallback visible
A completed request can hide an unexpected configuration choice. Capture the negotiated parameters or the verifier configuration through supported diagnostics, then compare them with the row's expectation. If an implementation does not expose enough evidence, record the visibility gap instead of marking the intended configuration verified.
Decide explicitly whether a mixed-version case should connect or refuse. Have the security owner approve any permitted fallback. A recovery exercise should restore an approved baseline, not silently introduce weaker settings to make a test pass. RFC 7696 discusses the security risks of complex algorithm negotiation, including downgrade attacks; it does not make an application-specific fallback acceptable.
4. Review exceptions before widening the pilot
Assign each failure, missing consumer or unobservable parameter to an owner. Separate “not tested,” “blocked,” “failed” and “passed.” Do not turn an untested platform into a pass because a similar platform worked.
Agree workload-specific performance and resource limits before evaluating results. Retain sanitized logs and reproducible configuration references; exclude private keys, credentials and customer data. Re-run affected rows after a relevant build or configuration changes.
What this matrix cannot prove
Passing a bounded matrix does not establish complete fleet coverage, cryptographic module validation, resistance to every attack or production readiness. Unsupported protocol combinations and third-party dependencies may remain blockers. This guide supplies a planning method, not a claim that a scanner automatically executes these tests.
Summary
Name both ends, pin the configuration, define success and refusal behavior, and attach evidence to each executed row. The useful deliverable is a reviewed compatibility decision with explicit gaps—not an unexplained green checkmark.
Go to the source.
Make it a team conversation.
Use six questions to organize your planning gaps and share a checklist with your team.
Build a team checklist →