PQC Emergency Gateway · Apache-2.0 Sidecar

Enforce X25519MLKEM768 transport and ML-DSA auth beside any internal API.

Drop the PostRSA PQC Emergency Gateway beside your existing service. It enforces TLS 1.3 hybrid key exchange (X25519MLKEM768), supports private-mldsa controlled-client mTLS, and verifies RFC 9964 ML-DSA-65 tokens against a strict local JWKS with durable replay protection, with no changes to your application SDK.

X25519MLKEM768 KEX PRIVATE-MLDSA MTLS LOCAL ML-DSA-65 JWKS FAIL-CLOSED DOWNGRADE REJECT
Quickstart ↓ Measured benchmarks ↓

Threat-model scope

What the gateway protects under RSA-only and RSA + ECC (P = BQP) breaks

Hybrid KEX protects transport confidentiality, while private-mldsa is built for controlled clients and internal PKI, not public browser trust roots.

Gateway Control RSA-Only Break (Scenario A) P=BQP / RSA + ECC Break (Scenario B) Operational Boundary
TLS 1.3 Hybrid KEX
X25519MLKEM768
■ Protected ■ Protected Protects transport confidentiality against harvest-now-decrypt-later and classical KEX breaks.
Controlled-Client mTLS
private-mldsa mode
■ Protected ■ Protected For controlled internal services, partners, and private PKI. Does not replace public browser Web PKI roots.
Local JWKS Token Verification
RFC 9964 ML-DSA-65
■ Protected ■ Protected Fail-closed local key file only (no remote JWKS fetches). Rejects RS256, ES256, HS256, and none.
Public Browser Web PKI
Public CA leaf / root chain
▲ Use ECDSA Leaf ◆ Ecosystem-Blocked Outside any proxy's unilateral control until public browsers and CAs ship ML-DSA root programs.
01 · INCOMING TRAFFIC

Caller / Controlled Client

Connects over TLS 1.3 with hybrid X25519MLKEM768 and presents a private-mldsa client cert or RFC 9964 ML-DSA-65 bearer token.

02 · POSTRSA GATEWAY

HAProxy 3.2 + Go Auth Adapter

Terminates hybrid TLS, verifies local ML-DSA JWKS, rejects RS256/HS256/none downgrades, blocks replayed jti tokens, and strips spoofed headers.

03 · YOUR APPLICATION

Localhost Upstream (127.0.0.1)

Receives clean requests with verified X-Verified-Sub & X-Auth-Alg: ML-DSA-65 headers. Zero SDK rewrite required.

Deployment Snippets

Run beside your service in 60 seconds

Strict fail-closed config. Unknown keys, remote JWKS URLs, and downgrade flags are rejected at startup.

docker build -f proxy/Dockerfile -t postrsa-proxy:local .
docker run --rm --name postrsa --network container:my-app \
  --read-only --cap-drop ALL --security-opt no-new-privileges \
  --tmpfs /tmp:rw,noexec,nosuid,size=32m \
  -v "$PWD/config:/etc/postrsa:ro" \
  -v postrsa-replay:/var/lib/postrsa postrsa-proxy:local

Native OpenSSL 3.5 measurements

Real Measured Benchmarks (Zero Marketing Estimates)

100 iterations per algorithm measured natively on Apple M5 Max (OpenSSL 3.5.9). ML-DSA tokens are ~5–8× larger on the wire than RSA or Ed25519, so check your HTTP header size limits.

Download Raw JSON
Algorithm Type Verify (p50) Signature Size Total JWS Wire Size
RS256 RSA
6.43 ms
256 B
584 B
ES256 ECC
6.29 ms
64 B
328 B
EdDSA ECC
6.20 ms
64 B
328 B
ML-DSA-44 Post-Quantum
6.33 ms
2,420 B
3,475 B
ML-DSA-65 Post-Quantum
7.94 ms
3,309 B
4,660 B
ML-DSA-87 Post-Quantum
8.13 ms
4,627 B
6,418 B

Production Deployment Kit

Everything your platform team needs to ship it cleanly.

The Go proxy and HAProxy container are open source. The $99 (£79) Deploy Kit saves your team days of wiring with production-ready Helm charts, Terraform modules, Grafana dashboards, Prometheus alerts, and zero-downtime key rotation runbooks.

  • Validated Kubernetes Helm chart + read-only hardened Deployment manifests
  • Terraform module with pinned provider lockfile
  • Pre-built Grafana dashboard & 6 Prometheus metric alert rules
  • Zero-downtime SIGHUP key rotation & incident rollback runbook
  • Credited in full toward a Degaus zero-access CBOM review booked within 30 days
$99 / £79 one-time

Instant .tar.gz download · Apache-2.0 adapter + GPL-2.0 HAProxy source included

Checkout · Degaus Ltd

Checkout

Total

Billing

Payment is processed by Stripe. Degaus Ltd issues the invoice. Read the terms and privacy notice.