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 02:33:55 +01:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-03-02 11:32:20 +00:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-03-08 06:11:20 +00:00
2026-03-02 11:32:20 +00:00
2026-03-02 11:32:20 +00:00
2026-03-02 11:32:20 +00:00
2026-01-30 03:16:21 +01:00
2026-03-02 11:32:20 +00:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-05-06 02:39:15 +01:00
2026-04-28 01:42:10 +01:00
2026-02-08 18:08:13 +01:00
2026-02-08 18:08:13 +01:00
2026-05-05 21:07:19 -05:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-02-08 18:08:13 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-05-05 21:07:19 -05:00
2026-04-28 01:42:10 +01:00
2026-04-30 14:14:03 +03:00
2026-03-02 11:32:20 +00:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-05-01 04:55:59 -07:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-03-02 11:32:20 +00:00
2026-01-30 03:16:21 +01:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-05-05 21:07:19 -05:00
2026-03-02 11:32:20 +00:00
2026-03-02 11:32:20 +00:00
2026-03-02 11:32:20 +00:00
2026-01-30 03:16:21 +01:00
2026-03-02 11:32:20 +00:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-02-08 18:08:13 +01:00
2026-02-08 18:08:13 +01:00
2026-04-17 02:58:21 -05:00
2026-02-17 20:08:50 +00:00
2026-04-28 01:42:10 +01:00
2026-02-17 20:08:50 +00:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-02-08 18:08:13 +01:00
2026-04-28 01:42:10 +01:00
2026-01-30 03:16:21 +01:00
2026-01-30 03:16:21 +01:00
2026-04-28 01:42:10 +01:00
2026-04-28 01:42:10 +01:00
2026-03-02 11:32:20 +00:00
2026-04-05 10:34:02 +01:00
2026-04-06 17:42:42 +03:00
2026-03-02 11:32:20 +00:00