Where do you start?
Pick what describes you. Each path takes minutes, uses free tools, and gives you the exact commands to run.
I run a website, API or server
Make your connections quantum-safe
- 1
Check your site
Type your domain on the checker. It connects the way a modern browser does and tells you whether your site already uses post-quantum key exchange.
- 2
Turn on the hybrid key exchange
If it says not yet, the result page gives you the exact setting for nginx, Apache, Caddy, HAProxy, Node.js, Go, Java, Cloudflare, AWS, Google Cloud and Azure. It's usually one line and a reload.
- 3
Check again from your terminal
Run the same check yourself, for as many domains as you like. Add your SSH servers too: pqe reads their key-exchange offer without logging in.
npx -y pqe-cli check example.com api.example.com - 4
Check SSH servers
pqe looks for the post-quantum key exchanges mlkem768x25519 (OpenSSH 9.9+) and sntrup761x25519 (OpenSSH 9.0+) and tells you what to change.
npx -y pqe-cli ssh your-server.example.com
I'm a developer with a codebase
Find and fix vulnerable crypto in your code
- 1
Scan your project
You need Node.js 20 or newer (check with
node -v). Open a terminal in your project's folder. Nothing leaves your machine.npx -y pqe-cli scan . - 2
See every finding
The first report is short: a grade and the top issues. This lists every finding with its file, line, why it matters and what to use instead.
npx -y pqe-cli scan . --details - 3
Fix it, with your AI if you like
Ask pqe about any algorithm, or add it to Claude, Cursor or VS Code and ask your assistant to fix what it finds.
Add pqe to your AInpx -y pqe-cli explain rsa - 4
Keep it fixed in CI
Accept what you can't change yet with a baseline file (commit it), then fail builds only on new problems. On GitHub, use the Action:
uses: dmoney25632/pqe@v0.GitHub Action setupnpx -y pqe-cli scan . --write-baseline
I'm responsible for security or compliance
Build an inventory and a migration plan
- 1
Inventory the cryptography you use
Produce a crypto bill of materials (CycloneDX 1.6 CBOM) for each repository: every algorithm, where it's used and its quantum risk.
npx -y pqe-cli scan . --cbom -o cbom.json - 2
Share a readable report
A Markdown report with the grade and findings, for tickets, wikis or a pull request.
npx -y pqe-cli scan . --md -o pqe-report.md - 3
Know your deadlines
NIST plans to deprecate RSA and elliptic curves by 2030 and disallow them by 2035. The US, EU and UK have their own dates.
- 4
Plan the work
Fix key exchange first (harvest now, decrypt later), then signatures, then the rest. The playbook covers inventory, priorities, crypto-agility, hybrids and monitoring.
I want to understand it first
Learn the basics, without the physics
- 1
What encryption does
Keys, hashes, signatures, and what happens when your browser opens an HTTPS page.
- 2
What quantum computers change
Which algorithms break, which survive, and how close the threat really is.
- 3
Harvest now, decrypt later
Why data sent today is already at risk, and how to judge your exposure.
- 4
Look up any algorithm
68 algorithms rated for quantum risk, with what replaces each one.
Reading your results
What your grade means.
Every scan gives a score out of 100 and a grade. One critical issue in production code caps the grade at D, so the grade tracks what matters most, not just how many findings there are.
A
Quantum-ready
Nothing quantum-vulnerable found, or only minor issues. Keep scanning as code changes.
B
Nearly ready
A few lower-risk items left, usually in tests or legacy paths.
C
Some work to do
Real issues, but no critical ones in production code.
D
Needs work
At least one critical issue in production code, such as RSA or ECDH key exchange.
F
Not ready yet
Many serious issues. Normal for code written before 2024: start with the Fix first list.
The four kinds of finding
The report sorts everything it finds into these, most urgent first.
Fix first
Key exchange and encryption with RSA, Diffie-Hellman or elliptic curves. Data recorded today can be decrypted later, so this is the most urgent.
Fix now
Already broken without any quantum computer: MD5, SHA-1, DES, RC4, TLS 1.0, small RSA keys.
Plan to fix
Signatures, certificates and keys. A future quantum computer could forge them, but can't unlock past data. Move them over time.
Good
Already post-quantum (ML-KEM, ML-DSA, X25519MLKEM768) or quantum-safe (AES-256, SHA-256 and up).
Findings in tests, examples, benchmarks and vendored code are rated one step lower. pqe matches patterns in your files and doesn't run your code, so a clean scan means nothing was found, not proof there's nothing there. How accurate pqe is
If something's not right
Common questions and fixes.
›“command not found: npx”, or a Node.js error
Install Node.js 20 or newer from nodejs.org, then open a new terminal. Check with node -v.
›Does it work on Windows?
Yes. Run the same commands in PowerShell or Windows Terminal. macOS and Linux work in any terminal.
›npx asks “Ok to proceed?”
That's npx confirming the download. The -y in our commands answers yes for you. To skip the download each time, install it once: npm install -g pqe-cli, then run pqe scan ..
›It flags something that's fine, or that I can't change yet
Add a comment containing pqe-ignore with a reason on that line or the line above. To skip whole folders, list them in a .pqeignore file (gitignore syntax). Accepted findings still count towards the grade, on purpose.
›The scan includes tests, examples or vendored code
Those findings are already rated one step lower. To leave them out entirely, add --no-tests, or skip paths with --exclude "legacy/**".
›CI fails on problems we already know about
Run npx -y pqe-cli scan . --write-baseline once and commit .pqe-baseline.json. After that, --fail-on high only fails on new findings.
›The website check says it can't reach my site
The checker connects to port 443 from the public internet. Sites behind a VPN, an IP allow-list or on an internal network can't be reached: run npx -y pqe-cli check from inside your network instead.
›A clean scan: am I done?
It means pqe found nothing in your code. Crypto also lives in dependencies, TLS terminators, load balancers and cloud key services, so check your public sites and SSH servers too.
Still stuck, or found a bug? Open an issue on GitHub.