diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-03-11 00:12:37 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 6099ec04bd0d98b9e75f5b55b1215c94ccf20202 (patch) | |
tree | 9a551e8e723cde057610d6071587bc76b4a6af19 /Scheme.md | |
parent | 0e62cb8e5ed06d906ad84321cdda22acfcc952c9 (diff) |
Add operation to allow users to be added to group
WARNING! Lazy implementation everywhere, does not handle out-of-order
packets
Diffstat (limited to 'Scheme.md')
-rw-r--r-- | Scheme.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -4,15 +4,29 @@ Packet packet structure version timestamp creator public key + admin group id (uuid, 16 bytes) Body (Encrypted) creator name name -# Add +# 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) + public key (of user to add to group) + group id (the group which the user should be added to) |