Post Quantum Migration of Tor
Surveys Tor's cryptography (ntor, TLS, onion services) and proposes a theoretical method to estimate PQC migration overhead for a local Tor network, without implementing it.
Schemes: ML-KEM, ML-DSA, SLH-DSA, SPHINCS+, Falcon, XMSS, LMS, sntrup761, FrodoKEM, HQC, Kyber, Dilithium, ntor, HybridOR, KEMTLS, X25519, Ed25519
Findings (quotes checked against the source text)
-
Tor's relay circuit-extension handshake is the most urgent layer to migrate to PQC, and a transitional hybrid needs a KEM plus a signature mechanism.
The circuit layer comes up as the most urgent layer to migrate to PQC.
-
Tor's 509-byte cell body limit is an obstacle, so PQC public keys will require fragmentation across multiple cells.
Fragmentation of PQC keys across several cells appears inevitable (Tables 2, 3, 5, 14, 15, 16).
-
The authors recommend ML-KEM-768 and sntrup761 as KEM fits for circuit extension, with ML-DSA preferred over Falcon for runtime.
ML-KEM-768 and sntrup761 appear to fit the circuit-extension requirements.
-
The paper prefers hybrid handshakes over fully PQC KEMTLS for now, because hybrids hedge against a new PQC scheme being broken.
To not solely rely on relatively young solutions, hybrids appear to outweigh the faster, fully PQC (KEMTLS).
Numbers (as extracted, not quote-checked)
- ML-KEM-768 public key (encapsulation key) size: 1184 bytes
- ML-KEM-768 ciphertext size: 1088 bytes
- SPHINCS+-SHA2-128f-s sign/s (OQS, unoptimised): 23.86
- Current Tor cell body length: 509 bytes
For builders
Use the paper's hybrid-with-concatenation pattern and its size-per-message analysis (ML-KEM-768 keys exceed a single 509-byte cell) when budgeting PQ handshake messages, but note it concerns Tor, not a chain.
Limits
Theoretical overhead estimate only; no implementation; benchmarks are unoptimised OQS numbers from 2024; the Tor-specific design details do not transfer directly to blockchain consensus.
Topics: threat-model kem sig-lattice sig-hash-based hybrid-schemes other-chain-migration benchmarks survey hash-functions