summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | keymgr: Define an error type for bad `ArtiPathComponents`.Gabriela Moldovan2023-06-294-14/+29
| | | |
| * | | arti-client, hsclient: Typealias HsClientSpecifier to ArtiPathComponent.Gabriela Moldovan2023-06-292-26/+14
| | | | | | | | | | | | | | | | `ArtiPathComponent` is a more generic version of `HsClientSpecifier`.
| * | | keymgr: Derive Display for ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-291-3/+4
| | | |
| * | | keymgr: Define `ArtiPathComponent`.Gabriela Moldovan2023-06-292-1/+22
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | An `ArtiPathComponent` is a substring of an `ArtiPath`. An `ArtiPathComponent` will be validated according to the same rules as `ArtiPath`. In the future we can replace `HsClientSpecifier` with `ArtiPathComponent` (they both serve the same purpose except `ArtiPathComponent` is more generic).
* | | Merge branch 'keymgr-config' into 'main'gabi-2502023-06-296-9/+196
|\ \ \ | | | | | | | | | | | | | | | | arti-client: Add keystore_dir to StorageConfig. See merge request tpo/core/arti!1312
| * | | arti-client: Fix clippy lint.Gabriela Moldovan2023-06-291-0/+1
| | | |
| * | | arti-client: Make keystore_dir an experimental option.Gabriela Moldovan2023-06-292-25/+17
| | | |
| * | | arti-client: Add TODO regarding keystore_dir deserialization.Gabriela Moldovan2023-06-291-0/+3
| | | |
| * | | arti cfg tests: Add declare_exceptions for storage.keystore_dir.Gabriela Moldovan2023-06-291-1/+22
| | | | | | | | | | | | | | | | | | | | This moves `storage.keystore_dir` to a separate `declare_exceptions` block and explains why we have this exception.
| * | | tor-config: Remove semver.mdGabriela Moldovan2023-06-291-1/+0
| | | | | | | | | | | | | | | | | | | | The APIs mentioned in semver.md are all `experimental` now so we don't really need the file anymore.
| * | | tor-config: Make ItemOrBool an experimental feature.Gabriela Moldovan2023-06-294-3/+35
| | | |
| * | | example-config: Temporarily remove keystore_dir example.Gabriela Moldovan2023-06-292-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | Let's remove this until we figure out how the config should behave when the `keymgr` feature is disabled (should it accept or reject `keystore_dir = true`?)
| * | | arti-client: Fix clippy lints.Gabriela Moldovan2023-06-291-1/+1
| | | | | | | | | | | | | | | | Part of #891
| * | | arti-client: Load keystore dir and permissions from config.Gabriela Moldovan2023-06-291-6/+2
| | | | | | | | | | | | | | | | Part of #891
| * | | arti-client: Add expand_keystore_dir function.Gabriela Moldovan2023-06-291-0/+13
| | | | | | | | | | | | | | | | Part of #891
| * | | arti-client: Add keystore_dir to StorageConfig.Gabriela Moldovan2023-06-295-5/+91
| | | |
| * | | config: Add ItemOrBool helper for deserializing a bool or a value.Gabriela Moldovan2023-06-292-0/+60
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable us to support the new `keystore_dir` field, which can be either a boolean indicating whether the keystore is disabled or enabled and initialized with the default keystore dir, or a string which points to a custom keystore directory (and implies the keystore is enabled): ``` # use this path, fail if compiled out # keystore = "/path/to/arti/keystore" # # use default path, fail if compiled out # keystore = true # # disable # keystore = false ``` Part of #891
* | | Merge branch 'keymgr' into 'main'Ian Jackson2023-06-292-5/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Adjust stability guarantees for release Closes #934 See merge request tpo/core/arti!1346
| * | | tor-keymgr: Add missing footnoteIan Jackson2023-06-291-0/+5
| | | |
| * | | tor-keymgr: Replace whole-crate-is-unstable warningIan Jackson2023-06-291-3/+5
| | | | | | | | | | | | | | | | | | | | arti-client is going to use this so it can't be whole-crate-unstable, but it can be rapidly-changing.
| * | | tor-keymgr features: Document that "keymgr" is experimentalIan Jackson2023-06-291-0/+8
| | | |
| * | | tor-keymgr features: Make "keymgr" disabled by defaultIan Jackson2023-06-292-2/+2
| | |/ | |/|
* | | Merge branch 'changelog2' into 'main'Ian Jackson2023-06-291-8/+21
|\ \ \ | | | | | | | | | | | | | | | | More changelog entries for 1.next See merge request tpo/core/arti!1349
| * | | changelog: Tweak onion-client warningNick Mathewson2023-06-291-5/+10
| | | |
| * | | CHANGELOG: Expand on .onion support, say it's 1.1.6Ian Jackson2023-06-291-5/+6
| | | | | | | | | | | | | | | | | | | | Ideally README.md would be a link but I@m not sure of the proper link target.
| * | | More changelog entries for 1.nextNick Mathewson2023-06-291-4/+11
| | | |
* | | | Merge branch 'how' into 'main'Ian Jackson2023-06-291-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some README/CHANGELOG updates Closes #929 See merge request tpo/core/arti!1348
| * | | | README: document how to test .onion connectionsIan Jackson2023-06-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Not giving Tor Browser instructions just yet because of the security caveat.
* | | | | Merge branch 'stabilize-hs-client' into 'main'Nick Mathewson2023-06-297-15/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark all {hs,onion-serivce}-client features as non-experimental. Closes #896 See merge request tpo/core/arti!1347
| * | | | | Mark all {hs,onion-serivce}-client features as non-experimental.Nick Mathewson2023-06-297-15/+22
| | | | | |
* | | | | | Merge branch 'default' into 'main'Ian Jackson2023-06-295-7/+58
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | Turn off HS client connections by default See merge request tpo/core/arti!1345
| * | | | | arti-client: StreamPrefs: Add security noteIan Jackson2023-06-291-0/+7
| | | | | |
| * | | | | README: explain how to turn on HS client supportIan Jackson2023-06-291-0/+21
| | | | | |
| * | | | | Turn off HS client connections by defaultIan Jackson2023-06-294-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | As per IRC discussion, re lack of Vanguards.
| * | | | | arti-client tests: Explicitly enable .onion in most testsIan Jackson2023-06-291-2/+16
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | These tests include tests of .onion, which we are disabling by default. So we must make some prefs that enable them.
* | | | | Merge branch 'semver-checks-cleanup' into 'main'Nick Mathewson2023-06-291-106/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Replace our old complex semver-checks script. See merge request tpo/core/arti!1339
| * | | | Replace our old complex semver-checks script.Nick Mathewson2023-06-291-106/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Now with cargo semver-checks >= 0.22.1, we no longer need to jump through hoops in order to only look at the `full` features. This, combined with our work on `fixup-features`, lets us be confident that we're only looking at semver breakage in experimental code.
* | | | Merge branch 'timeouts' into 'main'Ian Jackson2023-06-292-17/+130
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-hsclient: Use estimated timeouts See merge request tpo/core/arti!1342
| * | | tor-hsclient: Add some notes about timeouts and hopsIan Jackson2023-06-291-0/+8
| | | |
| * | | tor-hsclient: Use estimated timeouts for introduction and rendezvous (fmt)Ian Jackson2023-06-291-2/+6
| | | |
| * | | tor-hsclient: Use estimated timeouts for introduction and rendezvousIan Jackson2023-06-291-12/+44
| | | | | | | | | | | | | | | | Replacing RPT_IPT_TIMEOUT is not entirely straightforward.
| * | | tor-hsclient: Use estimated timeout for hsdir fetches (fmt)Ian Jackson2023-06-291-1/+1
| | | |
| * | | tor-hsclient: Use estimated timeout for hsdir fetchesIan Jackson2023-06-291-5/+7
| | | |
| * | | tor-hsclient: Provide bodge constant for circuit lengthIan Jackson2023-06-291-0/+11
| | | |
| * | | tor-hsclient: Plumb timeout estimation machineryIan Jackson2023-06-291-0/+36
| | | |
| * | | tor-circmgr: Provide estimate_timeout as a method on HsCircPoolIan Jackson2023-06-291-1/+21
| |/ /
* | | Merge branch 'maxintro3' into 'main'Ian Jackson2023-06-296-11/+137
|\ \ \ | |_|/ |/| | | | | | | | tor-netdoc: Handle anomalous numbers of introduction points See merge request tpo/core/arti!1332
| * | tor-netdoc: Placate clippy (fmt)Ian Jackson2023-06-281-2/+1
| | |
| * | tor-netdoc: Placate clippyIan Jackson2023-06-281-2/+1
| | |
| * | tor-netdoc: Test hsdescs inners with a variety of IPT counts (fmt)Ian Jackson2023-06-281-9/+18
| | |