summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Patchlevel bumps for crates whose dependencies just changed.Nick Mathewson2023-03-311-7/+7
| | | | | | | | | | | | | | | | These crates had no changes until just a moment ago. But since we updated the versions on some of their dependents, they have now changed themselves. Thus they get patchlevel bumps. ``` tor-rtmock tor-protover tor-socksproto tor-consdiff tor-chanmgr tor-dirclient tor-hsservice ```
* Bump crate versions that have breaking changesNick Mathewson2023-03-311-2/+2
| | | | | | | | | | These crates have had breaking changes. They are pre-1.0, so they get a minor bump. ``` tor-basic-utils tor-config ```
* Bump patchlevel on crates with non-breaking changesNick Mathewson2023-03-311-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For these crates, the changes are nontrivial, so we _do_ bump the versions on which their dependent crates depend. Fortunately, since they are all pre-1.0, we don't need to distinguish semver-additions from other changes. (Except for arti, which _is_ post-1.0, but gets a patchlevel bump anyway.) These are unstable crates with breaking changes: ``` tor-hscrypto tor-hsclient ``` These have new or extended APIs: ``` safelog tor-bytes tor-cell tor-linkspec tor-llcrypto tor-proto tor-cert arti-client ``` These have new unstable APIs or features: ``` tor-netdoc tor-circmgr (also broke some unstable APIs) arti (is post-1.0) ``` These have bugfixes only: ``` caret tor-dirmgr ```
* Bump patchlevel on crates with semver-irrelevant changes.Nick Mathewson2023-03-311-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Their dependents are _not_ updated to a more recent version. These bumped the version of a dependency that they don't expose ``` tor-rtcompat fs-mistrust ``` This one had internal refactoring: ``` tor-netdir ``` These had trivial changes only: ``` tor-checkable tor-ptmgr tor-guardmgr arti-hyper arti-bench arti-testing ```
* Run cargo update in preparation for release tomorrow.Nick Mathewson2023-03-301-212/+249
|
* Upgrade dependency to latest rusqlite.Nick Mathewson2023-03-301-12/+12
|
* Upgrade dependency to latest async-native-tls.Nick Mathewson2023-03-301-76/+103
|
* Move functionality from tor_basic_utils to tor_async_utilsNick Mathewson2023-03-291-6/+6
| | | | | This commit is mostly code movement; I'd recommend reviewing it with git's `--color-moved` option.
* Make a new empty tor-async-utils crate.Nick Mathewson2023-03-291-0/+9
|
* Add builder for encoding hidden service descriptors.Gabi Moldovan2023-03-241-0/+2
| | | | | | | | | | | | | | This introduces the `NetdocBuilder` trait described in `netdoc-builder.md` and a new `tor-netdoc::doc::hsdesc::build` module, which exports the `HsDescBuilder`. Hidden services will use `HsDescBuilder` to build and encode hidden service descriptors. There are several TODOs in the code that I'm planning to address separately. Partially addresses #745. Signed-off-by: Gabriela Moldovan <[email protected]>
* Update to shellexpand 3.1.0 so we can use dirs 5 everywhereIan Jackson2023-03-241-27/+7
| | | | | | | | Results of precisely cargo update -p shellexpand Incorporates changes I have made to shellexpand to allow use of dirs 4 *or* dirs 5.
* Update required openssl versionNick Mathewson2023-03-241-6/+6
| | | | cargo-audit is complaining about 0.10.45.
* Merge branch 'upgrade_dirs' into 'main'Alexander Færøy2023-03-231-19/+39
|\ | | | | | | | | Bump to the lastest versions of dirs and directories. See merge request tpo/core/arti!1072
| * Bump to the lastest versions of dirs and directories.Nick Mathewson2023-03-221-19/+39
| |
* | arti-client: Create an HsClientConnectorIan Jackson2023-03-231-0/+1
|/
* circmgr: Declare builder() unconditionally.Nick Mathewson2023-03-221-0/+1
| | | | (Still, only expose it when experimental-api is enabled.)
* Upgrade to bitflags 2.0Nick Mathewson2023-03-131-13/+19
| | | | | This version of bitflags now requires us to explicitly list the traits that we want to derive for our bit-flags structs.
* arti-client: Parse .onion addresses and dispatch to client.rsIan Jackson2023-03-091-0/+1
| | | | | | | Now, a Host has a separate variant for `.onion` which is always used, even when HS is disabled. Currently it ends in a todo!.
* tor-proto: Implement functionality to send a message and accept repliesNick Mathewson2023-03-081-0/+1
| | | | | | | | | | | This new function combines "sending a message" and "accepting replies in a stream" into a single call, so that there is no gap between when the message is sent and the replies are available. There are a number of compromises here, in order to avoid API proliferation. I've tried to contain them as best I can. See comments for additional design discussion.
* Impl Redactable for HsIdIan Jackson2023-03-071-0/+1
|
* impl Display for HsIdIan Jackson2023-03-071-0/+3
|
* hsclient state: Split off MultikeyIsolatedMapIan Jackson2023-03-011-0/+1
|
* hsclient state: Restructure using a scope to drop the mutex guardIan Jackson2023-03-011-0/+1
| | | | | | | | | | | | Explicit drops don't work. Instead, introduce a scope. We need two scopes, actually: one where we do the initial table wrangling, and one for the retries after relock. So we must put the meat in a closure so we can reuse it. And we must return the flow control as an enum. Bah, etc. Avoid reformatting this for the moment. This makes the delta legible...
* hsclient state: Test most important code pathsIan Jackson2023-03-011-0/+2
|
* hsclient state: Provide one testIan Jackson2023-03-011-0/+3
|
* hsclient: Use a generic to provide a mock for connect()Ian Jackson2023-03-011-0/+1
| | | | This will allow us to test state.rs.
* tor-circmgr: Provide testing feature and TestConfigIan Jackson2023-03-011-0/+1
| | | | Like the similar thing in tor-guardmgr.
* hsclient: Implement connection attempt tracking state machineIan Jackson2023-03-011-0/+14
| | | | This compiles, but it cannot work yet. Nor can it conveniently be tested.
* HS secret keys: Move aggregate/config to tor-hsclientIan Jackson2023-03-011-0/+1
| | | | | | | | Provide a more cookied "secret keys for use to connecting to a particular HS" type, with a builder. This wants to use config stuff, so oughtn't to be in tor-*crypto. The individual types remain there.
* hscrypto: Make several types Readable+WriteableNick Mathewson2023-02-281-0/+1
| | | | Specifically, RendCookie, Subcredential, HsId, and HsBlindId.
* Follow-on patchlevel bumps for crates with changed dependenciesNick Mathewson2023-02-281-4/+4
| | | | | | | | | | These crates didn't have any changes until now, when I bumped the versions of some other crates they depend on: tor-consdiff arti-hyper arti-bench arti-testing
* Patchlevel bumps for remaining changed crates.Nick Mathewson2023-02-281-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have had small code changes, but no API additions: tor-config tor-socksproto tor-cert tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr arti tor-hsservice tor-congestion These crates have had API extensions: fs-mistrust tor-llcrypto tor-bytes tor-checkable tor-linkspec tor-netdoc tor-persist arti-client
* Bump tor-units version for breaking change.Nick Mathewson2023-02-281-1/+1
| | | | | | | | (The breaking change was removing `as_days()` from IntegerMinutes.) We are _not_ calling this a downstream-api breaking change, per discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1012?commit_id=bb2ab7c2a3e0994bb438188511688b5b039cae29#note_2876819
* Bump patch-versions for breaking changes in tor-hs{crypto,client}Nick Mathewson2023-02-281-2/+2
| | | | | | These are API breaks, but the crates themselves are currently 100% experimental, so there's no need to bump the minor versions according to our semver rules.
* Bump minor versions for significant breaking changes.Nick Mathewson2023-02-281-3/+3
| | | | This includes tor-cell, tor-proto, and tor-netdir.
* Run cargo update in preparation for Wednesday ReleaseNick Mathewson2023-02-271-74/+97
|
* Run "cargo update" in preparation for the release in 2 weeks.Nick Mathewson2023-02-171-94/+119
|
* Merge branch 'ticket_525_part3_take2' into 'main'Nick Mathewson2023-02-151-0/+1
|\ | | | | | | | | | | | | Finish #525 for relay messages: Only parse messages at the last instant. Closes #773 and #525 See merge request tpo/core/arti!1017
| * tor-cell: Refactor relay cells to copy much lessNick Mathewson2023-02-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | We now manipulate raw relay cell bodies as (an alias for) `Box<[u8;509]>` rather than as (an alias for) `[u8;509]`. This enables us to do much less copying. It will become more important soon, as we defer parsing relay cell bodies even longer. Related to #7. We also use SliceWriter to avoid allocating a Vec<> for every relay message we want to encode, and instead encode directly into the cell.
* | Upgrade to latest toml crate.Nick Mathewson2023-02-141-10/+27
|/ | | | (None of the breaking changes affect us this time.)
* Merge branch 'ticket_525_part2' into 'main'Nick Mathewson2023-02-091-0/+1
|\ | | | | | | | | Apply restricted_msg to ChanMsg parts of tor-proto See merge request tpo/core/arti!1013
| * tor-cell: Make RelayEarly a separate type.Nick Mathewson2023-02-091-0/+1
| | | | | | | | This allows us to remove a shenanigan from `restricted_msg!{}`.
* | hsdir representation: Introduce HsDirs generic typeIan Jackson2023-02-091-0/+1
| | | | | | | | | | This already allows us to get rid of some duplication, and will be useful more widely in a moment.
* | hs time handling: Make TimePeriod contain length as IntegerMinutesIan Jackson2023-02-091-0/+1
| | | | | | | | | | | | Locally, the only functional effect is that now we refuse to handle non-whole-number-of-minutes lengths - but since the consensus parameter can't represent those, there's no overall functional change.
* | hsdesc: Use an IntegerMinutes<u16> to hold lifetime.Nick Mathewson2023-02-081-0/+1
|/
* tor-cell: Macro to generate restricted RelayMsg and ChanMsg.Nick Mathewson2023-02-071-0/+1
| | | | This is the main implementation part of #525.
* Bump openssl-src to 1.1.1t.Nick Mathewson2023-02-071-2/+2
|
* netdoc: Parse the inner layer of an onion service descriptor.Nick Mathewson2023-02-071-0/+1
| | | | | | | | | There are some places where I note certificates which are not currently validated, because there is no cryptographic point in doing so. We should either document that this is okay, or validate the certificates anyway. This code might benefit from refactoring to make it prettier.
* netdoc: implement onion service descryptor encryptionNick Mathewson2023-02-071-0/+4
| | | | | This is tested via a round-trip check, and via a successful decryption of our example descriptor's outer layer.
* tor-netdir: Use typed-index-collections for router status indexIan Jackson2023-02-011-0/+7
|