Time-Based State-Management of Hash-Based Signature CAs for VPN-Authentication
Proposes a VPN authentication PKI where an XMSS (stateful hash-based) CA issues short-lived classical ECDSA leaf certificates, with time-based state management, and implements it in OpenIKED.
Schemes: XMSS, ECDSA, ML-DSA, SLH-DSA, SPHINCS+, NTS, NTP
Findings (quotes checked against the source text)
-
Stateful XMSS CA anchors trust while short-lived (four-hour) classical leaf certificates handle high-volume signing, making the design quantum-safe as long as the CRQC cannot break ECDSA within the validity window.
The CA then issues leaf certificates which are based on classical cryptography but have a short validity time, e. g., four hours.
-
A fixed signed time schedule binds each XMSS index to a time interval, so state management becomes static while system time is correct; mismatches halt issuance and alert an administrator.
The predefined time-schedule means the state-management is static, as long as the time on the machine remains correct.
-
XMSS with tree height 16 gives 65,535 signatures, a CA lifetime estimated at about 30 years in theory, which the authors expect to be reduced by time faults but still to cover typical 10-year CA lifetimes.
In theory, the scheme with our parameters lasts for almost 30 years.
-
Authors argue XMSS is significantly smaller than ML-DSA at comparable security, and about tenfold smaller than SLH-DSA, which motivates choosing hash-based signatures for the long-term anchor.
A comparison to SLH-DSA increases the advantage of XMSS to a factor of more than ten.
-
Native NTP is unauthenticated, so the design needs NTS and triple-redundant NTP servers; the authors' OpenNTP implementation lacks NTS, a stated weakness.
Our implementation utilizes OpenBSD’s native OpenNTP client, which does not support NTS.
-
VM snapshot reversion can reset the XMSS state and enable double signing, so the authors recommend not running these VPN devices in VMs and using an HSM.
By saving and later reloading the current state of the virtual machine, it is possible to reset the XMSS private key state to this old state, potentially causing double signing.
Numbers (as extracted, not quote-checked)
- XMSS_16 signature size (SHA-256, liboqs): 2,692 B
- XMSS_16 public key size: 68 B
- ML-DSA-44 signature / public key size: 2,420 B / 1,312 B
- SPHINCS+128s signature / public key size: 7,856 B / 32 B
- XMSS tree height and signature capacity: h=16, 65,535 signatures
- Leaf certificate validity: four hours
For builders
For a PQ chain or VPN PKI, a stateful XMSS root with short-lived classical leaves is a workable pattern, but it only holds if the time source and state are hardened.
Limits
Only a single-device CA was implemented and tested; no formal verification; leaf certs remain ECDSA; relies on NTS/PQ-capable time sync not yet in place; authors note limited scenario-based analysis.
Topics: sig-stateful sig-hash-based wallets-keys chain-design implementation-sidechannel benchmarks hybrid-schemes threat-model