aboutsummaryrefslogtreecommitdiffstats
path: root/tmp-decisions.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-14 03:51:55 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-14 03:51:55 +0200
commit9f0904247116005bba8e32b9428dc6a2b994e705 (patch)
tree636bc6d803cdd27cf429c3fd78abccd58182efdf /tmp-decisions.md
parent9a483774e97f8612b00e3d92c4d5ebc00c21980a (diff)
downloadmeshbay-9f0904247116005bba8e32b9428dc6a2b994e705.tar.gz
fix(client): capture the challenge values before joining, not after
join_request signs a transcript over the node key and the node nonce, and runs before the GEK proof — a first-time member has no key to prove with. Both values were read further down, beside the proof that also uses them, so by the time joinGroup() ran neither was set and every invited member got "Handshake incomplete — reconnect and retry". They are now recorded the moment the challenge arrives. Third bug of the same shape found in a browser, and the reason is worth writing down: QE/deploy/e2e.py cannot catch any of them. It is a second implementation of the client, written in the right order by construction, so it passes while the SPA fails. It proves the protocol; it proves nothing about app.js. So this adds ordering guards over transport.js — source-level, which is not how one would normally test behaviour, but it is what sees this class of mistake: - node_pk and nonce_node are captured before joinGroup() runs - the join happens before the GEK proof - the ack still verifies the key the challenge announced Verified the way the suite requires: each fails against the source as it was, on the ordering assertion rather than on a missing marker. e2e.py also waits for the node to re-register rather than reporting "no nodes" at whoever just restarted the hub. Tests: 337 across the three packages. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tmp-decisions.md')
0 files changed, 0 insertions, 0 deletions