mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-11-27 00:04:34 +00:00
fbf11ddbc80973c4b1def9905850f8ef14ac12e2
One sealed datagram per message and no handshake: an RFC 9180 HPKE single shot to the server's signing key converted to X25519, signed by the device key the server has on record, answered by a welcome sealed under an exported key and a fresh nonce (RFC 9458) that hands over a session key the server re-derives from a process secret and the key id. Data carries the key id and a packet number under per-direction subkeys, with a replay window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
Languages
Rust
100%