aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
* rpc: Add asynchronous_codec wrapper for jsonlines.Nick Mathewson2023-04-121-0/+1
|
* rpc: Add a cancellable future type.Nick Mathewson2023-04-121-0/+2
| | | | | | Ordinarily you can cancel a future just by dropping it, but we'll want the ability to cancel futures that we no longer own (because we gave them to a `FuturesUnordered`).
* rpc: Implement json message types for serde.Nick Mathewson2023-04-121-1/+83
|
* hs connect: Test descriptor downloadIan Jackson2023-04-111-0/+2
|
* hs dirs: Initial cut at descriptor downloadingIan Jackson2023-04-111-0/+6
| | | | | | | | There are many TODOs here. Some are questions; some are straightforward and can be done in followups. With this code, I am able to reach the eprintln! and todo! with curl --socks5-hostname localhost:9150 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/
* hs desc: Record a Timebound<HsDesc> (but not really for now)Ian Jackson2023-04-111-0/+1
| | | | | | | | | We have a local alias of `HsDesc = String` which needs to be got rid of. But, right now the alternative would be to implement all the code for signature checking and decryption of an `HsDesc`, before we can make a test case for the downloader part.
* Update to new version of crossbeam-channel.Nick Mathewson2023-04-101-2/+2
| | | | | The previous one is yanked, which is making our cargo-audit script fail.
* Merge branch 'req' into 'main'Ian Jackson2023-04-041-0/+1
|\ | | | | | | | | tor-dirclient: Provide HsDescDownloadRequest See merge request tpo/core/arti!1097
| * tor-dirclient: Provide HsDescDownloadRequestIan Jackson2023-04-031-0/+1
| | | | | | | | | | In my tests this seems to do the right thing, but I'm getting 404s. I'm not sure if actually this URL is wrong.
* | Merge branch 'x25519' into 'main'Nick Mathewson2023-04-041-1/+1
|\ \ | |/ |/| | | | | | | | | tor-llcrypto: Pin x25519-dalek version, bump our crate version Closes #807 See merge request tpo/core/arti!1108
| * tor-llcrypto: Pin x25519-dalek version, bump our crate versiontor-llcrypto-v0.4.4Ian Jackson2023-04-041-1/+1
| | | | | | | | Fixes #807
* | Run cargo-update to move away from yanked versions of "windows"Nick Mathewson2023-03-311-82/+25
|/ | | | (cargo-audit is complaining about these and breaking CI)
* 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