diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-30 11:22:24 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-30 11:22:24 +0200 |
| commit | 69554fac7eba6eef7eb8a1c0111c5b92e7f21256 (patch) | |
| tree | 87ae908d008159c4237b31dade3f385a629c3c7b /packages/meshbay-node/tests/test_keystore.py | |
| parent | e2a487c3cd24589b9d9bd298b79d8efaa9914480 (diff) | |
| download | meshbay-69554fac7eba6eef7eb8a1c0111c5b92e7f21256.tar.gz | |
fix: a member can no longer lock a node, crash it with a link, or stop hub cleanup
- node: only a wrong code counts towards the join lock, now per account
(5) as well as node-wide (20), and it is consulted only when a code is
tried. Every member reconnecting gets the group key through join_request,
so a lock checked before recognition let one member refuse it to everyone.
- node: link previews read the body as a stream and stop at the cap,
counted on decoded bytes; a declared oversized image is not read; 15 s
total deadline; image decoding off the loop. `client.get` had buffered
the whole (decompressed) response before the caps looked at it.
- hub: the daily purge of never-verified accounts detaches their IP-log
rows (keeping the name) and clears every other reference first, and each
cleanup step runs on its own. On PostgreSQL the bare DELETE violated the
ip_logs foreign key and stopped every purge behind it for good.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/tests/test_keystore.py')
0 files changed, 0 insertions, 0 deletions