Can Coding Agents Migrate to Post-Quantum Cryptography?
Tests whether coding agents can migrate a Go RSA file signer to ML-DSA-44 so that independent OpenSSL interoperability passes; local sign-verify often hides key-format and context errors.
Schemes: ML-DSA-44, ML-DSA, RSA-2048 PKCS#1 v1.5, FIPS 204
Findings (quotes checked against the source text)
- Checker access does not increase the observed full-pass rate in any paired comparison.
Checker access does not increase the observed completion rate in any comparison.
Numbers (as extracted, not quote-checked)
- Qwen3.8-27B Q4_K_M full passes at 128K vs 32K context (both conditions pooled): 36/40 vs 4/40
- Qwen3-Coder full pass rate per condition: 0/20
- ML-DSA-44 signature length checked by the contract: 2,420 bytes
For builders
Test key serialization and cross-implementation verification (including required context) with an independent library, not just a local sign-verify round trip, before trusting an ML-DSA migration.
Limits
One Go file signer, one ML-DSA parameter set, one external implementation (OpenSSL), tiny sample sizes (20 per config, 1 per native agent), and confounded model/serving settings; not a performance estimate.
Topics: sig-lattice implementation-sidechannel benchmarks wallets-keys chain-design