You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serve auth — Bearer token is now required on every openshield serve request, including loopback binds. CORS is an allowlist (Tauri and localhost origins, plus [desktop] allowed_origins). Host is validated against loopback names, the bind address, the LAN address on wildcard binds, and [desktop] allowed_hosts (DNS rebinding). Token comparison is constant-time. POST /api/v1/pair requires the master token, is limited to 5 requests per 60s, and stores at most 32 pairing tokens.
Changed
Clients must send the token — Desktop reads ~/.config/openshield/desktop.token. HTTP requests use Authorization: Bearer. WebSocket upgrades may pass ?token= because browsers cannot set headers on the handshake.