summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| * | | tor-hsclient: err: Mention RENDEZVOUS2 in actual messagesIan Jackson2023-06-291-2/+2
| | | |
| * | | tor-hsclient: err: Move doc comment to correct implIan Jackson2023-06-291-17/+17
| | | | | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1336#note_2917236
| * | | tor-hsclient: err: Mention RENDEZVOUS2Ian Jackson2023-06-291-2/+2
| | | |
| * | | tor-hsclient: err: Reword comments about errorIan Jackson2023-06-291-1/+1
| | | |
| * | | tor-hsclient: Handle handshake completion error correctlyIan Jackson2023-06-282-6/+31
| | | |
| * | | tor-hsclient: Rename RendezvousCompletionCircuit from RendezvousCompletionIan Jackson2023-06-282-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | We need to handle errors during the handshake. That also produces a `tor_proto::Error` but we want to print a different message for that, so let's rename this before adding the new variant.
| * | | tor-hsclient: Move handling of Bug to new sectionIan Jackson2023-06-281-1/+2
| | |/ | |/| | | | | | | It was wrong where ti was.
* | | Merge branch 'keymgr-tests' into 'main'gabi-2502023-06-296-0/+308
|\ \ \ | |_|/ |/| | | | | | | | keymgr: Add tests for ArtiNativeKeyStore See merge request tpo/core/arti!1337
| * | keymgr: Add a TODO about implementing and testing has_key_bundle.Gabriela Moldovan2023-06-291-0/+8
| | |
| * | keymgr: Add some basic insert and remove tests.Gabriela Moldovan2023-06-291-0/+52
| | |
| * | keymgr: Add assert_found! test helper.Gabriela Moldovan2023-06-291-8/+13
| | |
| * | keymgr: Add some key retrieval tests for ArtiNativeKeyStore.Gabriela Moldovan2023-06-291-5/+54
| | |
| * | keymgr: Add a gen_keys param to init_keystore.Gabriela Moldovan2023-06-291-2/+16
| | | | | | | | | | | | | | | This will enable future tests to optionally initialize the test key store with some test keys.
| * | keymgr: Add tests for ArtiNativeKeyStore::key_path.Gabriela Moldovan2023-06-292-0/+92
| | |
| * | keymgr: Derive Debug for ArtiNativeKeyStore.Gabriela Moldovan2023-06-291-0/+1
| | |
| * | keymgr: Add tests for ssh key handling.Gabriela Moldovan2023-06-294-0/+87
| | | | | | | | | | | | Part of #895
| * | keymgr: Return the key, not Box<()>.Gabriela Moldovan2023-06-291-1/+1
| | | | | | | | | | | | | | | This fixes a bug which caused the function to always return a type-erased `()` instead of the actual key!
* | | Merge branch 'netdir_todos' into 'main'Nick Mathewson2023-06-296-52/+82
|\ \ \ | | | | | | | | | | | | | | | | Resolve or defer most TODO HS items in tor-netdir. See merge request tpo/core/arti!1310
| * | | netdir: Remove a TODO HSNick Mathewson2023-06-291-4/+0
| | | | | | | | | | | | | | | | The function this comment is asking us to write is `circtarget_from_pieces`.
| * | | Downgrade TODO HS on HsDirParams::compute().expect()Nick Mathewson2023-06-292-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | (Adding comments explaining that these errors are really unlikely to occur, unless there is a bug in our code or in Rust's time handling.)