Make file permissions configurable via regular config mechanisms
- May 24, 2022
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This change requires a little refactoring of TorClientBuilder: now, instead of enabling or disabling mistrust, it enables or disables the decision to _override_ the mistrust in the config.
-
Nick Mathewson authored
We support all of the following (in TOML notation): ``` user = "rose" # by name user = 413 # by ID user = false # no user user = ":current" # A 'special' user. user = { name: "rose" } user = { id: 413 } user = { special: ":none" } user = { special: ":current" } ```
-
Nick Mathewson authored
The Group and User (de)serialization is pretty ugly, and I can't vouch for the correcness of MistrustBuilder. I will seek feedback before I proceed.
-
Nick Mathewson authored
This will help make the actual configuration more serializable, I hope.
-
Nick Mathewson authored
This is an approximately minimal revision to get Builder in place; subsequent commits will clean up the API.
-
Nick Mathewson authored
This renaming will make things slightly simpler for declaring a builder.
-