Skip to main content

Module sessions

Module sessions 

Source
Expand description

The account’s machines and sessions as the relay lists them (#87, #133), checked and opened with the account’s keys: what a device may trust of a Sessions answer, never the relay’s word.

Functions§

approved
Whether machine carries the account’s approval (#133): its ID, key and sealed name signed by the account, checked against keys.
machine_name
machine’s display name, if it opens with keys.
session_name
The name of record of machine, if it opens with keys.
session_secret
The end-to-end secret of record, if it opens with keys.
signed
Whether record of machine is signed by the machine’s key.