# Pr0-quant: RSA is probably broken, check your servers

> Source: <https://github.com/Sceptive/pr0-quant>
> Published: 2026-12-01 06:58:44+00:00

**Key takeaway:** pr0quant flags SSH servers as COMPLIANT only when they offer hybrid PQ key exchange like mlkem768x25519-sha256 (OpenSSH 9.9+) or sntrup761x25519-sha512@openssh.com (OpenSSH 8.5+), and treats the withdrawn sntrup4591761x25519-sha512@tinyssh.org as non-compliant.

`pr0quant` checks whether servers and services use **post-quantum key exchange**, fixes SSH servers where it can, and writes a report. It is a Rust binary with a terminal UI and headless subcommands, shipped as a Docker image.

| HTTPS target details | Settings and themes | 
|---|---|

*The screenshots show the test matrix: SSH servers checked from ssh_config, two remediated (NON-COMPLIANT → COMPLIANT), and HTTPS services found by `scan`.*

Both protocols use public-key cryptography in two places:

| Where | Quantum risk | What pr0quant does | 
|---|---|---|
| **Key exchange** (SSH KEX, TLS key share) | *Harvest now, decrypt later* : recorded sessions can be decrypted once a large quantum computer exists. | Requires a **hybrid** post-quantum key exchange (classical + ML-KEM or NTRU Prime), so security never drops below today's level. Key-exchange keys are ephemeral, so nothing has to be generated. | 
| **Signatures** (SSH host keys, TLS certificates) | Forgery is only possible *while* the quantum attacker is live. Nothing is exposed retroactively. | SSH: reported, and if the server's OpenSSH build has a PQ signature type (e.g. `ssh-mldsa44-ed25519` ), a host key of that type is reused or created. TLS: not assessed. Public CAs don't issue PQ certificates yet. | 

| Target | Compliant key exchange | Not counted | 
|---|---|---|
| SSH | `mlkem768x25519-sha256` (OpenSSH ≥ 9.9, default from 10.0),`sntrup761x25519-sha512[@openssh.com]` (OpenSSH ≥ 8.5, default from 9.0) | `sntrup4591761x25519-sha512@tinyssh.org` (OpenSSH 7.9–8.4, withdrawn) | 
| HTTPS | TLS 1.3 groups `X25519MLKEM768` (what browsers use),`SecP256r1MLKEM768` ,`SecP384r1MLKEM1024` | `X25519Kyber768Draft00` (pre-standard draft, dropped by clients) | 

Each target gets a **verdict**:

| Verdict | Meaning | 
|---|---|
| **COMPLIANT** | A hybrid PQ key exchange is offered. Under `--strict` , classical key exchange must be refused as well. | 
| **PARTIAL** | PQ is offered, but `--strict` was requested and classical methods are still accepted. | 
| **NON-COMPLIANT** | No hybrid PQ key exchange is offered, or only the obsolete ones. | 
| **UNKNOWN** | Unreachable, not SSH/TLS, or the check failed. Not saved, so it's retried next time. | 

1. 
**Unauthenticated probe.** pr0quant opens a TCP connection, exchanges version banners and reads the server's`SSH_MSG_KEXINIT` . That gives the KEX, host key, cipher and MAC lists the server*actually offers* , independent of any SSH library. The verdict is based on this list alone, so a server can be checked without credentials.
2. 
**Authenticated facts** (if a key or password works). These decide*how* a server can be fixed:
  - OS and package manager (`/etc/os-release` ,`freebsd-version` ), init system (systemd / FreeBSD rc.d / OpenRC / none);
  - sshd binary and config path (`/etc/ssh` or`/usr/local/etc/ssh` for FreeBSD's openssh-portable), whether`sshd_config` includes`sshd_config.d/*.conf` ;
  - what the installed OpenSSH *supports* (`ssh -Q kex` ,`ssh -Q key` ) versus what is*configured* (`sshd -T` , run with root / sudo / doas);
  - available privilege: root login, `sudo` (password from`--sudo-password` ) or passwordless`doas` .
3. OS and package manager (
4. 
**Findings.** Is PQ offered, is it preferred (listed first), is ML-KEM available, are obsolete methods still offered, and the host key status (classical, PQ offered, or a PQ type available but not configured).
5. 
**Remediability** , shown in the INFO column and the report:Result When `-` Already compliant and no PQ host key type left unconfigured `config change` The installed OpenSSH supports a PQ KEX: a config change fixes it `upgrade needed` The installed OpenSSH is too old (below 8.5 for sntrup, 9.9 for ML-KEM) `no: …` Logged in without root/sudo/doas, or no sshd binary found `? not authenticated` Probe only. Supply a key or password for details

HTTPS is checked with three kinds of raw TLS ClientHello. There's no TLS library in the way, so a group is reported only if the server really accepts it:

| Probe | What it shows | 
|---|---|
| **Each PQ group alone** , with an*empty* key share (TLS 1.3 only) | Which hybrid groups the server supports. A supporting server must answer with a HelloRetryRequest naming that group; one that doesn't sends an alert or closes. No ML-KEM key material is needed. | 
| **Browser-like offer** : X25519MLKEM768 + X25519 + P-256 + P-384, X25519 key share, TLS 1.2 + 1.3 | The negotiated TLS version (TLS 1.2-only servers can't do PQ), and whether the server *prefers* PQ: it asks the client to retry with X25519MLKEM768 instead of accepting X25519. | 
| **Classical-only offer** | Whether clients without PQ are still accepted (used by `--strict` ). | 

SNI is sent when the target is a host name (or `--sni NAME`). Certificates are not inspected, because TLS 1.3 encrypts them.

HTTPS targets are **check-only**: `remediate` never changes them (see [HTTPS targets](#https-targets-1) under remediation for what to change on the server).

```
pr0quant check --https --host www.example.com              # one service (port 443; --sni NAME, --port P)
pr0quant add --https --host intranet.local --port 8443     # saved; default alias https://intranet.local:8443
pr0quant scan 10.0.0.0/24 192.168.1.10-40 -P 443,8443      # find TLS services, check them, save them
pr0quant check --kind https                                # only HTTPS targets (--kind ssh for SSH only)
```

**Scanning:**

- **Ranges:** CIDR (`10.0.0.0/24` ),`a-b` ranges (`10.0.0.5-10.0.0.40` or`10.0.0.5-40` ), single addresses, IPv6 (`/108` or smaller) and host names.
- **Ports:** 443 and 8443 by default. Change them with`-P` (lists and ranges allowed, e.g.`443,8000-8010` ).
- **Which ports count:** every open port that answers a TLS ClientHello becomes a target named`https://host:port` . Plain HTTP and other services are skipped.
- **Saved services:** found services and their results are saved in the database and appear in later runs (`--no-save` to skip).
- **Limits:**`--max-hosts` (default 4096) caps the range size.`--scan-concurrency` (128) and`--connect-timeout-ms` (1500) control speed.
- **In the TUI:**`S` opens a scan form, and`+` can add an HTTPS target (switch Type with space).

Only scan networks you are authorised to scan.

```
docker build -t pr0quant .

# Interactive UI over every concrete Host in your ~/.ssh/config
docker run --rm -it -v ~/.ssh:/ssh:ro -v "$PWD/out:/out" pr0quant

# One server, headless
docker run --rm -v ~/.ssh:/ssh:ro -v "$PWD/out:/out" -e PR0QUANT_SUDO_PASSWORD \
  pr0quant check --host 10.0.0.5 --user admin --accept-new

# Fix everything that only needs a config change; ask before upgrading packages
docker run --rm -it -v ~/.ssh:/ssh:ro -v "$PWD/out:/out" pr0quant remediate
```

Reports are written to `/out`: `pr0quant-report-<timestamp>.json` and a self-contained `pr0quant-report-<timestamp>.html`. In TUI mode the log goes to `/out/pr0quant.log`.

On Linux hosts the container runs as uid 1000. If your `~/.ssh` belongs to another uid, add `--user "$(id -u):$(id -g)"` so the keys are readable.

[`.github/workflows/container.yml`](https://github.com/Sceptive/pr0-quant/blob/main/.github/workflows/container.yml) builds the image on GitHub:

| Event | What happens | 
|---|---|
| Pull request | `cargo test` , then the image is built for`linux/amd64` and`linux/arm64` and smoke-tested. Nothing is published. | 
| Push to `main` | Same, then published as `ghcr.io/sceptive/pr0quant:main` ,`:latest` and`:sha-<commit>` | 
| Tag `v1.2.3` | Published as `:1.2.3` ,`:1.2` ,`:1` and`:latest` | 
| Manual run | Actions tab, *container image* ,*Run workflow* | 

Each architecture is built natively on GitHub's x86 and Arm runners, then combined into one multi-arch image. Changes to only Markdown or `docs/` don't trigger a build.

```
docker pull ghcr.io/sceptive/pr0quant:latest
docker run --rm -it -v ~/.ssh:/ssh:ro -v "$PWD/out:/out" ghcr.io/sceptive/pr0quant
```

The image is private at first, like any new GHCR package. To let others pull it, make it public under the repository's *Packages* settings.

Pushing a tag `v<version>` (it must match `version` in `Cargo.toml`) runs [`.github/workflows/release.yml`](https://github.com/Sceptive/pr0-quant/blob/main/.github/workflows/release.yml). It publishes a GitHub Release with:

| Asset | For | 
|---|---|
| `pr0quant-<v>-linux-x86_64.tar.gz` ,`-linux-aarch64.tar.gz` | any Linux distro: static (musl) binaries with no runtime dependencies | 
| `pr0quant-<v>-macos-universal.tar.gz` | macOS, Apple Silicon and Intel | 
| `pr0quant_<v>-1_amd64.deb` ,`_arm64.deb` | Debian, Ubuntu ( `apt install ./pr0quant_*.deb` ) | 
| `pr0quant-<v>-1.x86_64.rpm` ,`.aarch64.rpm` | RHEL, Fedora, Rocky, Alma, openSUSE ( `dnf install ./pr0quant-*.rpm` ) | 
| `pr0quant_<v>-r1_x86_64.apk` ,`_aarch64.apk` | Alpine ( `apk add --allow-untrusted ./pr0quant_*.apk` ) | 
| `pr0quant-<v>-1-x86_64.pkg.tar.zst` ,`-aarch64.pkg.tar.zst` | Arch Linux ( `pacman -U ./pr0quant-*.pkg.tar.zst` ) | 
| `SHA256SUMS` | checksums of all assets | 

The packages install `/usr/bin/pr0quant` plus the README and `targets.example.toml` in `/usr/share/doc/pr0quant`. They recommend the OpenSSH client and `sshpass`, which are needed only for the strict/sntrup fallback and for password logins.

Before publishing, the workflow runs `cargo test`, checks that every binary reports the tagged version, and installs the `.deb`, `.rpm` and `.apk` in clean Debian 12, Rocky 9 and Alpine containers. Tags with a suffix (`v1.0.0-rc1`) become pre-releases. To rebuild an existing tag, run the workflow manually with that tag. The same tag also produces the container image (`ghcr.io/sceptive/pr0quant:<v>`).

```
git tag v0.1.0 && git push origin v0.1.0
php
./build.sh                         # release build -> bin/pr0quant
./build.sh --test                  # run cargo test first
./build.sh --debug                 # debug build
./build.sh --target <triple>       # cross build (rustup target + linker needed) -> bin/pr0quant-<triple>
./build.sh --clean                 # remove bin/ and target/ first

bin/pr0quant list
```

You need a Rust toolchain ([https://rustup.rs](https://rustup.rs)). Run natively, pr0quant reads `~/.ssh` (config, keys, known_hosts) directly and writes reports to `./pr0quant-out` (change with `--out`). Strict-mode servers need the OpenSSH fallback, so `ssh` (10.x recommended) must be on `PATH`, plus `sshpass` for password logins.

1. 
`--host H [--port P --user U]` : a single server.
2. 
`--targets file.toml` : a list of targets; see[`targets.example.toml`](https://github.com/Sceptive/pr0-quant/blob/main/targets.example.toml) .
3. 
**ssh_config discovery.** If neither of the above is given, or`--ssh-config` is passed explicitly, pr0quant reads:
  - the files given with `--ssh-config` (the option can be repeated); otherwise
  - `/ssh/config` (your mounted`~/.ssh` ),`$HOME/.ssh/config` and`/etc/ssh/ssh_config` .
 Every concrete `Host` alias becomes a target, meaning any pattern without`*` ,`?` or`!` . Each alias is resolved with OpenSSH semantics: first value wins,`Host *` defaults apply, and`Include` (with globs),`HostName %h` ,`Port` ,`User` and`IdentityFile` are understood. Paths under`~/.ssh/…` or`/Users/<you>/.ssh/…` are mapped to`/ssh/…` inside the container. Hosts that use`ProxyJump` or`ProxyCommand` are listed but not supported yet.
4. the files given with 
5. 
**Added targets** from the database (see below) are listed alongside the ssh_config hosts.

Use `--only a,b` and `--exclude c` to pick from the list.

pr0quant keeps a SQLite database:

- at `/out/pr0quant.db` in the container, so it persists through the`/out` mount;
- natively, in the user data directory (`~/Library/Application Support/pr0quant/pr0quant.db` on macOS,`~/.local/share/pr0quant/pr0quant.db` on Linux).

A database left at the old default location from when the tool was called `pqssh` (`pqssh/pqssh.db`, or `/out/pqssh.db`) is moved to the new one on first run.

Use `--db PATH` (or `PR0QUANT_DB`) to put it elsewhere, or `--no-db` to turn it off.

The database holds:

- **Every loaded target** , with its connection info: alias, host, port, user, IdentityFiles and source.
- **The last check result** of each target, per policy (pq-first or strict).
- **HTTPS services** , whether added by hand or found by`scan` .

A saved result is reused until the target's host, port or user changes. Unknown results (unreachable host, failed login) are not saved, so those targets are tried again.

How saved results are used:

- `check` checks only targets without a saved result. The saved ones still appear in the report, marked with the time they were checked.
- `remediate` skips targets saved as compliant, and checks the rest live before changing anything.
- `--recheck` checks everything again.`pr0quant forget [ALIAS…]` clears saved results.
- In the TUI, `c` skips saved targets and`C` checks them again.

**Added targets** are hosts that aren't in any ssh_config. They are stored in the database and loaded on every run.

```
pr0quant add --host 10.0.0.7 --port 2222 -u ops -i ~/.ssh/id_ed25519 --alias lab7
pr0quant remove lab7
```

In the TUI, `+` opens an "Add target" form and `x` removes an added target. Passwords and passphrases are **never** written to the database. Supply them with the env vars, or with `p` in the TUI.

Keys are tried first, in this order: `--key`, the target's `IdentityFile` s, then `/ssh/id_ed25519`, `id_ecdsa` and `id_rsa`. After the keys, a password is tried.

| Option | Env var | Used for | 
|---|---|---|
| `--password` | `PR0QUANT_PASSWORD` | login (and sudo, unless a sudo password is given) | 
| `--sudo-password` | `PR0QUANT_SUDO_PASSWORD` | `sudo -S` | 
| `--key-passphrase` | `PR0QUANT_KEY_PASSPHRASE` | encrypted private keys | 

Prefer the env vars, so secrets stay out of shell history and `docker inspect`. In the TUI, `p` sets credentials for the selected targets. A failed login opens the same prompt and retries.

For privilege, pr0quant uses a root login, `sudo`, or passwordless `doas`, whichever works. Remote scripts are fed to `sh -s` on stdin, so any login shell works, including csh/tcsh.

Host keys are checked against `/ssh/known_hosts` and `~/.ssh/known_hosts`. Unknown hosts are refused unless you pass `--accept-new` (trust on first use). A **changed** host key is always refused.

Nothing is changed unless you run `remediate` or press `r`. For a preview, use `--dry-run` or the `n` toggle in the TUI. Each SSH target is checked first. Then, depending on its remediability:

1. 
**Plan the KEX list** from the policy, intersected with what the server's OpenSSH supports (`ssh -Q kex` ):
  - **pq-first** (default): PQ methods first (ML-KEM before sntrup), then modern classical ones, so old clients keep working;
  - **strict** (`--strict` ,`s` in the TUI): PQ methods only. Clients without PQ key exchange are locked out.
 If the effective KEX list is already compliant under the policy, it is left alone.
2. 
**Back up** every file before touching it, as`*.pr0quant.bak.<timestamp>` .
3. 
**Write the config** where sshd will honour it (sshd uses the*first* value it reads):
  - with `Include …/sshd_config.d/*.conf` : a drop-in`sshd_config.d/00-pr0quant-kex.conf` ;
  - otherwise, or if another directive overrides the drop-in: a `# BEGIN pr0quant … # END pr0quant` block at the top of`sshd_config` .
 Leftovers from when the tool was called `pqssh` are cleaned up: an old`# BEGIN pqssh` block is replaced, and`00-pqssh-kex.conf` is backed up and moved aside.
4. with 
5. 
**PQ host key** (only if the OpenSSH build has a PQ signature type that isn't configured yet). An existing`ssh_host_<type>_key` is reused, otherwise one is created with`ssh-keygen -t <type>` . A`HostKey` line is added, and the existing host keys stay.
6. 
**Validate:**`sshd -t` must accept the config, and`sshd -T` must show the new`KexAlgorithms` as effective.
7. 
**Reload, not restart,** so existing sessions survive.
8. 
**Lockout guard:** a fresh KEXINIT probe must show the new list, and a**fresh login** must succeed (with the OpenSSH 10 client if the server is now PQ-only and sntrup-only). If either fails, everything is rolled back from the backups through the still-open original session, and sshd is reloaded again.
9. 
**Re-check** and record the result. The verdict shows as`NON-COMPLIANT → COMPLIANT` , and the actions are listed in the details and the report.

Even so, keep a second session or console access open when changing production servers.

| Target | Detected by | Config change | Reload | OpenSSH too old → upgrade (asks first) | 
|---|---|---|---|---|
| **Debian, Ubuntu** | `apt-get` | drop-in ( `sshd_config.d` is included by default) | `systemctl reload ssh` (signal to sshd in containers) | `apt-get install --only-upgrade openssh-server openssh-client` , config kept. Debian 11 / Ubuntu 20.04 repos have nothing ≥ 8.5, so the report says an OS upgrade is needed. | 
| **RHEL, Fedora, Alma, Rocky** | `dnf` /`yum` | drop-in if included, else block | `systemctl reload sshd` | `dnf upgrade` /`yum update` of the OpenSSH packages | 
| **openSUSE / SLES** | `zypper` | drop-in if included, else block | `systemctl reload sshd` | `zypper update openssh-server openssh-clients` | 
| **Alpine** | `apk` | drop-in if included, else block | `rc-service sshd reload` | `apk upgrade openssh-server openssh-client` | 
| **Arch Linux** | `pacman` | drop-in if included, else block | `systemctl reload sshd` | `pacman -Syu openssh` . This is a**full system upgrade** (partial upgrades are unsupported on Arch), and the prompt says so. | 
| **FreeBSD (base sshd)** | `pkg` , rc.d | block at the top of `/etc/ssh/sshd_config` | `service sshd reload` | Base sshd can't be upgraded by package. `pkg install openssh-portable` , the base config is copied to`/usr/local/etc/ssh` (keeping the`/etc/ssh` host keys, so clients see the same host identity), validated, then the service is switched (`sshd_enable=NO` ,`openssh_enable=YES` ). FreeBSD 13.x is EOL: its pkg repo is gone, and the report says so. | 
| **FreeBSD (openssh-portable)** | `openssh_enable=YES` | block in `/usr/local/etc/ssh/sshd_config` | `service openssh reload` | `pkg upgrade` is left to you | 
| **No service manager** (containers) | no systemd/rc.d/OpenRC | as above | `SIGHUP` to sshd (pid file, else the oldest`sshd` ) | as above | 
| **No root / sudo / doas** | login works, no privilege | none | none | none. Reported as `no: no root/sudo/doas privileges` | 
| **Dropbear, appliances, network gear** | no OpenSSH `sshd` | none | none | none. Checked and reported only | 

Upgrades are **always confirmed**: a dialog in the TUI, a `[y/N]` prompt in a terminal, or `--yes` for unattended runs. Without one of these they're skipped and reported as declined. pr0quant never builds OpenSSH from source. After an upgrade, steps 1–8 run as above.

HTTPS services are reported, never changed: there is no safe, generic way to edit every web server's TLS settings remotely. The report says what to change:

| Server | PQ key exchange | 
|---|---|
| **nginx** with OpenSSL ≥ 3.5 | OpenSSL 3.5's default groups already include X25519MLKEM768, so `ssl_ecdh_curve auto` (the default) is enough. If the curve list is pinned, use`ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;` | 
| **Apache httpd** (mod_ssl) with OpenSSL ≥ 3.5 | `SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:prime256v1` | 
| **HAProxy** with OpenSSL ≥ 3.5 or AWS-LC | `ssl-default-bind-curves X25519MLKEM768:X25519:P-256` | 
| **Caddy** , Go services (Go ≥ 1.24) | X25519MLKEM768 is on by default. Rebuild with a current Go toolchain. | 
| **TLS 1.2-only** services | Enable TLS 1.3 first. Hybrid groups exist only in TLS 1.3. | 

For `--strict` (PQ-only), drop the classical groups from the list, for example `ssl_ecdh_curve X25519MLKEM768;`. Only do this if every client supports PQ; current browsers, OpenSSL 3.5+, Go 1.24+ and recent curl do.

**Built-in client and fallback.** pr0quant's own SSH client (russh) speaks `mlkem768x25519-sha256` but not sntrup. For a server restricted to sntrup only, it falls back to the image's OpenSSH 10 client, using `sshpass` for passwords. `--openssh` forces that backend.

`↑↓`/` jk` move · `space` select · `a` all · `/` filter · `l` reload ssh_config · `c` check (unsaved) · `C` check again · `+` add SSH/HTTPS target · `S` scan for HTTPS · `x` remove added/scanned target · `r` remediate · `s` strict · `n` dry-run · `o`/` F2` settings (theme, policy, dry-run) · `p` credentials · `e` export report · `PgUp/PgDn` (or `Ctrl-b`/` Ctrl-f`) page through targets · `Ctrl-u`/` Ctrl-d` half page · `Home`/` End` (`g`/` G`) first/last · `[`/`]` scroll details · `?` help · `q` quit (a report is written if anything ran)

| Theme | Look | 
|---|---|
| `nord` (default) | Nord palette: frost blues on polar night | 
| `pastel` | soft pastel colours on a dark base | 
| `powerline` | panel titles and the key bar drawn as powerline segments; needs a Powerline or Nerd Font in the terminal | 
| `classic` | the terminal's own 16 colours, for terminals without 24-bit colour | 

Pick a theme in **Settings** (`o`): move with ↑↓ and change with ←→ or space. The choice is saved in the database and used on the next start. `--theme NAME` (or `PR0QUANT_THEME`) overrides it for one run.

Actions apply to the selected targets, or to the current row if nothing is selected. Checks run concurrently (`--concurrency`, default 8).

```
pr0quant list                       # targets with their saved results
pr0quant check [--json] [--recheck] # exit 0 all compliant, 1 some non-compliant, 2 errors/unknown
pr0quant remediate [--strict] [--dry-run] [--yes]
pr0quant add --host H [--port P] [-u USER] [-i KEY] [--alias NAME]
pr0quant scan RANGE... [-P 443,8443] [--no-save]
pr0quant remove ALIAS...            # added or scanned targets only
pr0quant forget [ALIAS...]          # drop saved results
```

`--json` prints the full report on stdout.

```
cargo test                       # unit tests (parsers, policy, verdicts, generated shell, reports)
test/e2e.sh                      # Linux matrix in Docker
WITH_FREEBSD=1 test/e2e.sh       # + FreeBSD 13/14/15 VMs (QEMU; images cached in ~/.cache/pr0quant-freebsd)
```

| Target | OpenSSH | Initial | Exercised | 
|---|---|---|---|
| debian:11 | 8.4 | NON-COMPLIANT | approved upgrade, repo has nothing newer → reported | 
| debian:12 | 9.2 | COMPLIANT | `--strict` (sntrup-only, through the OpenSSH fallback) | 
| debian:12 + classical config | 9.2 | NON-COMPLIANT | config fix via drop-in | 
| debian:13 | 10.0 | COMPLIANT | `--strict` | 
| ubuntu:20.04 | 8.2 | NON-COMPLIANT | upgrade declined → "upgrade required" | 
| ubuntu:24.04 (+ classical) | 9.6 | COMPLIANT (NON-COMPLIANT) | config fix | 
| archlinux (+ classical) | 10.6 | COMPLIANT (NON-COMPLIANT) | config fix, `--strict` | 
| archlinux, no PQ host key | 10.6 | COMPLIANT | `ssh-mldsa44-ed25519` host key created and served | 
| debian:12 "rollback" | 9.2 | NON-COMPLIANT | forced verification failure → rolled back | 
| nginx (OpenSSL 3.5) defaults, :443 | TLS 1.3 | COMPLIANT (PARTIAL strict) | found by `scan` , X25519MLKEM768 detected | 
| nginx `ssl_ecdh_curve X25519MLKEM768` , :8443 | TLS 1.3 | COMPLIANT (strict too) | classical offer refused | 
| nginx `X25519:prime256v1` , :443 | TLS 1.3 | NON-COMPLIANT | `remediate` makes no changes (check only) | 
| nginx TLS 1.2 only, :8443 | TLS 1.2 | NON-COMPLIANT | "no TLS 1.3" finding | 
| FreeBSD 13.5 (EOL) | 9.9 | NON-COMPLIANT (classical fixture) | root login with csh shell, config via `sshd_config` block; forced pkg upgrade fails cleanly (repo gone) | 
| FreeBSD 14.5 | 10.0 | NON-COMPLIANT (classical fixture) | config via block, `service sshd reload` , sudo; forced`pkg install openssh-portable` switch (→ 10.6, host keys kept) | 
| FreeBSD 15.1 | 10.0 | NON-COMPLIANT (classical fixture) | config fix, `--strict` | 

On arm64 hosts the Arch targets use `menci/archlinuxarm`, because the official image is amd64-only and sshd's seccomp sandbox fails under emulation. The FreeBSD VMs listen on localhost:2313/2314/2315 and are provisioned over the serial console with `expect`.

**Test hooks** (environment variables, for tests only):

- `PR0QUANT_TEST_FAIL_VERIFY=1` makes the post-reload verification fail, to exercise rollback.
- `PR0QUANT_TEST_FORCE_UPGRADE=1` treats every privileged server as needing an upgrade, to exercise the FreeBSD pkg path (FreeBSD's base OpenSSH already supports PQ KEX, so the path is not reached naturally).

- `ProxyJump` /`ProxyCommand` hosts are not supported yet.
- `doas` must be passwordless (`permit nopass` ). Encrypted keys with the OpenSSH fallback need an agent; use the built-in client.
- `Match` blocks in ssh_config are ignored for discovery.
- FreeBSD 13.x is end-of-life and pkg.freebsd.org no longer has packages for it, so neither the openssh-portable path nor sudo/doas can be installed there. Use root login or upgrade the release.
- Network devices and non-OpenSSH servers (Dropbear, appliances) can be *checked* but not remediated.

pr0quant is developed by [**Sceptive**](https://www.sceptive.com/). Sceptive helps organizations and businesses strengthen cyber resiliency with a global cyberdefense grid, post-quantum cryptography and real-world security expertise.

**Post-quantum cryptography services.** Quantum computers are expected to break widely used public-key algorithms such as RSA and ECC with Shor's algorithm. Data encrypted today can be collected now and decrypted later ("harvest now, decrypt later"). Sceptive's [post-quantum cryptography services](https://www.sceptive.com/services/post-quantum-cryptography/) protect digital assets, applications and infrastructure with cryptography that is secure against both classical and quantum attacks. They cover the whole journey from assessment to implementation, not just generic advice.

|  | [support@sceptive.com](mailto:support@sceptive.com) | 
|  | [linkedin.com/company/sceptive](https://www.linkedin.com/company/sceptive/) | 
| Web | [sceptive.com/services/post-quantum-cryptography](https://www.sceptive.com/services/post-quantum-cryptography/) | 

pr0quant shows where your SSH and HTTPS endpoints stand today. A full post-quantum migration reaches further: PKI and certificates, VPNs, applications, libraries, devices and vendor products. Sceptive can help at every stage:

- **Cryptographic inventory and assessment.** Map where and how cryptography is used across infrastructure and applications (pr0quant scans are a starting point), find quantum-vulnerable algorithms and long-lived secrets, and rank them by risk and data lifetime.
- **Migration roadmap.** A tailored, phased plan to move to quantum-resistant systems: priorities, dependencies, vendor readiness, budget and milestones, aligned with emerging standards and regulatory timelines (NIST FIPS 203 ML-KEM, FIPS 204 ML-DSA, FIPS 205 SLH-DSA).
- **Algorithm selection and integration.** Choose hybrid and post-quantum algorithms per use case, and integrate them while handling performance, compatibility and scalability.
- **Quantum transformation of existing systems.** Make existing products and infrastructure quantum-ready. Buying quantum-ready products alone is not enough: configuration, protocols and integrations have to change too. This includes rolling out PQ key exchange on SSH, TLS and VPN at scale, safely.
- **Quantum-ready PKI.** Modern encryption infrastructure with**EJBCA** , including**hybrid certificates** that work with both traditional and quantum-resistant algorithms, so you can start testing and deploying early.
- **Quantum-ready encryption and signing.** Test and adopt hybrid and quantum-ready encryption and signing certificates with solutions built for your environment.
- **Application migration and developer tooling.** Move Java and C# applications to quantum-resistant algorithms with the**Bouncy Castle** libraries, and automate certificate and key lifecycle management for crypto-agility.
- **End-to-end implementation support.** From assessment through rollout, verification and ongoing compliance, with continuous checks (such as pr0quant in CI) that keep you from sliding back to classical-only cryptography.

To discuss your post-quantum migration, email [support@sceptive.com](mailto:support@sceptive.com) or reach us on [LinkedIn](https://www.linkedin.com/company/sceptive/).
