blob: c62c6f464104a3a35c86aa625540cbdc30522a43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Create
Packet
Header
packet structure version
timestamp
creator public key
admin group id (uuid, 16 bytes)
Body (Encrypted)
creator name
name
# Add data
Packet
creator public key
Content (Signed with creator private key, verify with creator public key)
Header
packet structure version
timestamp
operation type
Body (Encrypted with node encryption key)
data
# Add user to group
Packet
creator public key
Content (Signed with creator private key, verify with creator public key)
Header
packet structure version
timestamp
operation type
Body
name (of the user to add to group, encrypted)
public key (of user to add to group)
group id (the group which the user should be added to)
|