Skip to content
Live demo →

CLI

Built by cargo build --release in mvp/ (the Go tools are separate). Since v0.1.2 the release ships one binary, unicomm; everything is a subcommand.

Subcommand Does
unicomm server demo and public server: HTTPS, WSS, HTTP/3 on several policies, a UI at /ui, a loopback-only local console. --demo (alias of --demo-insecure), --public serves the dashboard with a real certificate (--cert, --key, --domain)
unicomm curl curl-like client that always prints key_exchange and post_quantum. Flags: --policy, --require-pq, --classical, --http3, -d, --cacert, -v
unicomm cert local CA, certificates and trust: setup (CA + localhost cert + OS/browser trust), status, remove, issue, list, rotate, export, import. ca, trust and bundle remain as hidden aliases
unicomm proxy API to API: wrap a local port in PQ TLS, or reach a PQ API from a plain local port (see the API to API page). serve and connect remain as aliases
unicomm relay the relay data plane (ADR-0021), including relay tokens. Flags include --listen, --policy, --cert, --key, --forward-listen, --auth-url, --keys-file, --drain-secs
unicomm update self-update from GitHub Releases, SHA256-verified
unicomm check, cbom, pqc, sign, doctor, agent validator, crypto inventory, PQ primitives on files, ML-DSA-87 signatures, health check, instructions for AI agents
unicerts (Go) local CA and trust: setup, remove, status. Stores under ~/data/unicerts/
client, pqbench the server test matrix; the handshake benchmark
Terminal window
unicomm cert setup --no-trust # or: unicomm cert setup (also trusts the CA; sudo/UAC)
unicomm cert issue localhost 127.0.0.1 ::1 --out ./certs
unicomm --dry-run cert setup # prints what would change; setup needs sudo/UAC for the trust store
unicomm cbom --scan localhost:8443
unicomm sign keygen && unicomm sign sign release.tar && unicomm sign verify release.tar # ML-DSA-87 detached signature
unicomm doctor

unicomm curl exit codes: 0 ok (check post_quantum), 1 error or handshake refused, 2 usage, 3 connected but the result does not meet a PQ policy. A known issue: unicomm cert import --out verifies the chain only for the name localhost; unicerts does not have this problem.