Skip to content

zcash_client_backend: Allow disabling Tor directory permissions tightening#1697

Merged
str4d merged 1 commit into
mainfrom
1686-zcb-tor-dir-perms
Feb 8, 2025
Merged

zcash_client_backend: Allow disabling Tor directory permissions tightening#1697
str4d merged 1 commit into
mainfrom
1686-zcb-tor-dir-perms

Conversation

@str4d
Copy link
Copy Markdown
Contributor

@str4d str4d commented Feb 7, 2025

Closes #1686.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.33%. Comparing base (4ded512) to head (ba1c6a1).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1697   +/-   ##
=======================================
  Coverage   54.33%   54.33%           
=======================================
  Files         173      173           
  Lines       20282    20282           
=======================================
  Hits        11021    11021           
  Misses       9261     9261           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

/// If `with_permissions` is `None`, the default from [`arti_client`] will be used
/// (enable permissions checks unless the `ARTI_FS_DISABLE_PERMISSION_CHECKS` env
/// variable is set).
///
Copy link
Copy Markdown
Contributor

@daira daira Feb 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps include an example of using with_permissions other than None, and/or reference the docs for MistrustBuilder.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type's methods have decent documentation, which is accessible through rust-analyzer in IDEs, so I think this should be fine as-is.

Copy link
Copy Markdown
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK with suggestion.

@str4d str4d merged commit ad503f7 into main Feb 8, 2025
@str4d str4d deleted the 1686-zcb-tor-dir-perms branch February 8, 2025 05:00
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.

zcash_client_backend: Allow disabling Tor directory permissions tightening

2 participants