restitux b8c705554f backend: add single-use token auth for spawned stream proxies
Generate a random 256-bit token when spawning a proxy process, pass
it as a CLI argument, and return it to the client in the stream start
response. The proxy validates the token on WebTransport connect and
consumes it after first use, preventing replay. A wrong token attempt
also consumes the token for security. Includes 5 unit tests for token
validation logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:36:29 +00:00
2025-06-26 19:35:13 -06:00
2025-06-26 19:35:13 -06:00
2025-06-26 19:35:13 -06:00
2025-06-26 19:35:13 -06:00
S
Description
No description provided
744 KiB
Languages
Rust 70.2%
TypeScript 22.3%
Svelte 5.7%
CSS 0.9%
JavaScript 0.7%
Other 0.2%