QSC-LIB-0207 · CWE-1104
Python crypto library without post-quantum algorithms
Severity: MediumReadiness: Fix availableQuantum threat: Shor
Summary
PyCryptodome, rsa, ecdsa and older pyca/cryptography releases provide only classical public-key algorithms. pycrypto is abandoned.
Why it matters
No in-library PQC path; RSA and ECDSA usage stays quantum-vulnerable.
How to fix
Standardise on pyca/cryptography 50+ (ML-KEM-768/1024, ML-DSA-44/65/87) for app-level crypto, and on OpenSSL 3.5+ for hybrid TLS.
- Remove pycrypto.
- Isolate crypto calls behind one internal module so the algorithm can change in one place.