summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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 'update' into 'main'Ian Jackson2023-06-291-188/+212
|\ \ \ | | | | | | | | | | | | | | | | Run "cargo update" in preparation for Friday release. See merge request tpo/core/arti!1338
| * | | Run "cargo update" in preparation for Friday release.Nick Mathewson2023-06-291-188/+212
| | | |
* | | | Merge branch 'changelog' into 'main'Nick Mathewson2023-06-291-0/+189
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Changelog for upcoming release See merge request tpo/core/arti!1344
| * | | | initial changelog for 1.2.0, or 1.1.6.Nick Mathewson2023-06-291-0/+189
| | | | |
* | | | | Merge branch 'netdir_by_rsa_experimental_apis' into 'main'Nick Mathewson2023-06-293-14/+35
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | 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-293-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | | | | | Merge branch 'fix-keymgr-tests' into 'main'Nick Mathewson2023-06-291-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keymgr: Fix `wrong_key_type` test. Closes #938 See merge request tpo/core/arti!1341
| * | | | | | 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-297-0/+309
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | 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-293-0/+93
| | | |
| * | | 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.)
| * | | | netdir: Defer a TODO HS but add a commentNick Mathewson2023-06-291-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue with walking over the ring is an issue we really must solve on the services timeframe, as is the one about looking only at the rings for which a blinded ID is germane.
| * | | | netdir: take n_replicas and spread_fetch from consensus parametersNick Mathewson2023-06-291-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | This makes them configurable, since we allow the user to override any consensus parameter.
| * | | | netdir: Downgrade/remove/defer some TODO hs entries.Nick Mathewson2023-06-292-7/+5
| | | | |
| * | | | netdir: remove some now-needless warning suppressions.Nick Mathewson2023-06-292-3/+0
| | | | |
| * | | | dirmgr: use voting_period.Nick Mathewson2023-06-291-4/+1
| | | | |