From adfac8c998a5b47362d2a4d1ee63cab186332fdd Mon Sep 17 00:00:00 2001 From: akwizgran Date: Fri, 24 Apr 2015 18:27:51 +0000 Subject: [PATCH] Blog signature must cover the client ID --- ForumClient.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ForumClient.markdown b/ForumClient.markdown index 65aa482..830294f 100644 --- a/ForumClient.markdown +++ b/ForumClient.markdown @@ -11,13 +11,13 @@ The channel descriptor for a forum channel is a list with two elements: `title` ### Message types -**0: INVITATION** - The content is a BDF list with three elements: `title` (string), `salt` (raw), and `note` (string or null). The channel identifier can be calculated from `title` and `salt`, as described above. `note` is an optional note from the inviter to the invitee. +**0: INVITATION** - The content is a list with three elements: `title` (string), `salt` (raw), and `note` (string or null). The channel identifier can be calculated from `title` and `salt`, as described above. `note` is an optional note from the inviter to the invitee. -**1: RESPONSE** - The content is a BDF list with three elements: `invitation_id` (raw), `decision` (boolean), and `note` (string or null). `invitation_id` is the identifier of an invitation created by the opposite peer. `decision` indicates whether the invitee wishes to subscribe. `note` is an optional note from the invitee to the inviter. +**1: RESPONSE** - The content is a list with three elements: `invitation_id` (raw), `decision` (boolean), and `note` (string or null). `invitation_id` is the identifier of an invitation created by the opposite peer. `decision` indicates whether the invitee wishes to subscribe. `note` is an optional note from the invitee to the inviter. -**2: DEPARTURE** - The content is a BDF list with one element: `invitation_id` (raw), which is the identifier of an invitation created by either peer. +**2: DEPARTURE** - The content is a list with one element: `invitation_id` (raw), which is the identifier of an invitation created by either peer. -**3: POST** - The content is a BDF list with three elements: `author` (list or null), `content` (list), and `signature` (raw or null). +**3: POST** - The content is a list with three elements: `author` (list or null), `content` (list), and `signature` (raw or null). If `author` is null, the post is anonymous and `signature` must also be null. Otherwise `author` is a list with two elements: `name` (string) and `public_key` (raw).