EvilPet
Systems Engineering By Andrew Grosser · EvilPet Security · 5 min read

Upgraded OpenSSL and OpenSSH? Three Config Lines Might Still Strip PQC

Why servers that 'support' ML-KEM still negotiate classic X25519 by default — and how to test both default and forced post-quantum handshakes.

Authentic university physics lab photograph of an open gold-plated cryogenic dilution refrigerator c
Go tls.Config{CurvePreferences: ...}
Explicitly pinning []tls.CurveID{tls.X25519, tls.CurveP256} disables Go's built-in X25519MLKEM768 default.
Nginx ssl_ecdh_curve + ssl_prefer_server_ciphers
Listing X25519:prime256v1 ahead of X25519MLKEM768 forces classic key exchange even when the browser requests ML-KEM first.
OpenSSH KexAlgorithms Hardening
Copy-pasted CIS sshd_config lines pinning curve25519-sha256 first demote mlkem768x25519-sha256 to fallback-only — or remove it completely.

Test Default vs. Supported PQC — Then Scan Your Repo Free

EvilPet's PQC test runs a two-stage check on TLS/443 and inspects your SSH KEXINIT order on port 22: OK if PQC is negotiated by default, Warning if PQC is supported but classic wins by default, and Error if PQC is missing.

Public GitHub repository scans on EvilPet are always free — proving real vulnerabilities and opening production-ready fix pull requests.

Field telecom technician's weathered hands on the wet steel tailgate of a utility van at rainy dawn,