• Joined on 2026-04-19
mnovak pushed to main at mnovak/ianitor 2026-11-22 19:44:18 +01:00
8b4570ca1a [repo] Merge: Phase 4 hardening, the five test layers, the release pin (PR #13)
d9871ae1b7 [docs] Roadmap: Phase 4 is PR 13
aca9bd8d9f [tests] Fuzz: Cargo.lock follows the workspace version 0.2.0
8efea92c01 [repo] Merge: main into phase-4 (Fabrica onboarding and 0.2.0, PRs #11 and #12)
25d4875b38 [docs] Roadmap: Phase 4 status and handover
Compare 49 commits »
mnovak created pull request mnovak/ianitor#13 2026-11-22 19:43:58 +01:00
[repo] Phase 4: hardening, the five test layers, the release pin
mnovak pushed to phase-4 at mnovak/ianitor 2026-11-22 19:43:35 +01:00
aca9bd8d9f [tests] Fuzz: Cargo.lock follows the workspace version 0.2.0
8efea92c01 [repo] Merge: main into phase-4 (Fabrica onboarding and 0.2.0, PRs #11 and #12)
b0e92ff262 [repo] Merge: docs/v0.2.0-release-state (ROADMAP: the v0.2.0 release run waits for Mark's Custos card, PR #12)
a626c2559f [docs] ROADMAP: the v0.2.0 release run waits for Mark's Custos card
7aa8b0ea62 [repo] Merge: feature/fabrica-onboarding (Fabrica: Ianitor onboarded, Aula page, e2e showcase, tests, 0.2.0, PR #11)
Compare 11 commits »
mnovak created branch phase-4 in mnovak/ianitor 2026-11-22 19:31:43 +01:00
mnovak pushed to phase-4 at mnovak/ianitor 2026-11-22 19:31:43 +01:00
25d4875b38 [docs] Roadmap: Phase 4 status and handover
5023575680 [fabrica] Release pin (QC round 2): verifiers build the tagged commit (flake rev and docs); the commit the pin names is kept for the record, must hold the recorded source tree when present, and is published unchecked when absent
ea1ec11cd1 [fabrica] Release pin, tests first (QC round 2): a forged pinned commit is refused, a rebased-away one is accepted with the tagged commit as the build reference (red)
1905ff81ce [bench] Conformance rerun with the slow-client probes: both engines drop a TLS handshake that never starts at 60 s; Ianitor drops an endless HTTP/2 header block in 2.5 s, Caddy keeps it open; Caddy's version recorded (v2.11.7)
3ca88e26cc [deploy] Proxy socket: the option says X-Forwarded-Proto is always https there (HTTPS fronts only)
Compare 10 commits »
mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:31:19 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Merged with --no-ff as 7f46bc5156690305389e671bf42f11076821143c on main (remote hash verified). The review is above (14/14 planted bugs caught; 7 findings: one fixed here, four accepted and…

mnovak closed pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:31:19 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)
mnovak pushed to main at mnovak/Amicitia-Tabellarius 2026-11-22 19:31:03 +01:00
7f46bc5156 [relay] Files: merge feature/files — a file route for same-size encrypted chunks with its own quotas, STREAM-sealed chunks, a file payload inside MLS (review in PR #23)
3a0944ebff [relay] Files: a file route for same-size encrypted chunks with its own quotas; the client seals chunks in STREAM and sends a file payload inside MLS
Compare 2 commits »
mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 7 (note): the relay allows 410 chunks = 104 953 440 plaintext bytes; the client refuses over 100 MiB = 104 857 600. The relay is the looser side by under 100 KB; nothing depends on the two matching. A wire test pins that 410 chunks hold 100 MiB and 409 do not.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 1 (fixed): before this, a body over a route's DefaultBodyLimit got axum's own 413 with a text body — on the blob route and the JSON routes too, so PROTOCOL.md §8's A refusal has no body was not true. Every handler now takes Result<Bytes, BytesRejection> and answers a bare 413; a_blob_over_256_kib_is_refused checks the body is empty for a blob and for a 64 KiB JSON body.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 2 (accepted, documented as G57): POST /v0/files needs no token, and a file reserves chunks × 256 000 from creation (so an upload in progress is never cut off). About 40 empty 410-chunk files hold a default relay's 4 GiB until the 24-hour purge of incomplete files. As cheap as filling the blob quota today (F23's stated limit); the operator's flags bound it. Later: a shorter deadline for incomplete files, or reserving per chunk that arrives.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 3 (accepted, documented): seal is deterministic in (key, index), which is what makes a resumed upload idempotent — but two different plaintexts for one index under the same key reuse a ChaCha20-Poly1305 nonce (keystream and Poly1305 key). The relay refuses the second with 409, yet it has received both bodies. Can happen if an app re-reads a source file that changed between tries. The doc says so; Amicitia stores the parts with the upload and never re-reads. A misuse-resistant AEAD (SIV) would remove the trap; not in the tree today.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 6 (note): download reserves file.size bytes (at most 100 MiB, checked when the payload arrived) before the first chunk; a peer can make the receiver allocate that much for nothing. Bounded, and the app decides when to call it (Amicitia: automatically only ≤ 10 MiB). get_chunk is there for chunk-by-chunk use.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 4 (accepted): a zero 7-byte STREAM prefix and empty associated data. Safe because a key is made for one file and never reused (start_upload); a later forward feature that reuses a key must keep the same chunks, never re-seal. Written in PROTOCOL.md §4 A file's chunks.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Finding 5 (accepted, stated): no fetch count is stored, but the relay sees each GET as it serves it, and the upload is followed by a blob post to the recipient's mailbox from the same address within seconds — so an operator who logs at the network layer links sender, file and recipient by timing. Same class as §1's existing honest limit; files.md §3 says it.

mnovak commented on pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:30:49 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)

Adversarial self-review — F29 files (protocol change)

mnovak created pull request mnovak/Amicitia-Tabellarius#23 2026-11-22 19:29:51 +01:00
[relay] Files: same-size encrypted chunks through the relay, a file payload inside MLS (Amicitia F29)
mnovak pushed to feature/files at mnovak/Amicitia-Tabellarius 2026-11-22 19:29:42 +01:00
3a0944ebff [relay] Files: a file route for same-size encrypted chunks with its own quotas; the client seals chunks in STREAM and sends a file payload inside MLS
mnovak created branch feature/files in mnovak/Amicitia-Tabellarius 2026-11-22 19:29:42 +01:00
mnovak pushed tag v0.6.0 to mnovak/Liber-public 2026-11-22 11:22:46 +01:00