|
|
The private group client is a [BSP client](BSP) that synchronises messages among groups of devices. It is used in conjunction with the [private group sharing client](private group sharing client).
|
|
|
The private group client is a [BSP client](https://code.briarproject.org/briar/briar-spec/blob/master/BSP.md) that synchronises messages among groups of devices. It is used in conjunction with the [private group sharing client](private group sharing client).
|
|
|
|
|
|
The creator of each private group is the only user who can invite other members. Any member can post messages to a group. Messages are signed by their authors.
|
|
|
|
... | ... | @@ -8,7 +8,7 @@ The client's identifier is `org.briarproject.briar.privategroup`. The major vers |
|
|
|
|
|
### Groups
|
|
|
|
|
|
Each private group is represented by a separate BSP group. The [group descriptor](https://code.briarproject.org/briar/briar-spec/blob/master/protocols/BSP.md#23-groups) is a [BDF list](BDF) with three elements: `creator` (list), `name` (string), and `salt` (raw).
|
|
|
Each private group is represented by a separate BSP group. The [group descriptor](https://code.briarproject.org/briar/briar-spec/blob/master/protocols/BSP.md#23-groups) is a [BDF list](https://code.briarproject.org/briar/briar-spec/blob/master/BDF.md) with three elements: `creator` (list), `name` (string), and `salt` (raw).
|
|
|
|
|
|
`creator` is a list with three elements: `formatVersion` (int), `nickname` (string), and `publicKey` (raw). This identifies the user who created the private group. The salt is 32 random bytes, to prevent collisions between private groups with the same creator and name.
|
|
|
|
... | ... | |