-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: read tor cookies from a file (#4317)
Description --- The PR adds a capability to read a tor cookie from a file. To set a `cookie` value in the config of the `tari_base_node` we could use three ways: ```toml tor.control_auth = "cookie=HEX" tor.control_auth = "cookie=@" # read `/run/tor/control.authcookie` default cookie file tor.control_auth = "cookie=@/custom/path/to/cookie/file" ``` Motivation and Context --- Fixes #2808 How Has This Been Tested? --- CI and manually (Fedora 35, stardard `tor` service + added `ControlPort` to the config)
- Loading branch information
1 parent
3b467b9
commit c75d224
Showing
4 changed files
with
90 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters