aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-29 10:40:24 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-29 10:40:24 +0200
commitbd8546c49594fddb4a41b5eb5bd82719c3c5e4f1 (patch)
tree0b1e2234107c4758b5df3183fc7923aee67163ab
parent2ec25e126f54ba1e12c5b98a7d345f18fc52e898 (diff)
protocol: Clarify necessity of a secure transport
-rw-r--r--protocol.md10
1 files 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: