summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-hsservice: Rename period to period_ctx for clarity.Gabriela Moldovan2023-11-161-5/+4
| | | | | | | | | | | | | | | | `period` is actually a `TimePeriodContext`, not a `TimePeriod.
| * | | tor-hscrypto: Make offset_within_period() work with timestamps from later ↵Gabriela Moldovan2023-11-161-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | periods. Hidden services can have multiple "active" time periods for which they generate descriptors. We need to be able to compute the offset of a timestamp from the start of a given time period, even if that timestamp falls within the "next" time period (for example, when publishing descriptors for the "previous" time period, the `when` timestamp will fall outside the `(start, end)` range of the "previous" time period).
* | | Merge branch 'aes_ope' into 'main'Nick Mathewson2023-11-166-0/+224
|\ \ \ | | | | | | | | | | | | | | | | Implementation for AES-based Order-preserving encryption See merge request tpo/core/arti!1741
| * | | Implementation for AES-based Order-preserving encryptionNick Mathewson2023-11-166-0/+224
| | | | | | | | | | | | | | | | | | | | | | | | This is the approach from appendix F.2 in rend-spec. Part of #1053.
* | | | Merge remote-tracking branch 'public/hs_begin'Nick Mathewson2023-11-163-4/+16
|\ \ \ \
| * | | | hss: document behavior needed for indistinguishabilityNick Mathewson2023-10-231-2/+12
| | | | |
| * | | | hsrproxy: Document what we check about begin messagesNick Mathewson2023-10-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, we check nothing except the port. This matches the behavior of C-tor and the documentation in torspec!179.
| * | | | hsrproxy: Send back DONE reasons.Nick Mathewson2023-10-232-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This is in keeping with the behavior of C tor, and of torspec!179.
* | | | | Merge branch 'update-rustc-build-repro' into 'main'Nick Mathewson2023-11-162-2/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | update rustc for reproducible builds See merge request tpo/core/arti!1743
| * | | | add tpa tag to coverage-aggregatedtrinity-1686a2023-11-161-0/+2
| | | | | | | | | | | | | | | | | | | | otherwis it fails when it gets scheduled on a non-ipv6 ready runner
| * | | | update rustc for reproducible buildstrinity-1686a2023-11-162-2/+2
|/ / / /
* | | | Merge branch 'strip_onion_begin' into 'main'Alexander Færøy2023-11-154-2/+49
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Send less information in onion service BEGIN messages Closes #1077 See merge request tpo/core/arti!1738
| * | | Send less information in onion service BEGIN messagesNick Mathewson2023-11-154-2/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While looking for differences, we found that C tor always omits the flags and the hostname from a BEGIN message sent on an onion service circuit. In torspec!179, we specified that behavior. This patch brings arti into conformance. Closes #1077.
* | | | Merge branch 'upgrades-20231115' into 'main'gabi-2502023-11-1517-44/+53
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Upgrade a couple of dependencies See merge request tpo/core/arti!1736
| * | | 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-152-7/+7
| | | |
| * | | Upgrade to itertools 0.12.0Nick Mathewson2023-11-1517-36/+45
| | | |
* | | | Merge branch 'clap4' into 'main'gabi-2502023-11-1511-59/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Upgrade to clap 4 See merge request tpo/core/arti!1735
| * | | | cargo_audit: Remove note about clap use of atty.Nick Mathewson2023-11-151-2/+1
| | | | |
| * | | | Use "wrap_help" feature for clap.Nick Mathewson2023-11-157-6/+17
| | | | |
| * | | | clap4: Upgrade from a deprecated syntax in examples.Nick Mathewson2023-11-151-4/+4
| | | | |
| * | | | Bump to clap 4 and resolve compiler errors.Nick Mathewson2023-11-156-50/+16
| | | | |
* | | | | Merge branch 'remove-webpki-exception' into 'main'gabi-2502023-11-151-13/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove webpki cargo_audit exception See merge request tpo/core/arti!1737
| * | | | | Remove webpki cargo_audit exceptionNick Mathewson2023-11-151-13/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Apparently webpki came out of retirement and actually fixed RUSTSEC-2023-0052. Versions >=0.22.2 should be fine.
* | | | | Merge branch 'handshake-traits-for-ntorv3' into 'main'Nick Mathewson2023-11-1510-110/+237
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Adapt handshake traits for ntor-v3 See merge request tpo/core/arti!1720
| * | | | 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