code for 3 machines demoing how to use the chrome card.
Go to file
Morten V. Christiansen 328c7d7cae Add Component 2 CONNECT handler; fix CONNECT routing tests
proxy_service.dart: _handleConnect gates on hasAnyActiveSession() (407 if
no active session), then connects directly to the upstream external target
(host:port from Host header), detaches the socket, and pipes bytes
bidirectionally. k_server is not involved in CONNECT tunnels.

filter_proxy_test.dart: replace _mockTcp() with _mockComp2Tcp() in the
CONNECT routing group so the mock speaks the full CONNECT handshake
(reads request headers, sends 200 Connection Established, pauses sub).
All 21 tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 20:22:24 +02:00
k_phone Add Component 2 CONNECT handler; fix CONNECT routing tests 2026-05-02 20:22:24 +02:00
tests Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
.gitignore Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
CLAUDE.md Add Component 2 CONNECT handler; fix CONNECT routing tests 2026-05-02 20:22:24 +02:00
PHASE5_RUNBOOK.md Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
Setup.md Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
Workplan.md Add Component 2 CONNECT handler; fix CONNECT routing tests 2026-05-02 20:22:24 +02:00
ctaphid_init_probe.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
fido2_probe.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
generate_phase2_certs.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
k_client_portal.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
k_proxy_app.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
k_server_app.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
package-lock.json Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
package.json Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
phase5_chain_regression.sh Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
phase65_concurrency_probe.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
playwright.config.js Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
raw_ctap_probe.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
webauthn_local_demo.py Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00