summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Require a more up-to-date version of time.Nick Mathewson2023-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | (rusqlite fails with time 0.3.18, which is the version it claims to require.)
| * | | Upgrade to rusqlite 0.30.0Nick Mathewson2023-11-151-1/+1
| | | |
| * | | Upgrade to itertools 0.12.0Nick Mathewson2023-11-1516-19/+19
| | | |
* | | | Merge branch 'clap4' into 'main'gabi-2502023-11-155-7/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Upgrade to clap 4 See merge request tpo/core/arti!1735
| * | | | Use "wrap_help" feature for clap.Nick Mathewson2023-11-153-3/+3
| | | | |
| * | | | Bump to clap 4 and resolve compiler errors.Nick Mathewson2023-11-155-7/+9
| | | | |
* | | | | tor-llcrypto: bump sha3 minimum versionJim Newsome2023-11-152-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before version 10.6, `Shake256Reader` is incorrectly defined using `Shake256Core` instead of `Shake256ReaderCore`. As a result, attempting to instantiate `Shake256Reader` fails at compile time.
* | | | | tor-proto: make ClientHandShake and ServerHandshake generic over aux dataJim Newsome2023-11-156-164/+112
| | | | |
* | | | | Add NtorV3Server and implement ServerHandshake for itJim Newsome2023-11-151-29/+43
| | | | |
* | | | | ServerHandshake: extend to support ntorv3 extensionsJim Newsome2023-11-154-20/+130
| | | | |
* | | | | NtorV3Client: implement ClientHandshakeJim Newsome2023-11-151-7/+13
| | | | |
* | | | | ClientHandshake: extend to support ntorv3 extensionsJim Newsome2023-11-154-22/+66
| | | | |
* | | | | NtorV3Client: take a slice instead of a vec of extensionsJim Newsome2023-11-151-5/+3
| | | | |
* | | | | ntor_v3: replace `impl digest::XofReader` with `NtorV3XofReader`Jim Newsome2023-11-151-15/+20
| | | | |
* | | | | tor_llcrypto: expose `Shake256Reader`Jim Newsome2023-11-152-1/+2
| | | | |
* | | | | CircuitHandshake::Ntor::ed_identity clarify doc-commentJim Newsome2023-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Use consistent phrasing when describing the two key fields to make it clear they're referring to the same relay.
* | | | | hs_ntor: fix comment typo INTROUDCE1Jim Newsome2023-11-151-1/+1
| |/ / / |/| | |
* | | | Merge branch 'keymgr-docs2' into 'main'gabi-2502023-11-156-87/+142
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | tor-keymgr: Minor doc improvements Closes #1066 See merge request tpo/core/arti!1731
| * | | tor-keymgr: Add missing backticks (fmt).Gabriela Moldovan2023-11-133-4/+3
| | | |
| * | | tor-keymgr: Add missing backticks.Gabriela Moldovan2023-11-131-2/+2
| | | |
| * | | tor-keymgr: Move module-level docs to KeyMgr.Gabriela Moldovan2023-11-131-13/+13
| | | | | | | | | | | | | | | | The module is private so it won't show up in the public docs.
| * | | tor-keymgr: Expand the ArtiNativeKeystore docs.Gabriela Moldovan2023-11-131-1/+19
| | | |
| * | | tor-keymgr: Clarify how the default/secondary stores are used.Gabriela Moldovan2023-11-131-2/+25
| | | |
| * | | tor-keymgr: Mention the custom SSH algorithm name for expanded ed keys.Gabriela Moldovan2023-11-131-1/+2
| | | |
| * | | tor-keymgr: Clarify what ArtiPath are used for.Gabriela Moldovan2023-11-132-2/+7
| | | |
| * | | tor-keymgr: Add some doctests.Gabriela Moldovan2023-11-131-0/+35
| | | |
| * | | tor-keymgr: Abolish KeyPathPatternSet.Gabriela Moldovan2023-11-134-65/+39
| | | | | | | | | | | | | | | | | | | | | | | | We don't really need it. Closes #1066
| * | | tor-keymgr: Downgrade a TODO HSS to TODO.Gabriela Moldovan2023-11-131-1/+1
| | |/ | |/|
* | | Merge branch 'circmgr-test-mock-runtime' into 'main'Ian Jackson2023-11-142-33/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-circmgr: Port tests to MockRuntime Closes #1090 See merge request tpo/core/arti!1727
| * | | tor-circmgr: partially port mgr tests to MockRuntimeSaksham Mittal2023-11-141-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | MockSleepRuntime wraps a MockRuntime instead of using test_with_one_runtime!(), so the tests should be more deterministic
| * | | tor-circmgr: partially port test_double_timeout() to MockRuntimeSaksham Mittal2023-11-141-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests still use MockSleepRuntime for the more complicated tests where we forcefully make one or both futures time out, but MockSleepRuntime wraps a MockRuntime instead of using test_with_all_runtimes!(), so the tests should be more deterministic
| * | | tor-circmgr: fix build_*_timeout() for MockRuntime portSaksham Mittal2023-11-141-8/+5
| | | | | | | | | | | | | | | | | | | | The funky thing was getting rid of the Canceled error from the channel and returning the actual error from build_owned() properly
| * | | tor-circmgr: have FakeCirc derive DebugSaksham Mittal2023-11-111-5/+2
| | | |
| * | | tor-circmgr: Port some build_* tests to MockRuntimeSaksham Mittal2023-11-111-15/+27
| |/ / | | | | | | | | | build_modest_timeout() and build_huge_timeout() don't pass yet
* | | tor-hsservice: Downgrade TODO HSS to TODO.Gabriela Moldovan2023-11-131-1/+1
| | |
* | | tor-hsservice: Remove some `allow`s we don't need anymore.Gabriela Moldovan2023-11-131-4/+0
|/ /
* | Merge branch 'send_msg_but_no_handler' into 'main'Nick Mathewson2023-11-091-2/+3
|\ \ | | | | | | | | | | | | | | | | | | Make conversation::send_message work without an error. Closes #1085 See merge request tpo/core/arti!1726
| * | circuit: On SendMsgAndInstallHandler, tolerate None handlerNick Mathewson2023-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it was possible for `handler` to be None only when `msg` was also None, which would make SendMsgAndInstallHandler into a no-op. Now, if `msg` is present but `handler` is absent, we use the previously installed handler, which I think was our intention. Without this patch, `Conversation::send_message` simply won't work. Fixes #1085.
| * | circuit::reactor: Remember that meta_handler is Send.Nick Mathewson2023-11-021-2/+2
| | | | | | | | | | | | | | | | | | (We already require that it is Send when the client gives it to us in circuit.rs, but we had previously forgotten that when we stored it in the Reactor.)
* | | Merge branch 'time-store' into 'main'Ian Jackson2023-11-025-7/+430
|\ \ \ | | | | | | | | | | | | | | | | Provide module for handling storage of times on disk See merge request tpo/core/arti!1723
| * | | tor-hsservice: time_store: Add TODO HSS re serialisationsIan Jackson2023-11-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1723#note_2960861 https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1723#note_2961013
| * | | tor-hsservice: time_store: Slight structural tidyingIan Jackson2023-11-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1723#note_2960877 and following some IRC discussion.
| * | | HSS time_store: clarify by removing a commagabi-2502023-11-021-1/+1
| | | |
| * | | tor-hsservice: New time_store module (provide accessors)Ian Jackson2023-11-011-2/+43
| | | | | | | | | | | | | | | | These are the logically necessary accessors.
| * | | tor-hsservice: New time_store moduleIan Jackson2023-11-012-0/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I found time handling in IPT persistence very confusing to think about, so I propose to deal with all of the hard questions in a module. Again we have a doctest so use the technique we used for having timeout_track not be semver-exposed.
| * | | tor-rtmock: MockRuntimeBuilder: new sleep_provider() setterIan Jackson2023-11-012-1/+11
| | | |
| * | | tor-rtmock: simplify/reorganise MockRuntimeBuilder::buildIan Jackson2023-11-011-4/+3
| | | | | | | | | | | | | | | | | | | | Always reify a default SimpleMockTimeProvider, and then apply the starting_wallclock to it. This will make the next change fit.
| * | | tor-hsservice: timeout_track: Remove some unnecessary allowsIan Jackson2023-11-011-3/+1
| | | | | | | | | | | | | | | | Retain the TODO for making this properly pub somewhere.
* | | | tor-keymgr: Add TODO about adding helper for implementing KeyDenotator.Gabriela Moldovan2023-11-021-0/+2
| | | |
* | | | tor-keymgr: Map all errors to KeystoreCorruptionError (fmt).Gabriela Moldovan2023-11-021-4/+2
| | | |