summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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 '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-294-7/+37
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 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
| | | |
| * | | 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 '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
| | |
| * | tor-netdoc: Test hsdescs inners with a variety of IPT countsIan Jackson2023-06-283-1/+81
| | |
| * | tor-netdoc: hsdesc: Disregard intro points after the MAX'thIan Jackson2023-06-282-7/+19
| | |
| * | tor-netdoc: Reject hsdescs with no intro pointsIan Jackson2023-06-284-4/+19
| | | | | | | | | | | | None of the existing NetdocErrorKinds seemed right.
| * | tor-hscrypto: Provide values for NUM_INTRO_POINTIan Jackson2023-06-281-0/+12
| | | | | | | | | | | | These are in the spec and tor-hsclient is about to want them.
* | | Merge branch 'keymgr-docs' into 'main'gabi-2502023-06-291-3/+12
|\ \ \ | |_|/ |/| | | | | | | | keymgr: Fix keymgr docs See merge request tpo/core/arti!1343
| * | keymgr: Fix dummy keymgr doc links.Gabriela Moldovan2023-06-291-3/+3
| | | | | | | | | | | | | | | `Error` is private to `dummy.rs` so let's not mention it in the docs of the public items.
| * | keymgr: Add missing dummy implementation for KeyType::arti_extension.Gabriela Moldovan2023-06-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a rustdoc warning when building with: ``` cargo doc --locked --offline -p arti --no-default-features --features=full,onion-service-client ```
* | | Merge branch 'netdir_by_rsa_experimental_apis' into 'main'Nick Mathewson2023-06-292-14/+34
|\ \ \ | |/ / |/| | | | | | | | netdir: Conditionally expose APIs for working with unusable relays; document what "usable" means. See merge request tpo/core/arti!1325
| * | netdir: add crosslinks to our definition of "usable".Nick Mathewson2023-06-291-13/+13
| | |
| * | netdir: document what we mean by a "usable" relay.Nick Mathewson2023-06-291-0/+8
| | |
| * | netdir: Conditionally expose some by_rsa APIs as experimental.Nick Mathewson2023-06-292-3/+15
| | | | | | | | | | | | | | | | | | | | | Network-health wants these to see whether a given relay is listed in the consensus. cc @juga
* | | Merge branch 'debug' into 'main'Ian Jackson2023-06-291-15/+12
|\ \ \ | | | | | | | | | | | | | | | | tor-hsclient: Reimplement Debug for MockCirc See merge request tpo/core/arti!1324
| * | | tor-hsclient: Reimplement Debug for MockCircIan Jackson2023-06-291-15/+12
| | | | | | | | | | | | | | | | | | | | This is less code. Also it now dumps the connect_called field which was introduced in the meantime.
* | | | Merge branch 'circparams' into 'main'Ian Jackson2023-06-293-17/+20
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | tor-hsclient: Use proper CircParameters Closes #935 See merge request tpo/core/arti!1340
| * | | tor-hsclient: Use proper CircParametersIan Jackson2023-06-291-2/+2
| | | | | | | | | | | | | | | | Fixes #935
| * | | tor-circmgr: Expose CircParameters from NetParameters constructionIan Jackson2023-06-292-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per #935. I called this "circparameters_from_netparameters" not "circparameters_from_netparams" because the type is "NetParameters" not "NetParams".
* | | | keymgr: Fix wrong_key_type test.Gabriela Moldovan2023-06-291-1/+5
| | | | | | | | | | | | | | | | | | | | The string representation of `SshKeyAlgorithm` on `main` changed between the time the tests were introduced and the time they were merged.
* | | | Merge branch 'handshake-error' into 'main'Nick Mathewson2023-06-292-31/+59
|\| | | | | | | | | | | | | | | | | | | tor-hsclient: Handle handshake completion error correctly See merge request tpo/core/arti!1336
| * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messages (fmt)Ian Jackson2023-06-291-1/+3
| | | |
| * | | tor-hsclient: err: Rename to RendezvousCompletionCircuitErrorIan Jackson2023-06-292-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thsi is a bit of a mouthful now, but it is comprehensible. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917235