pqcmap logo: an engraving of a tardigrade

Find what a host protects with cryptography, and grade it against the NSA post-quantum advisory.

Checks

The tools and checks in the current source: tls, ssh, smtp-starttls and imap-starttls. A tool probes a kind of endpoint; a check grades one aspect of what the tool observed; each check can end in one of several reasons, and every reason has an outcome in each profile (pass, warn, fail, info or error) and an anchor naming the source of the grade. Run pqcmap explain CHECK-ID for the full text of any check.

The full per-check reference, with what it checks, how it checks it, why it matters, what to do per server software, every result and references, arrives with 0.2.0. This page is a summary.
Checks in the current source
CheckToolWhat it examinesAdvisory actionsReasons
tls.groupstls, smtp-starttls, imap-starttls The key exchange group a baseline handshake selects, then which of eight groups the server accepts when offered alone. Rejection needs an explicit alert; anything else is inconclusive.1, 2, 610
tls.versionstls, smtp-starttls, imap-starttls Whether TLS 1.3 is established, and whether a handshake capped at TLS 1.2 is still accepted.2, 54
tls.certificatetls, smtp-starttls, imap-starttls The leaf certificate's public-key algorithm and size, signature algorithm, validity dates, subject and issuer. Validity is recorded, not graded.3, 414
starttls.offeredsmtp-starttls, imap-starttls Whether the mail server offers an STARTTLS upgrade, refuses it, or gives no clear answer. It never sends a message or authenticates. The TLS checks then grade the upgraded connection. in the current source; first release 0.2.023
ssh.kexssh The key exchange algorithms the server offers in its SSH_MSG_KEXINIT. The result is a grade of the offered set, not an observed negotiation.1, 2, 610
ssh.hostkeysssh The host key algorithm names offered in SSH_MSG_KEXINIT. No host key is requested, so key size cannot be inferred.3, 48
ssh.versionssh The OpenSSH version in the banner, as an informational upgrade hint. Banners can be changed or backported, so it never changes a grade.54

How profiles differ

  • A hybrid group such as X25519MLKEM768 passes in pragmatic. cnsa grades it a warning, because CNSA 2.0 specifies ML-KEM-1024.
  • X25519 or P-256 accepted alone: warn in pragmatic, fail in cnsa.
  • P-384 accepted alone: info in both profiles. P-521 accepted alone: info in pragmatic, warn in cnsa.
  • TLS 1.2 accepted is a warning in both profiles for TLS and IMAP, and informational in both profiles for SMTP.
  • STARTTLS offered: pass in both profiles. STARTTLS not offered (plaintext only): fail in both. Inconclusive: error.
  • Certificate keys: RSA-3072 and P-384 are interim classical options; P-256, Ed25519 and RSA-2048 receive weaker outcomes, more strictly in cnsa.

Known gaps in the current source

These protocols are listed in the catalog with no check, so a run does not grade them. discover and check list a listener on one of these ports as unchecked and put the protocol in the coverage manifest; scan reports carry no manifest. The release in which a gap is planned to close is shown where one has been decided; plans can change.

Protocols with no check yet
ProtocolPortPlan
LDAPS636/tcpplanned for 0.3.0: graded by the tls tool as a TLS service on a dedicated port
DNS over TLS853/tcpplanned for 0.3.0: same
MQTT over TLS8883/tcpplanned for 0.3.0: same
POP3 with STLS110/tcpplanned for 0.3.0
PostgreSQL TLS5432/tcpplanned for 0.3.0
MySQL TLS3306/tcpplanned for 0.3.0: identified passively; graded only on request
QUIC and HTTP/3443/udpplanned for 0.3.0
IPsec IKE500, 4500/udpFeasibility study only; no check is planned yet
OpenVPN1194/tcp and udpplanned for 0.3.0: configuration audit
HAProxy configurationfileplanned for 0.3.0: configuration audit
DNSSECDNSplanned for 0.3.0
DKIMDNSplanned for 0.3.0