Val Alexander
36df0d93b9
fix: repair iOS LAN pairing
Fix iOS LAN/setup-code pairing policy for #47887.
- Allow explicit private LAN and .local plaintext ws:// setup/manual connects where policy allows it.
- Keep public hosts, .ts.net, and Tailscale CGNAT plaintext fail-closed.
- Prefer explicit passwords over stale bootstrap tokens in Swift and TypeScript gateway clients.
- Update setup-code/device-pair coverage, docs, and changelog with source credit for #65185.
Verification:
- pnpm install
- git diff --check origin/main..HEAD
- pnpm exec oxfmt --check --threads=1 src/gateway/client.ts src/gateway/client.test.ts src/pairing/setup-code.ts src/pairing/setup-code.test.ts extensions/device-pair/index.ts extensions/device-pair/index.test.ts
- pnpm format:docs:check
- pnpm test src/gateway/client.test.ts src/pairing/setup-code.test.ts extensions/device-pair/index.test.ts
- cd apps/shared/OpenClawKit && swift test --filter 'DeepLinksSecurityTests|GatewayNodeSessionTests'
- pnpm lint:swift passes with the existing TalkModeRuntime.swift type-body-length warning
Blocked locally:
- iOS app-target xcodebuild tests require unavailable watchOS 26.4 runtime here.
- Testbox check:changed previously failed because the image lacks swiftlint; local swiftlint passes.
2026-05-05 21:07:19 -05:00
..
2026-04-23 20:41:35 -07:00
2026-04-29 19:38:11 +01:00
2026-05-02 13:40:33 +01:00
2026-04-23 20:08:26 -07:00
2026-04-28 04:03:20 +01:00
2026-04-27 09:37:10 +01:00
2026-05-02 07:50:39 +01:00
2026-04-23 20:41:35 -07:00
2026-04-29 14:28:22 -07:00
2026-04-23 20:41:35 -07:00
2026-05-03 18:04:50 +01:00
2026-05-02 03:16:31 +01:00
2026-05-02 03:12:38 +00:00
2026-05-05 06:06:24 +00:00
2026-05-04 10:58:36 -07:00
2026-05-04 18:39:25 -05:00
2026-05-03 01:38:24 +01:00
2026-05-02 20:09:31 +00:00
2026-04-23 20:41:35 -07:00
2026-04-23 20:41:35 -07:00
2026-05-05 17:42:41 -07:00
2026-04-23 20:41:35 -07:00
2026-05-05 08:38:00 +01:00
2026-04-23 20:41:35 -07:00
2026-05-05 00:59:13 -07:00
2026-04-29 14:28:22 -07:00
2026-05-01 21:32:22 +01:00
2026-05-03 17:55:58 +08:00
2026-05-02 14:29:36 +01:00
2026-05-03 17:38:47 +01:00
2026-05-04 08:25:09 +01:00
2026-05-05 16:41:26 -07:00
2026-05-04 03:31:55 -07:00
2026-04-26 07:49:45 +01:00
2026-04-27 13:20:52 +01:00
2026-05-01 21:32:22 +01:00
2026-04-29 07:40:37 +09:00
2026-05-04 18:16:29 -07:00
2026-05-04 11:04:17 +00:00
2026-05-05 21:07:19 -05:00
2026-04-23 20:41:35 -07:00
2026-05-03 13:25:32 +01:00
2026-04-23 20:41:35 -07:00
2026-05-01 08:22:06 -07:00
2026-05-05 07:40:09 +01:00
2026-05-02 20:27:31 +01:00
2026-05-02 20:50:38 +02:00
2026-05-04 22:52:00 -07:00
2026-04-23 20:41:35 -07:00
2026-04-26 07:23:39 +01:00
2026-04-23 20:41:35 -07:00
2026-04-23 20:41:35 -07:00
2026-05-05 16:05:35 -07:00
2026-05-01 06:35:36 +01:00
2026-04-23 20:41:35 -07:00
2026-04-29 20:17:37 +01:00