You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With NIST finalizing post-quantum standards (FIPS 203/204/205) and the
recommended migration deadline of 2030, I ran a quick scan of paramiko
for quantum-vulnerable cryptography.
Findings (19 total):
File
Line
Algorithm
Risk
ecdsakey.py
14, 38, 61
ECC (SECP256K1/SECP256R1)
CRITICAL
kex_ecdh_nist.py
27, 49
ECC
CRITICAL
rsakey.py
43, 88, 134, 201, 256
RSA
CRITICAL
pkey.py
112
RSA
CRITICAL
_util.py
18
RSA
CRITICAL
_util.py
42, 67
SHA-1
HIGH
pkey.py
88
AES-128
MEDIUM
Why it matters:
Shor's algorithm breaks RSA and ECC in polynomial time on a quantum
computer. "Harvest now, decrypt later" attacks mean adversaries may
already be storing SSH traffic to decrypt once quantum hardware arrives.
Suggested replacements (per NIST):
RSA/ECC → CRYSTALS-Dilithium (ML-DSA, FIPS 204) for signatures
Key exchange → CRYSTALS-Kyber (ML-KEM, FIPS 203)
SHA-1 → SHA-384 or SHA-512
AES-128 → AES-256
I understand this is a large migration and depends on what the underlying
SSH protocol itself standardizes (RFC 9142 / OpenSSH PQC work). Happy to
help or provide more detail on any specific file.
KEX is the only priority here. AES-128 does not need to be upgraded for PQ. Signatures are lower priority because they're not vulnerable to store-now-decrypt-later attacks.
If you're going to go around filing bugs on people's repos, please do not be insisting AES-128 needs to be upgraded, it's a waste of people's time.
Now that pyca/cryptography 48.0.0 (May 2026) added ML-KEM and ML-DSA support when built against OpenSSL 3.5+, can we enable ML-KEM (hybrid) key encapsulation within paramiko to protect against "harvest now, decrypt later" attacks?
I see #2604 about it. ML-KEM support in Paramiko would be welcome, that would be the first required step toward quantum-safe paramiko.
Activity
alex commentedon May 10, 2026
KEX is the only priority here. AES-128 does not need to be upgraded for PQ. Signatures are lower priority because they're not vulnerable to store-now-decrypt-later attacks.
If you're going to go around filing bugs on people's repos, please do not be insisting AES-128 needs to be upgraded, it's a waste of people's time.
What-Do-I-Know commentedon Jul 23, 2026
Now that pyca/cryptography 48.0.0 (May 2026) added ML-KEM and ML-DSA support when built against OpenSSL 3.5+, can we enable ML-KEM (hybrid) key encapsulation within paramiko to protect against "harvest now, decrypt later" attacks?
I see #2604 about it. ML-KEM support in Paramiko would be welcome, that would be the first required step toward quantum-safe paramiko.