fix(media): verify mirrored image signatures

This commit is contained in:
nyan404 committed 2026-08-25 04:05:14 +03:00
1 parent 355544de9c
commit 92171731ae
5 files changed
+33 -5

No files matched your search

+1
View File
@@ -37,6 +37,7 @@
- 2026-08-25: public web identity completion is deliberately ephemeral; it no longer writes the identity directory used by VK, and unused global web-profile endpoints were removed.
- 2026-08-25: public JSON cannot choose arbitrary attachment URLs. Web attachments are accepted only after the running process issued their image-host URL through `/api/web/upload`; the bounded in-memory registry expires entries after 30 minutes.
- 2026-08-25: VK attachment mirroring has a strict 15 MiB transfer cap, including a Content-Length precheck and bounded read.
- 2026-08-25: after the byte cap, VK attachment mirroring accepts only PNG/JPEG/WebP signatures and does not trust the external response Content-Type.
- 2026-08-25: the web service uses `BelkiHTTPServer` with 15-second socket reads and a 32-request semaphore in addition to the bounded JSON body reader.
- 2026-08-25: natural bulk parsing prioritizes explicit Russian mentor/student labels, then falls back to the original pair order when labels are absent.
- 2026-08-25: `project_mind_map.md` is the current source-controlled project map for Belki and deployment/security boundaries; update it when a data flow, service, or integration changes.