From 3d7d72c308a24e1bb51ae13a75a95f2375d419d9 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Thu, 22 Mar 2018 14:52:22 +0000 Subject: [PATCH] Update Private Group Client --- Private-Group-Client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Private-Group-Client.md b/Private-Group-Client.md index 28e6cd8..26989af 100644 --- a/Private-Group-Client.md +++ b/Private-Group-Client.md @@ -16,7 +16,7 @@ Each private group has its own BSP group. The [group descriptor](BSP#group-ident `invite` is null if the member created the private group. Otherwise it is a list with two elements: `inviteTimestamp` (int) and `inviteSignature` (raw). These are copied from the [invitation](Private-Group-Sharing-Client#message-types) sent by the creator. -`inviteSignature` covers a BDF list with four elements: `creatorId` (unique ID), `memberId` (unique ID), `privateGroupId` (unique ID), and `inviteTimestamp` (int). The public key from the group descriptor is used to verify `inviteSignature`. +`inviteSignature` covers a BDF list with three elements: `inviteTimestamp` (int), `contactGroupId` (unique ID), and `privateGroupId` (unique ID). `contactGroupId` is the ID of the group used by the creator and the member for [private group invitations](Private-Group-Sharing-Client#group-identifiers) - it can be calculated from the identities of the creator and the member. The public key from the private group descriptor is used to verify `inviteSignature`. `memberSignature` covers a BDF list with four elements: `privateGroupId` (unique ID), `timestamp` (int), `member` (list), and `invite` (list or null). The group ID and timestamp are taken from the message header. The public key from `member` is used to verify `memberSignature`.