Update x8.md

This commit is contained in:
Dean Eigenmann 2019-08-27 13:26:21 +02:00 committed by Oskar Thoren
parent f77dd07d22
commit 01d9455c46
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E

13
x8.md
View File

@ -26,8 +26,7 @@ message StatusProtocolMessage {
} }
``` ```
`signature` is the bytes of the signed `SHA3-256` of the payload, signed with `signature` is the bytes of the signed `SHA3-256` of the payload, signed with the key of the author of the message.
the key of the author of the message.
The signature is needed to validate authorship of the message, so that the message can be relayed to third parties. The signature is needed to validate authorship of the message, so that the message can be relayed to third parties.
If a signature is not present but an author is provided by a layer below, the message is to be relayed to third parties and its considered plausibly deniable. If a signature is not present but an author is provided by a layer below, the message is to be relayed to third parties and its considered plausibly deniable.
@ -55,11 +54,11 @@ For more details regarding serialization and deserialization please consult [tra
The type `Message` represents a text message exchanged between clients. The type `Message` represents a text message exchanged between clients.
- [Payload](###Payload) - [Payload](#payload)
- [Content types](###Content-types) - [Content types](#content-types)
- [Message types](###Message-types) - [Message types](#message-types)
- [Clock vs Timestamp and message ordering](###Clock-vs-Timestamp-and-message-ordering) - [Clock vs Timestamp and message ordering](#clock-vs-timestamp-and-message-ordering)
- [Replies](###Replies) - [Replies](#replies)
### Payload ### Payload