Skip to content
Live demo →

Security and limits

  • rustls 0.23 with the aws-lc-rs crypto provider (non-FIPS build here), quinn and h3 for QUIC. No custom cryptography (ADR-0003).
  • Key exchange: X25519MLKEM768 (hybrid) or MLKEM1024 (cnsa2). Certificates: ECDSA P-384 for now, ML-DSA-87 leaf in the cnsa2 listener.
  • Symmetric: AES-256-GCM. Tokens and storage keys are classical HMAC where symmetric works (ADR-0007, a proposal).
  • No independent security audit (readiness issue #7).
  • No browser interop run (Chrome, Firefox, Safari) and no Cloudflare connecting to our server; Cloudflare was exercised as the peer of our clients.
  • Benchmarks are one macOS arm64 laptop over loopback. No WAN, no Linux or Windows numbers.
  • Windows: the Rust binaries, C library and Go parts build, and the server matrix, Go binding demo and cbom scan passed once on a GitHub-hosted Windows runner. The other four bindings, trust-store changes and the install scripts were not verified there.
  • There is no GitHub Actions CI by policy; the local gate is task check-core (build, clippy, tests, matrix, demo, cbom).
  • Hostile-client downgrade cases are TCP and TLS only; over QUIC only stock quinn and curl were used.
  • hybrid is not downgrade protection. It accepts classical peers by design and reports post_quantum = false. Use pq-required when that matters.
  • Demo ports are insecure on purpose. --demo-insecure opens a classical and a plaintext port. Never deploy them.
  • Plain legs. The relay forward leg is plain HTTP on loopback or a unix socket, and unicomm proxy (v0.1.1) talks plain HTTP to its upstream. Both conflict with the “no plaintext hop” rule (ADR-0010) unless kept on one host.
  • Local CA. Certificates from the local CA only work where that CA is trusted. unicerts setup and unicomm trust install change your OS trust store; undo with remove / uninstall.
  • System curl. macOS system curl negotiates classical X25519. Use unicomm curl, OpenSSL 3.5+ or a current browser.

Per-app limits in the relay: 1 MiB request body, 10 MiB response, 64 concurrent streams, 3000 requests per minute per app, 300 per visitor, 30 s per request. Gaps recorded in the handoff: X-Ownshop-Replay must be stripped by the front end, the per-visitor limit needs CF-Connecting-IP, and there is no dial-rate limit per name. An unreachable auth service is a 503, never “allow”.

  • Cert commands (ca, cert, trust, bundle) exist in both the Rust binary and unicerts; bundle import --out in the Rust one verifies the chain only for localhost.
  • The Rust crate and Go modules have few unit tests; the matrix, the interop suite and the binding demos are the main tests. cargo fmt is not applied and clippy reports a few warnings.
  • Open readiness issues on GitHub: CI, Windows, interop, load balancer decision, signing key, benchmarks, audit, SDK packaging.