mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Revise mailbox prop client
@@ -15,9 +15,9 @@ The client uses a separate BSP group for communicating with each contact. The [g
|
||||
|
||||
**UPDATE** - The message body is a BDF list with two elements: `version` (int), and `properties` (dictionary). `version` is incremented whenever the properties change. The keys of the `properties` dictionary are strings.
|
||||
|
||||
For major version 0, the `properties` of a well-formed update are either 0 (empty dict), which means for the receiver that there is no mailbox available. Or, there are precisely 4 items:
|
||||
For major version 0, the `properties` dictionary of a well-formed update contains either no (0) entries, which means for the receiver that there is no mailbox available. Or, it contains all of the following entries:
|
||||
|
||||
* "onionAddress" : String -- Onion Address of mailbox (56 lower-case base32 chars, as derived from the v3 Onion Service public key)
|
||||
* "onion" : String -- Onion of the mailbox (56 lower-case base32 chars, derived from the v3 Onion Service public key)
|
||||
* "authToken" : byte[32] -- token used for authenticating with the mailbox
|
||||
* "inboxId" : byte[32] -- folder id used when receiving data from the mailbox
|
||||
* "outboxId" : byte[32] -- folder id used when delivering data to the mailbox
|
||||
|
||||
Reference in New Issue
Block a user