Validator (check)
The intent is a single command that answers “does this endpoint do post-quantum, and does it meet policy X?” with an exit code a script can use.
What works today: unicomm cbom
Section titled “What works today: unicomm cbom”unicomm cbom is the existing inventory tool (ADR-0018). It checks local certificates and live TLS endpoints against CNSA 2.0:
unicomm cbom # table: local certificates under $UNICOMM_HOME or ~/.unicommunicomm cbom --scan localhost:8443 localhost:8446 # also handshake with live endpoints (host:port, repeatable)unicomm cbom --json --scan example.com:443 > cbom.json # CycloneDX 1.6It exits 4 if there is any HIGH finding, so it works in a script. The run options are in unicomm cbom --help.
Another way to check an endpoint today
Section titled “Another way to check an endpoint today”unicomm curl prints the negotiated key exchange and exits non-zero when a policy is not met:
unicomm curl --policy pq-required https://your-host/ # exit 0 and post_quantum=true, or exit 1 with PQ_REQUIREDExit codes: 0 ok, 1 error or handshake refused, 2 usage, 3 connected but the result does not meet a PQ policy.
The server also logs one JSON line per handshake and exposes unicomm_handshakes_total{group,cipher,proto,policy,pq} and
unicomm_handshake_refused_total{reason,policy} at /metrics, so a classical client on a hybrid port is visible.