mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-24 02:02:42 +00:00
Move the daemon-side handshake, record framing, and handshake timeout out of relay-transport.ts into websocket/secure-relay-ingress.ts, and give both endpoints one secure-channel entrypoint in @getpaseo/relay/e2ee. Relay transport now attaches plaintext sockets; bootstrap secures them before admission. The client selects endpoint security from configuration instead of inferring it from the relay URL. Behavior-preserving: the legacy construction is unchanged and no new security guarantee is claimed.