summaryrefslogtreecommitdiffstats
path: root/docs/TESTING.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-01 17:49:08 +0100
committersalmonik <salmonik@tuta.io>2026-11-01 17:49:08 +0100
commit2fe2e8cdbc3bb520994ff0944188f2fa657c546a (patch)
tree10f29b4dd62c2b8127d20f0bffd4325b3ca0bfd2 /docs/TESTING.md
parentdocs: add the phased GUI plan (diff)
downloadzagan-bet-2fe2e8cdbc3bb520994ff0944188f2fa657c546a.tar.gz
zagan-bet-2fe2e8cdbc3bb520994ff0944188f2fa657c546a.zip
v4.0.0: require HELLO MAJOR.MINOR lockstep before auth
Diffstat (limited to '')
-rw-r--r--docs/TESTING.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md
index 1a1d369..23e3a19 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -180,6 +180,18 @@ Use an 80-column terminal because several output lines are width-sensitive.
180 one row with `winnings = 0`, `details.result = "abandoned"` and 180 one row with `winnings = 0`, `details.result = "abandoned"` and
181 `details.reason = "server_restart"`. 181 `details.reason = "server_restart"`.
182 182
183## Manual version handshake check
184
1851. Connect a client and server from the same release: the client connects and
186 the server log shows the `HELLO` exchange.
1872. Connect a 4.x client to a 3.x server (or the reverse): the client must print
188 `Version mismatch: client ..., server ...` and never reach the login prompt.
1893. With a deliberately skew-built server (PATCH differs) the connection is
190 accepted and, when the server's version is newer, the client prints
191 `A newer version is available`.
1924. Before the handshake, `openssl s_client -quiet -connect host:port` followed
193 by `PING` must answer `ERROR HELLO required`.
194
183## Manual identity / credential checklist 195## Manual identity / credential checklist
184 196
1851. Connect through one address, `register` and `login`. `hosts` shows the 1971. Connect through one address, `register` and `login`. `hosts` shows the