Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MVP] Implement member log including accesscontroller #1463

Closed
aeddi opened this issue Oct 24, 2019 · 0 comments · Fixed by #1486
Closed

[MVP] Implement member log including accesscontroller #1463

aeddi opened this issue Oct 24, 2019 · 0 comments · Fixed by #1486
Assignees

Comments

@aeddi
Copy link
Member

aeddi commented Oct 24, 2019

Depends on #1461
Implement member log with its accesscontroller.

message MemberEntryEnvelope {
  bytes encrypted_member_payload = 1;
  bytes member_payload_signature = 2;  // Signed by member_device_priv_key
}

message MemberEntryPayload {
  bytes member_pub_key = 1;
  bytes member_pub_key_signature = 2; // Signed by invitation_priv_key
  bytes member_device_pub_key = 3;
  bytes member_device_pub_key_signature = 4; // Signed by member_priv_key

  bytes inviter_member_pub_key = 5;
  bytes invitation_pub_key = 6;
  bytes invitation_pub_key_signature = 7; // Signed by inviter_member_priv_key
}

Each MemberEntryPayload is an entry of a sigchain. You can see the signature / proof chain in the comment above.

The MemberEntryEnvelope is made this way:

  • Fill all field of MemberEntryPayload
  • Sign the MemberEntryPayload using sender_device_pub_key
  • Set the signature as MemberEntryEnvelope.member_payload_signature
  • Derive a symmetric key using member_payload_signature and group shared secret
  • Encrypt MemberEntryPayload and set it as MemberEntryEnvelope.encrypted_member_payload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants