WebSocket Relay Service for Remodex Pairing
export REMODEX_RELAY="ws://localhost:3000/relay/relay" && remodex up
This is a WebSocket relay service used by the Remodex pairing flow. It enables secure communication between your Mac and iPhone for the Remodex application.
/relay/{sessionId}Remodex uses the relay as a transport hop, not as a trusted application server. The pairing QR gives the iPhone the bridge identity public key plus short-lived session details. The iPhone and bridge perform a signed handshake, derive shared AES-256-GCM keys with X25519 + HKDF-SHA256, and then encrypt application payloads end to end.