From cbdd21a4230f9582d523c3414b2133fb342a37f7 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Fri, 24 Apr 2015 16:02:39 +0000 Subject: [PATCH] Forum signature must cover the timestamp --- ForumClient.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ForumClient.markdown b/ForumClient.markdown index 2ecda85..0b12137 100644 --- a/ForumClient.markdown +++ b/ForumClient.markdown @@ -22,7 +22,7 @@ The client identifer is random: 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). -If `signature` is null, the post is anonymous and `author` must also be null. Otherwise `signature` is calculated over a list with four elements: `forum` (list), `author` (list), `timestamp` (int), and `content` (list). `forum`, `author` and `content` are described above. `timestamp` is the timestamp from the [message header](BSP#message-format). +If `signature` is null, the post is anonymous and `author` must also be null. Otherwise `signature` is a signature with `public_key` calculated over a list with four elements: `forum`, `author`, `content` and `timestamp` (int). `forum`, `author` and `content` are described above. `timestamp` is the timestamp from the [message header](BSP#message-format). **4: ATTACHMENT** - The content is raw data.