code for 3 machines demoing how to use the chrome card.
Go to file
Morten V. Christiansen 139698cab5 Fix Android Playwright tests: connectOverCDP + card reconnect
launchBrowser() hangs indefinitely on Chrome 145 in the Android
emulator. Replaced with chrome-command-line proxy flag + force-stop/
restart + connectOverCDP. A polling retry loop (max 15 s) handles
CDP startup variance.

proxy_service.dart: added _ensureCardOpen() which calls isCardAttached()
and re-runs _tryOpenCard() if the emulator socket was closed (e.g. after
a bridge restart). Called before makeCredential and getAssertion in all
three handler paths so the app reconnects automatically without restart.

playwright.config.js: global timeout 180 s → 60 s.

All 4 tests in k_phone_android.spec.js now pass (16 s total).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 21:41:36 +02:00
component3 Implement per-request FIDO2 token binding across all components 2026-05-08 12:01:23 +02:00
k_phone Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +02:00
tests Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +02:00
.gitignore Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
CLAUDE.md Refactor k_phone (v2) and add component3 Go binary 2026-05-05 21:04:19 +02:00
PHASE5_RUNBOOK.md Initial commit: chromecard workspace snapshot 2026-04-29 22:06:14 +02:00
Setup.md Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +02:00
Workplan.md Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +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 Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +02:00
k_server_app.py Implement per-request FIDO2 token binding across all components 2026-05-08 12:01:23 +02:00
package-lock.json Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +02:00
package.json Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +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 Fix Android Playwright tests: connectOverCDP + card reconnect 2026-05-09 21:41:36 +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