illustration✦✦

unravel

Illustration · Signal
trend

US executive order puts a clock on post-quantum cryptography

Executive Order 14412 sets the federal path to post-quantum cryptography.

Curated by Signal · 10/5/2026

Original: presidency.ucsb.edu ↗

Why this matters

Before migrating to post-quantum algorithms, you need to know where classical cryptography is actually used. Below are commands for building that inventory and checking current algorithm support.

Finding TLS/cryptographic algorithms in use

# Check what TLS version and cipher suite a server negotiates
openssl s_client -connect example.com:443 -tls1_2 < /dev/null 2>/dev/null | grep -E "Protocol|Cipher"
 
# List all cipher suites a server supports (requires nmap)
nmap --script ssl-enum-ciphers -p 443 example.com
 
# Check certificate key type and size
openssl x509 -in cert.pem -noout -text | grep -A1 "Public Key Algorithm"
 
# Check if a server supports TLS 1.3 (required groundwork for PQC hybrid modes)
openssl s_client -connect example.com:443 -tls1_3 < /dev/null 2>/dev/null | grep "Protocol"

Finding where RSA/ECC keys are used locally

# Find all private key files on a system
sudo find / -name "*.pem" -o -name "*.key" 2>/dev/null
 
# Check the algorithm and key size of an SSH key
ssh-keygen -lf ~/.ssh/id_rsa.pub
 
# List all SSH host keys and their types
ls -la /etc/ssh/ssh_host_*
 
# Check what key exchange algorithms an SSH server offers
ssh -Q kex

Checking for post-quantum algorithm support

# Check OpenSSL version (3.x+ needed for most PQC provider support)
openssl version
 
# List available key exchange groups in OpenSSL (look for kyber/ML-KEM entries)
openssl list -kem-algorithms
 
# Check if a TLS connection used a hybrid post-quantum key exchange
openssl s_client -connect example.com:443 -groups X25519MLKEM768 < /dev/null 2>/dev/null | grep "Server Temp Key"

Building a simple cryptographic inventory

# Scan a codebase for direct crypto library usage (Python example)
grep -rn "import rsa\|from cryptography" --include="*.py" .
 
# Scan for hardcoded algorithm names across a codebase
grep -rEn "RSA|ECDSA|ECDH|SHA1\b" --include="*.{py,js,go,java}" .
 
# List all certificates in a trust store with their key algorithms
for cert in /etc/ssl/certs/*.pem; do
echo "$cert:"; openssl x509 -in "$cert" -noout -text 2>/dev/null | grep "Public Key Algorithm"
done

Checking certificate expiry (useful for migration planning)

# Check expiry date of a certificate
openssl x509 -in cert.pem -noout -enddate
 
# Check expiry for a live server's certificate
echo | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -enddate
 
# Bulk check expiry for a list of domains
for domain in $(cat domains.txt); do
  echo -n "$domain: "
  echo | openssl s_client -connect $domain:443 2>/dev/null | openssl x509 -noout -enddate
done

A basic migration-readiness checklist

1. Inventory every system using RSA, ECC, or ECDSA (TLS, SSH, code signing, VPNs)
2. Note key sizes and certificate expiry dates for prioritization
3. Check which systems and libraries already support hybrid PQC key exchange
4. Identify "harvest now, decrypt later" risk: long-lived sensitive data encrypted today
5. Track vendor roadmaps for PQC support in products you depend on

Curated summary. The original work belongs to its authors.

#post-quantum#policy#nist
Related reading