From 3544b143b1a1272931377c47bf7e17b94ee5360b Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 02:41:02 +0200 Subject: refactor(node): move per-account blobs and key bundles out of webrtc_server BlobsMixin in transport/webrtc/blobs.py, with the blob caps and the kind pattern. Co-Authored-By: Claude Opus 5.5 --- docs/playlists.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/playlists.md b/docs/playlists.md index 6378e63..f4a2c28 100644 --- a/docs/playlists.md +++ b/docs/playlists.md @@ -333,7 +333,7 @@ The client limits exist so the ordinary case produces a sentence in the UI rather than an MNP error; the node limits exist because a client is not trusted to hold to them, and this is an unbounded write primitive pointed at someone else's disk. Noted in passing, and out of scope here: -`_do_keypair_bundle_store` (`webrtc_server.py:1113`) has **no cap at all** +`_do_keypair_bundle_store` (`transport/webrtc/blobs.py`) has **no cap at all** today. Worth its own line somewhere. **Padding.** Pad the compressed plaintext up to the next 4 KB before sealing. @@ -632,7 +632,7 @@ answered wrongly. | Piece | Where | What | |---|---|---| | Storage | `meshbay_node/bundle_store.py` | `user_blobs` table (§3.3); `store_user_blob` / `fetch_user_blob` / `list_user_blobs` / `delete_user_blob`, same shape as `store_keypair` / `fetch_keypair` | -| Handlers | `transport/webrtc_server.py` | `_do_user_blob_store` / `_fetch` / `_list` / `_delete`; `self._user_id` from the authenticated session (NS6), **never** from the message | +| Handlers | `transport/webrtc/blobs.py` | `_do_user_blob_store` / `_fetch` / `_list` / `_delete`; `self._user_id` from the authenticated session (NS6), **never** from the message | | Caps | same | §4.3's four limits. Refuse with a stated reason; refuse a `kind` that does not match the pattern | | Audit | same | `user_blob_store` / `_fetch` / `_delete` events, as `keypair_bundle_store` already logs | -- cgit v1.2.3