Post-quantum doors
<!-- Generated by bun scripts/doors.ts --write from src/security/doors.ts; test/doors-hybrid.test.ts fails when a door is missing from it. -->
Every door the forge has, and what its key exchange is (#18031). hybrid: a post-quantum group (X25519MLKEM768 for TLS, mlkem768x25519-sha256 for SSH) is offered first (the rig reads the offer, never a completed handshake: it does not say what a peer negotiates). classical: it is not. not measured: the test rig cannot reach the door; that is never a pass. Run bun scripts/doors.ts to read them now; bun test test/doors-hybrid.test.ts fails on a door that reads classical without a reason on file, or when SSH's hybrid leaves its offer.
| Door | State | What it means |
|---|---|---|
| Edge: browser to forge | not measured | The public edge is out of the rig's reach. Measured by hand from outside on 2026-12-04: openssl s_client -groups X25519MLKEM768 against forge.open-platform.sh negotiated TLS 1.3 with X25519MLKEM768. |
| Tunnel: edge to forge | not measured | Out of the rig's reach. Reported by the owner as X25519Kyber768 over QUIC, the pre-standard codepoint, not yet X25519MLKEM768. |
| Outbound HTTPS: the forge's fetch | hybrid | The runtime's ClientHello, read on loopback: hybrid when X25519MLKEM768 is the first group offered. The rig hangs up after the hello, so it reads what the client offers, not what a server negotiates. |
| Forge to forge: lending and child forges | not measured | Same stack as outbound (outboundFetch), not measured on its own: the rig does not drive the real lending or child-forge call path, so this row is never a pass. |
| SSH: the forge's terminal and git over SSH | hybrid | The server's KEXINIT, read from the transport: hybrid when mlkem768x25519-sha256 is the first key exchange it offers. No exchange is completed, so this is the offer, not the negotiated result. |
| Game agent's channel | not measured | Needs a real game box; not reachable from the rig. |
| Git over smart HTTP from clients with their own TLS stack | not measured | libgit2 in the Apple app; whether it offers the hybrid group has not been checked. |
| The forge's own git client fetching from origins | classical (known gap) | git links the OS TLS library (GnuTLS on Debian), which has no hybrid group yet; fetches from origins stay classical until it does |
The doc is written from a rig where the git binary offers no hybrid group; a machine whose git does reads hybrid there, and the test accepts either for that one door.
Not covered yet: the symmetric keys (every HMAC, token and sealing key at least 256 bits), listed as its own follow-up.