mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-11-27 00:04:34 +00:00
aeb18ccb1759f1be66763f3ffe6408450f79d346
Data to the client now starts with one byte that says whether the server holds the proof of this session. A client signs its data until it is told so and again once it is told otherwise, so a registration after the first carries no 64-byte signature: the session key already authenticates it, as TLS 1.3 and WireGuard authenticate once per session. Only an answer to a registration says either; a push says neither, a value this version does not know changes nothing, and an answer that arrives after a newer one does not undo it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
Languages
Rust
100%