Skip to main content

Module session

Module session 

Source

Structs§

DeviceRequest
Parsed content of the desktop’s “sign my keys” request (the phone displays and signs it).
LinkBlob
Blob that travels through the relay server. The server sees only these three fields.
LinkSession
Linking session, one side (desktop or phone). Secrets never leave the core and are wiped on close, on any mismatch and when the object is dropped.

Enums§

LinkRole
LinkState
Session state (exposed to the UI).

Constants§

KIND_ABORT
KIND_ACCEPT
KIND_CONFIRM
KIND_DEVICE_CERT
KIND_DEVICE_REQUEST
KIND_MLS_JOIN_OFFERS
KIND_MLS_JOIN_REQUESTS
KIND_OFFER
KIND_PACKAGE_ACK
KIND_PACKAGE_END
KIND_PACKAGE_HEADER
KIND_PACKAGE_PART
LINK_VERSION
MAX_CLOCK_SKEW_SECS
Allowed clock skew between desktop and phone (QR check on the phone).
MLKEM_CT_LEN
MLKEM_EK_LEN
QR_TEXT_PREFIX
QR_TTL_SECS
QR lifetime: one minute, then a new one.
SAS_TTL_SECS
How long we wait for “Link” to be tapped after the keys are agreed.