Skip to content

feat: discover and authenticate the Engine HTTP API with mTLS - #15

Merged
uartnet merged 1 commit into
mainfrom
codex/mtls-turn
Oct 10, 2026
Merged

uartnet merged 1 commit into
mainfrom
codex/mtls-turn

Conversation

@uartnet

@uartnet uartnet commented Oct 10, 2026

Copy link
Copy Markdown
Member

Certificate clients can use Engine inventory and SSE/WebSocket watches through an explicitly advertised mTLS HTTP origin. Each client anonymously discovers and caches the HTTPS origin, coalesces concurrent discovery, validates the project binding, and closes outstanding discovery on shutdown. Ordinary token behavior and existing device configuration remain compatible.

Discovery never sends the device certificate or a bearer token and always verifies server TLS. Documentation identifies the Python HTTP transport boundary and adds an opt-in real Engine inventory check.

Validation: ruff, formatting and mypy pass; 172 tests pass (6 existing opt-in skips), including real local TLS, concurrent discovery, anonymous requests, cancellation, closure and certificate inventory/watch paths.

@uartnet
uartnet merged commit 8a4fa00 into main Oct 10, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant