Show HN: Pqc-Audit – Audit OpenSSH ML-KEM, TLS 1.3 PQ, and WireGuard PSKs PrivateByte released pqc-audit, a single-file, read-only Bash CLI (version 1.1.0, MIT licensed) that audits Linux and macOS servers in 5 seconds for harvest-now, decrypt-later exposure across OpenSSH, TLS 1.3 and WireGuard. The tool checks for the mlkem768x25519-sha256 or sntrup761x25519-sha512 key exchange in OpenSSH, the X25519MLKEM768 group in TLS 1.3, and WireGuard peers with no preshared key, returning deterministic exit codes (0 pass, 1 HNDL exposure found, 2 usage error) and single-line JSON for CI and Ansible use. PrivateByte said it built the tool after the December 2, 2026 NSA/CISA/ONCD post-quantum advisory and Jason Donenfeld's WireGuard v2 mailing list update, so operators could replace stitched-together ssh -vv, openssl s_client and wg show commands with one auditable check. A single-file, read-only Bash CLI that audits any Linux/macOS server or remote host in 5 seconds for harvest-now, decrypt-later HNDL exposure across OpenSSH , TLS 1.3 , and WireGuard . Following the December 2, 2026 NSA/CISA/ONCD post-quantum advisory and Jason Donenfeld's WireGuard v2 mailing list update , operators needed one fast, auditable check instead of stitching together verbose ssh -vv , openssl s client , and wg show commands across fleets. - Read-only by design: Never edits /etc/ssh , /etc/nginx , or /etc/wireguard . - Zero dependencies: Pure Bash 3.2+ using standard ssh , openssl , and wg . - CI/Ansible ready: Structured --json output and deterministic exit codes 0 pass, 1 HNDL exposure found, 2 usage error . | Layer | Local Audit sudo ./pqc-audit.sh | Remote Audit --host example.com | Pass Criteria | |---|---|---|---| | OpenSSH | Active sshd -T kexalgorithms or client ssh -Q kex | Live ssh -vv negotiation | mlkem768x25519-sha256 or sntrup761x25519-sha512 | | TLS 1.3 | Local openssl list -kem-algorithms | Live openssl s client -groups X25519MLKEM768 | NIST ML-KEM-768 / X25519MLKEM768 | | WireGuard | wg show all preshared-keys + rosenpass detection | Skipped local-only | 0 peers with none PSK | git clone https://github.com/privatebyte-com/pqc-audit.git cd pqc-audit chmod +x pqc-audit.sh sudo ./pqc-audit.sh --print-fix ./pqc-audit.sh --host cloudflare.com ./pqc-audit.sh --host vps.example.com --ssh-port 2222 --tls-port 443 --print-fix ./pqc-audit.sh --host cloudflare.com --json { "version": "1.1.0", "target": "cloudflare.com", "pass": 1, "warn": 1, "fail": 0, "checks": { "ssh": { "status": "WARN", "detail": "could not negotiate SSH on cloudflare.com:22 port closed or filtered " }, "tls": { "status": "PASS", "detail": "Negotiated TLS1.3 group: X25519MLKEM768 on cloudflare.com:443" }, "wireguard": { "status": "SKIP", "detail": "remote --host mode run locally on the VPN node to inspect WireGuard peers " } } } | Flag | Default | Description | |---|---|---| | --host