feat(tui): fail-closed /file transfer (1 MiB) #16

Merged
sirius merged 2 commits from feat/tui-file-transfer into main 2026-09-11 04:52:55 +00:00
Owner

Summary

  • M10 fail-closed file transfer: typed fil frames, 1 MiB cap send+receive.
  • /file /path to selected friend; inbox under fingerprint; hash mismatch deletes partial; never overwrite.
  • Chat shows [file] name (N bytes) only; raw frames never logged.
  • Includes composer Enter send from feat/tui-chat-send.

Verify

  • cargo test --offline green (140 passed, 3 ignored)
  • cargo clippy --all-targets -- -D warnings clean

Do not merge unless you want this on main.

## Summary - M10 fail-closed file transfer: typed fil frames, 1 MiB cap send+receive. - /file /path to selected friend; inbox under fingerprint; hash mismatch deletes partial; never overwrite. - Chat shows [file] name (N bytes) only; raw frames never logged. - Includes composer Enter send from feat/tui-chat-send. ## Verify - cargo test --offline green (140 passed, 3 ignored) - cargo clippy --all-targets -- -D warnings clean Do not merge unless you want this on main.
sirius added 2 commits 2026-09-11 03:33:15 +00:00
Composer Enter only ran slash commands, so typed messages were dropped.
Wire Node::send, keep /commands, reject unknown /foo as not-chat.
[verified] feat(tui): fail-closed /file transfer (1 MiB)
Some checks are pending
ci / test (pull_request) Waiting to run
0ea6fd68c4
Typed fil frames chunk a local file to the selected friend over the
existing one-shot pipe. Receive-side 1 MiB cap, basename-only names,
hash check before rename, never overwrite. Chat shows [file] name only.
sirius merged commit af7d69ace8 into main 2026-09-11 04:52:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sirius/onionwire#16
No description provided.