Expand description
Shared key-exchange responder logic. The desktop’s sync writer and
cinch pull --watch both invoke handle_event when the relay
broadcasts key_exchange_requested for a peer device that has
registered a public key but lacks an encrypted bundle.
Enums§
Functions§
- handle_
event - End-to-end handler for a
KeyExchangeRequestedWS event: look up the peer device’s public key vialist_devices, then callrespondto post the encrypted bundle. - respond
- Build and post an encrypted key bundle for
target_device_id.