Skip to content

feat: implement --trust-sender path safety enforcement - #2394

Merged
oferchen merged 1 commit into
masterfrom
feature/trust-sender-enforcement
Feb 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/trust-sender-enforcement

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Wire --trust-sender flag through the transfer pipeline
  • Add trust_sender to ServerConfig with builder support
  • Add path safety validation in receiver (reject absolute paths,
    .. traversal, unsafe symlinks when trust_sender is false)
  • Wire through generator, CLI config, and core config

Test plan

  • All tests pass
  • cargo clippy clean
  • cargo fmt clean
  • CI passes on all platforms

Wire trust_sender flag through the transfer pipeline:
- Add trust_sender to ServerConfig with builder support
- Add path safety validation in receiver (reject absolute paths,
  .. traversal, unsafe symlinks when trust_sender is false)
- Wire trust_sender through generator and CLI config
- Wire through core config builder and preservation settings
- Add early-input sending support in SSH transfer path
@github-actions github-actions Bot added the enhancement New feature or request label Feb 21, 2026
@oferchen
oferchen merged commit fa8304e into master Feb 21, 2026
9 checks passed
@oferchen
oferchen deleted the feature/trust-sender-enforcement branch February 21, 2026 20:15
oferchen added a commit that referenced this pull request May 1, 2026
Wire trust_sender flag through the transfer pipeline:
- Add trust_sender to ServerConfig with builder support
- Add path safety validation in receiver (reject absolute paths,
  .. traversal, unsafe symlinks when trust_sender is false)
- Wire trust_sender through generator and CLI config
- Wire through core config builder and preservation settings
- Add early-input sending support in SSH transfer path
oferchen added a commit that referenced this pull request May 5, 2026
Wire trust_sender flag through the transfer pipeline:
- Add trust_sender to ServerConfig with builder support
- Add path safety validation in receiver (reject absolute paths,
  .. traversal, unsafe symlinks when trust_sender is false)
- Wire trust_sender through generator and CLI config
- Wire through core config builder and preservation settings
- Add early-input sending support in SSH transfer path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant