From bd8546c49594fddb4a41b5eb5bd82719c3c5e4f1 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Wed, 29 Jul 2020 10:40:24 +0200 Subject: protocol: Clarify necessity of a secure transport --- protocol.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/protocol.md b/protocol.md index 8bbba49..ff6651b 100644 --- a/protocol.md +++ b/protocol.md @@ -1,8 +1,12 @@ # tomsg protocol (version 2) -The underlying transport of the protocol is a plain TCP socket. The individual -messages are all line-based; this means that a single message, both -client->server and server->client, always ends with a newline (ASCII 10) +The underlying transport of the protocol is a plain TCP socket. However, +because private information is communicated, the recommended transport is an +encrypted and authenticated wrapper around a TCP socket; examples are an SSH +connection, or something built on a TLS connection. + +The individual messages are all line-based; this means that a single message, +both client->server and server->client, always ends with a newline (ASCII 10) character. Preliminary definitions: -- cgit v1.2.3-54-g00ecf