Backing up post-quantum gateway keys at an air-gapped site means keeping the long-term identity material of an encryption gateway (its ML-DSA signing key, any static ML-KEM key, certificates and trust anchors) somewhere it can be recovered without a cloud key service or a live link to the certificate authority. The point is to rebuild a failed unit without weakening the trust model.
OT operators and critical infrastructure organizations often run sites with no route to a central PKI, so this has to be designed up front. This article explains which keys belong in a backup and which do not, how to decide between backing up and re-issuing, and how to restore, store and test it all offline.
Why plan post-quantum key recovery now?
Gateways bought today will still be in service when classical public-key algorithms are phased out, so the recovery procedures written now need to cover post-quantum key formats. The deadlines below come from NIST.
| Fact | Value | Source and date |
|---|---|---|
| Phase-out of quantum-vulnerable public-key cryptography | Deprecated after 2030, disallowed after 2035 | NIST IR 8547, October 2026 |
| Historical time from algorithm standardization to full integration | 10 to 20 years | NIST IR 8547, October 2026 |
| ML-DSA-65 expanded private key compared with its seed | 4,032 bytes vs 32 bytes | FIPS 204, 13 August 2024 |
| ML-KEM key generation seed (d, z) | 64 bytes | IETF 121 PQUIP session, November 2024 |
NIST IR 8547 says NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035. The same report notes that historically, the journey from algorithm standardization to full integration into information systems can take 10 to 20 years. OT asset lifecycles are long, so a gateway installed this year will probably be restored from backup more than once before it is retired. NIST’s Dustin Moody, who heads the PQC standardization project, has said: “We encourage organizations to begin their transition to these standards immediately to ensure their data remains secure in the quantum era.”
Which post-quantum gateway keys actually need a backup?
Back up only long-term material: the device’s identity key, its certificate chain, trust anchors and configuration. Never back up session or ephemeral keys.
Many gateways use ML-KEM in a hybrid handshake that runs again every few minutes. QPN from Quantum Network is one example: it combines a classical part and an ML-KEM part into a single session key, and both handshakes renew every two minutes. Key pairs that live that briefly have no place in a backup. NIST SP 800-57 Part 1 is explicit that private ephemeral keys shall not be backed up or archived.
What does need protecting is whatever lets peers recognize the gateway after it comes back: the long-term authentication key (ML-DSA under FIPS 204, a classical key, or both in hybrid setups), the certificates issued for it, the root and intermediate certificates it trusts, and the tunnel and routing configuration. NIST SP 800-130, the framework for designing cryptographic key management systems, is a good structure for documenting each key type, its owner, cryptoperiod and recovery path before the first unit is deployed.
How do you back up ML-DSA and ML-KEM private keys without a cloud key service?
Where your cryptographic module supports it, export the key generation seed instead of the expanded key. Wrap it under a key-encryption key held in a FIPS 140-3 validated token, and write it to offline media under dual control.
Seed format versus expanded key
Both post-quantum standards let you keep a compact seed in place of the full private key. FIPS 204 notes that to save space one can store only the 32-byte seed ξ, which is sufficient to generate the other parts of the private key. For ML-KEM, FIPS 203 states that the seed (d,z) generated in steps 1 and 2 of ML-KEM.KeyGen can be stored for later expansion using ML-KEM.KeyGen_internal. NIST’s PQC FAQ also confirms that generating the seed in one cryptographic module and then importing or exporting it into another cryptographic module is allowed.
There are practical reasons this matters offline. A 32- or 64-byte secret fits on a smart card, can be split into shares easily, and can even be printed as a fallback. One caveat catches people out: as a presenter at IETF 121 put it, if you did not store the seed at KeyGen time, you can never get it back. Check before deployment whether the gateway generates keys in seed form and allows the seed to be exported, because finding out during an outage is too late.
A workable offline backup chain
- Generate on site or at a secure staging bench. Create the key inside the gateway or a validated module, never on a general-purpose laptop.
- Wrap immediately. Encrypt the seed or key under a key-encryption key that lives on a FIPS 140-3 validated token, so the backup file alone is worthless.
- Split the unlock path. Give the token PIN or secret shares to at least two named custodians (split knowledge, dual control), so no single person can restore a key.
- Record integrity values. Store a hash of each wrapped backup in the key inventory so a restore can confirm the media has not been altered.
Should post-quantum gateway private keys be backed up or re-issued after a hardware failure?
Re-issue by default. Keep a backup only where generating, certifying and distributing a new identity would take longer than the outage you can tolerate.
NIST’s position on signing keys is cautious. SP 800-57 Part 1 Rev. 5 reminds readers that “the backup of a private signature key is discouraged in most cases”. It also gives an alternative that fits air-gapped OT well: instead of backing up the private signature key, a second private signature key and corresponding public key could be generated and the public key distributed for use if the primary becomes unavailable. And it makes room for remote sites: if a new key pair cannot be generated quickly, the private key should be stored in backup storage during the cryptoperiod of the private key.
| Criterion | Restore backed-up key | Re-issue new identity | Pre-enrolled standby identity |
|---|---|---|---|
| Needs CA access at failure time | No | Yes | No |
| Copies of long-term key in existence | Two or more | One | One per identity |
| Peer reconfiguration needed | None | Trust update on every peer | None, already trusted |
| Best fit | Sites with very short tolerable outage and no spare identity | Connected sites with reachable PKI | Air-gapped and remote OT sites |
How do you restore a failed quantum-safe gateway at an air-gapped site without network access to the CA?
Do the CA work in advance. Before anything fails, issue a standby identity for each critical gateway, have every peer trust it, and seal it into an on-site recovery kit together with the trust anchors, a current revocation list and the software image.
At a site with no route to the PKI, restoring a gateway is a logistics problem more than a cryptographic one. Gateways designed for these environments often send no telemetry and have no cloud dependency (QPN is one of them), so recovery can only use what is physically on site. A practical sequence:
- Isolate and record. Log the failed unit’s serial number and identity, and remove its storage under supervision for later destruction.
- Prepare the spare. Install the verified software image on standby hardware and check the hash against the value printed in the runbook.
- Load identity under dual control. Two custodians unseal the standby identity, or the wrapped backup if you chose that route, and import it.
- Restore configuration. Apply the stored peer list and routes, then confirm the tunnel comes up and the hybrid handshake completes with each peer.
- Close the loop later. At the next authorized data transfer, revoke the failed unit’s identity, issue a fresh standby, and update the inventory.
The restore has to put the link back in its encrypted state, not just get traffic flowing again. A well-designed gateway never falls back to unencrypted traffic, which means a failed unit leaves the link down rather than open. That is a strong argument for keeping a spare and a recovery kit on site and not depending on a courier.
How should backup media holding gateway keys be protected and stored offline?
Keep the wrapped key material and its unlock credentials apart, in tamper-evident containers, at two physically separate locations, with every access logged.
- Separate the ciphertext from the key. The encrypted backup and the token or shares that unlock it should never be in the same safe.
- Use tamper-evident packaging. Record serial-numbered bag numbers in the inventory and check them at each audit.
- Keep two copies in two places. One copy on site for fast recovery, one at a second controlled location, so a single fire or flood cannot destroy both.
- Refresh the media. Flash media and tokens age. Rewrite and re-verify backups on a fixed schedule, and destroy retired media in a way you can prove.
- Bound the lifetime. Destroy backups of a key once its cryptoperiod ends or the key is revoked, so old copies do not pile up in drawers.
How often should offline recovery procedures for encryption gateways be tested?
Run a full restore drill on spare hardware at least once a year, check media integrity quarterly, and test again after any change to firmware, algorithms, custodians or site topology.
No standard sets a single mandatory interval for gateway key recovery, so base the cadence on risk and change. In practice:
- Quarterly: confirm the tamper seals are intact, the hashes match and the custodians can still produce their shares or PINs.
- Annually: do a complete end-to-end restore onto spare hardware in a test segment, timed, run by the people who would actually be called out.
- Event-driven: repeat the drill after a software update, after an algorithm change (crypto agility only helps if your backups can be read with the new parameters), after custodian turnover, and after a CA rollover that changes trust anchors.
Measure each drill against your tolerable outage. If a restore takes longer than the process can tolerate, that tells you to keep a hot spare on site rather than to rely on backup alone.
Where Quantum Network fits
Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.
Frequently asked questions
Do I need to back up the ML-KEM keys used in gateway handshakes?
Is storing only the 32-byte ML-DSA seed safe enough?
Can a replacement gateway reuse the failed unit's certificate?
What should an offline recovery kit for an air-gapped site contain?
Does a hardware failure ever justify reusing the old private key?
Sources
- NIST SP 800-57 Part 1 Rev. 5 (2020)
- NIST SP 800-57 Part 1 Rev. 4 (2016)
- NIST CSRC Post-Quantum Cryptography FAQs (2026)
- NIST FIPS 203 (2024)
- IETF 121 PQUIP slides (2024)
- NIST (2024)

Skip to content