summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | hsrproxy: add a note about a future warning.Nick Mathewson2023-10-041-0/+2
| | | | |
* | | | | Merge branch 'robustify_release' into 'main'Alexander Færøy2023-10-053-11/+153
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Scripts to make release process more robust See merge request tpo/core/arti!1646
| * | | | | fixup-features: Detect published=>unpublished dependenciesNick Mathewson2023-10-041-8/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (If a published crate depends on an unpublished crate, crates.io will refuse it.)
| * | | | | fixup-features: detect wildcard versions.Nick Mathewson2023-10-041-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | None of our crates should use wildcard versions; this will help us detect them before publishing.
| * | | | | Update changed_crates and Release.md to robustify release processNick Mathewson2023-10-042-2/+70
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this change should help avoid the kind of problem we ran into as #1054 and fixed with 00e4405943498754, where a crate changed only in which versions of our crates it depended upon, and we didn't notice that we had to update its version too. This commit also fixes a couple of minor issues in the `changed_crates` script, and gives it a verbose mode.
* | | | | Merge branch 'clarify2' into 'main'gabi-2502023-10-041-3/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: ipt_set: Docs clarifications See merge request tpo/core/arti!1647
| * | | | | tor-hsservice: ipt_set: Docs clarificationsIan Jackson2023-10-041-3/+9
| |/ / / / | | | | | | | | | | | | | | | Apropos a conversation in !1645
* | | | | Merge branch 'worst-case-end-fixes' into 'main'gabi-2502023-10-041-48/+52
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Share an IptsPublisherUploadView with each upload task. Closes #1050 See merge request tpo/core/arti!1645
| * | | | tor-hsservice: Remove unnecessary let binding.Gabriela Moldovan2023-10-041-4/+2
| | | | |
| * | | | tor-hsservice: Remove a now-outdated TODO.Gabriela Moldovan2023-10-041-23/+0
| | | | |
| * | | | tor-hsservice: Share an IptsPublisherUploadView with each upload task.Gabriela Moldovan2023-10-041-21/+50
|/ / / / | | | | | | | | | | | | | | | | | | | | This enables us to specify a more accurate `worst_case_end` publish time. Closes #1050
* | | | Merge branch 'fix-compile-errors' into 'main'Ian Jackson2023-10-041-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-hsservice: Fix semantic conflict. See merge request tpo/core/arti!1643
| * | | | tor-hsservice: Fix semantic conflict.Gabriela Moldovan2023-10-041-3/+1
|/ / / / | | | | | | | | | | | | | | | | This fixes a compile error that resulted from a semantic conflict between !1634 and !1638.
* | | | Merge branch 'configure_onion_service' into 'main'Nick Mathewson2023-10-0317-29/+264
|\ \ \ \ | | |/ / | |/| | | | | | | | | | Initial work on top-level onion service configuration See merge request tpo/core/arti!1638
| * | | Add/clarify comments about name duplication.Nick Mathewson2023-10-032-1/+6
| | | |
| * | | arti: make sure nicknames in builders match (or are absent)Nick Mathewson2023-10-031-7/+16
| | | |
| * | | arti: Fix up the example config to use the new onion_services format.Nick Mathewson2023-10-031-6/+5
| | | |
| * | | arti: in onion service builder, rename "transports" to "services"Nick Mathewson2023-10-031-4/+3
| | | | | | | | | | | | | | | | The old name was a copy-paste error.
| * | | arti: Make onion_services serialize as a map.Nick Mathewson2023-10-034-1/+48
| | | | | | | | | | | | | | | | This lets us write `[onion_services.allium_cepa]`.
| * | | arti: Make onion_service configuration option pluralNick Mathewson2023-10-032-5/+5
| | | |
| * | | hss: Rename the "name" config field to "nickname".Nick Mathewson2023-10-034-4/+4
| | | |
| * | | Note that we *do* need to actually test the onion service config.Ian Jackson2023-10-031-1/+1
| | | |
| * | | hsrproxy: fix a rustdoc link.Nick Mathewson2023-10-031-1/+1
| | | |
| * | | arti: Add a list of [[onion_service]]s to the config.Nick Mathewson2023-10-033-2/+91
| | | | | | | | | | | | | | | | There are no tests for parsing it yet.
| * | | hss: Temporarily disable POW config items.Nick Mathewson2023-10-031-4/+5
| | | | | | | | | | | | | | | | | | | | We plan to ship without them at first, so we may as well remove them.
| * | | hss: Make more of the configuration defaultable.Nick Mathewson2023-10-031-0/+2
| | | |
| * | | arti: add a set of OnionServiceProxyConfig types.Nick Mathewson2023-10-034-1/+65
| | | | | | | | | | | | | | | | | | | | These don't yet attach to the rest of the ArtiConfig, or actually launch any onion services, but they're a start.
| * | | arti-client: Re-export onion-service configuration types.Nick Mathewson2023-10-031-0/+6
| | | |
| * | | hsproxy: fix a documentation link.Nick Mathewson2023-10-031-1/+1
| | | |
| * | | hsrproxy: Make configs and builders implement more traits.Nick Mathewson2023-10-032-2/+7
| | | |
| * | | hss: Make configs and builders implement more traits.Nick Mathewson2023-10-032-4/+6
| | | |
| * | | tor-config: derive Default for FlattenNick Mathewson2023-10-031-1/+1
| | | |
| * | | hsrproxy: remove allow(dead_code).Nick Mathewson2023-10-031-2/+0
| | | |
| * | | arti-client: fix up launch_onion_service a bit.Nick Mathewson2023-10-031-10/+19
| |/ / | | | | | | | | | Return a stream of requests, and document what to do with them.
* | | Merge branch 'publisher-nickname' into 'main'Alexander Færøy2023-10-033-45/+45
|\ \ \ | | | | | | | | | | | | | | | | tor-hsservice: Make the publisher not require callers to specify the hsid. See merge request tpo/core/arti!1637
| * | | tor-hsservice: Remove a fixed TODO.Gabriela Moldovan2023-10-031-1/+0
| | | |
| * | | tor-hsservice: Make the publisher not require callers to specify the hsid.Gabriela Moldovan2023-10-033-41/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the descriptor publisher needed the `hsid` for logging purposes and for deriving the blinded public keys. This changes the publisher to log the `HsNickname` of the service instead of the hsid, and to read the blinded keys from the keystore.
| * | | tor-hsservice: Make Reactor::compute_time_periods a method.Gabriela Moldovan2023-10-031-4/+4
| | | | | | | | | | | | | | | | | | | | We will soon rewrite this function to load the blinded key from `KeyMgr` (instead of deriving it from `self.hsid_key`).
* | | | Merge branch 'refactor-kdf' into 'main'Nick Mathewson2023-10-032-15/+42
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto: Refactor the key derivation See merge request tpo/core/arti!1629
| * | | | tor-proto: Refactor the key derivationEmil Engler2023-09-292-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit refactors the key derivation, by applying the following: - The spaghetti slice creation with the hard-to-read boundaries got replaced by a closure, which accepts a length, advances the seed slice by n bytes as a side-effect, and returns the just advanced bytes - The use of `.except` got replaced by an `.or`, with the use of the already existing `InvalidKDFOutputLength` error, thereby removing a potential panic (probably not reachable in runtime though) - The conversion from a slice to a `CircuitBinding` got moved into a `TryFrom` trait of the appropriate data structure
* | | | | Merge branch 'publisher-tests' into 'main'gabi-2502023-10-0313-174/+709
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | tor-hsservice: Fix hsdesc publisher bugs, add tests See merge request tpo/core/arti!1634
| * | | tor-dirclient: Mark `DirResponse` as `#[must_use]`.Gabriela Moldovan2023-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | Not checking whether the response is successful can have unintended consequences.
| * | | tor-hsservice: Add tests for the descriptor publisher.Gabriela Moldovan2023-10-033-1/+449
| | | |
| * | | tor-hsservice: Make the upload fail if the HSDir responds with an error.Gabriela Moldovan2023-10-031-1/+2
| | | |
| * | | tor-hsservice: Do not discard the error source.Gabriela Moldovan2023-10-031-3/+3
| | | | | | | | | | | | | | | | | | | | We were previously converting the RequestFailedError to a RequestError, which discards the error source.
| * | | tor-dirclient: Set a non-zero expected response len for uploads.Gabriela Moldovan2023-10-031-5/+5
| | | |
| * | | tor-hsservice: Mock the client circ and data stream.Gabriela Moldovan2023-10-031-2/+26
| | | |
| * | | tor-hsservice: Abort the upload task if all HSDirs have the latest descriptor.Gabriela Moldovan2023-10-031-0/+5
| | | |
| * | | tor-hsservice: Rewrite map() as a for-loop (fmt).Gabriela Moldovan2023-10-032-111/+112
| | | |
| * | | tor-hsservice: Rewrite map() as a for-loop.Gabriela Moldovan2023-10-031-8/+2
| | | | | | | | | | | | | | | | | | | | This fixes a clippy complexity warning. It also makes the code more readable, IMO.