Skip to content

docs(cli): state the v2 chunk-size bound in --chunk help#14

Merged
benner merged 2 commits into
mainfrom
docs/state-trust-model-and-chunk-bounds
Jul 4, 2026
Merged

docs(cli): state the v2 chunk-size bound in --chunk help#14
benner merged 2 commits into
mainfrom
docs/state-trust-model-and-chunk-bounds

Conversation

@benner

@benner benner commented Jul 4, 2026

Copy link
Copy Markdown
Owner
  • docs(cli): state the v2 chunk-size bound in --chunk help
  • docs: state the trust model in the README

benner added 2 commits July 4, 2026 22:33
The help promised 1–65500 unconditionally, but --verify reserves 32
bytes per chunk for the hash, so its real maximum is 65468 — only the
error message admitted it.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
A public tool should say out loud that the protocol is unauthenticated
and unencrypted: anyone who can reach the port can write files into the
receiver's directory, and the SHA-256 is sender-supplied so it only
guards against transport corruption. Points at WireGuard-style tunnels
and the planned PSK INIT authentication.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@benner benner marked this pull request as ready for review July 4, 2026 19:52
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

Coverage report

Branch Coverage Delta
base 96.08%
PR 96.08% +0.00%

@benner benner merged commit 2f6175d into main Jul 4, 2026
7 checks passed
@benner benner deleted the docs/state-trust-model-and-chunk-bounds branch July 4, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant