mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-11-27 00:04:34 +00:00
0f7670c0b97fe19d7be44d41e6aab7a777a556dd
The welcome now carries a fresh server ephemeral, and the DH of it with the hello's ephemeral is mixed into the welcome key (Noise NK's `<- e, ee`, folded in with Noise's MixKey). A server key taken later redoes a recorded hello's HPKE but opens neither the welcome nor the session it hands out. The hello itself stays readable to that key, as WireGuard's first message does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
Languages
Rust
100%