From 43c47f6a2b0ad233a5bf1ceb142117a79370e5d7 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Sun, 17 Nov 2019 22:17:19 +0400 Subject: [PATCH] Fix some lexical mistakes --- protocol-spec/core.md | 4 ++-- requirements.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol-spec/core.md b/protocol-spec/core.md index c615b11..851f17a 100644 --- a/protocol-spec/core.md +++ b/protocol-spec/core.md @@ -32,11 +32,11 @@ BaseMessage is a basic message model, basis of the whole protocol. It is used fo BaseMessage scheme: ``` -id (string) - identifier of message (used to track the request-response chain) +id (string) - message identifier (used to track the request-response chain) type (string) - type of message (used to determine which extension this message belongs to) from (EntityID) - from which entity this message is send to (EntityID) - message recipient -ok (boolean) - operation success indicator (used to determine if errors was happened when processing request) +ok (boolean) - operation success indicator (used to determine if the error happened while processing request) payload (Map) - message payload (used to store extra information in message, list of permissible fields in the payload are depends on "type" field) ``` diff --git a/requirements.md b/requirements.md index 34cc36f..fd96f88 100644 --- a/requirements.md +++ b/requirements.md @@ -7,8 +7,8 @@ 3. Validation of the sender using cryptographic signatures and keys - I suggest doing this optionally, as many users simply don’t need it *(ChronosX88)* - I completely agree, and the first implementation should be done without all this. And this item is more suitable for item 4 of this list, it seems *(pztrn)* -4. E2EE - - e2ee needs to be done "on plugins", especially if we will make gates to other networks. For the matrix has OLM, the XMPP has OTR/OMEMO, and so on. A transparent work with all this things should be done for the user. (pztrn) +4. E2EE (E2E Encryption) + - e2ee needs to be done "on plugins", especially if we will make gates to other networks. Matrix has OLM, the XMPP has OTR/OMEMO, and so on. A transparent work with all this things should be done for the user. (pztrn) - However, it is necessary to choose some standard cryptographic protocol for specs. *(ChronosX88)* - This will not work due to the presence of a diverse cryptographic shit zoo. Therefore, you will have to saw it "on plugins", since for the user it should be as transparent as possible. *(pztrn)* - e2ee needs to be made as customizable as possible so that it is possible to force/not force e2ee, as well as enable e2ee for individual rooms/chats. *(pztrn)* @@ -20,8 +20,8 @@ - Here it would be cool to try to push XMPP as the first gate and try to reuse transports from there. *(pztrn)* - In this case, we need to make the AppService API, as in the Matrix. *(ChronosX88)* - Perhaps only with emphasis on our new protocol. And, again, it seems to me that for transports (or AppService) the use of the HTTP REST API is stupidly redundant, and here you can well use Websockets so as not to make your connection handlers (everything is ready and there), but to reuse the same gorilla (Golang library) and JSON-RPC on top. *(pztrn)* -9. Native clients under all OS. You can use Go + Qt5, since we are making all free & open source. - - The question remains with the client for iOS, but if we make a suitable protocol that will work and will allow us to map the Telegram in the form of transport, I have a person who will make the client for iOS :) In principle, given the having of a macOS, I can try to do it myself but "somehow later", because my target OS is Windows/Linux/macOS/Android *(pztrn)* +9. Native clients under all major OS. We can use Go + Qt5, since we are making all free & open source. + - The question remains with the client for iOS, but if we make a suitable protocol that will work and will allow us to map the Telegram in the form of transport, I have a person who will make the client for iOS :) In general, given the having of a macOS, I can try to do it myself but "somehow later", because my target OS is Windows/Linux/macOS/Android *(pztrn)* ## Чаты