summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Bump minor version of tor-cell.Nick Mathewson2023-02-011-1/+1
| | | | | | | | | In !948 we renamed a couple of accessor functions, which is a breaking change in `tor-cell`'s API. In retrospect, perhaps we should have deprecated the old names and added the new ones, so we wouldn't have to break the API. (This is the only API break AFAICT since 1.1.0.)
* Bump the patch version of every crate that had API additionsNick Mathewson2023-02-011-9/+9
| | | | | | These crates had API or behavior changes that may affect downstream crates. Fortunately, they're all version 0.x, and don't need minor bumps for this.
* Bump the patch-level version of crates with _minor_ changes.Nick Mathewson2023-02-011-14/+14
| | | | | | | These changes influence behavior, but not effect compatibility. (If I messed up, and any crate except for `arti` has non-breaking API changes, that's still fine, since they are all version 0.x.)
* Bump the patch version of each crate with _trivial_ changes.Nick Mathewson2023-02-011-13/+13
| | | | | These crates have not had changes to their behavior; as such it is not necessary to bump their dependencies to require the new versions.
* Run cargo update in preparation for release tomorrowNick Mathewson2023-01-311-267/+208
|
* netdir: remove the vestigial smallvec implementation I addedNick Mathewson2023-01-281-1/+0
| | | | | It's cute, but I don't think it will help performance, and I'm undecided about whether the semantic implications are true.
* netdir: Implement ring-param constructors and time period accessorsNick Mathewson2023-01-281-0/+5
| | | | | | | | | | | | | | This logic is a bit tricky, so I've tried to document it and add fairly good tests. The silver lining is that the external API for all of this logic will make it invisible and hidden. There are some cases where I added functions that I think might eventually get lowered into MdConsensus: But I don't want to lower too much right now, since the convention for our netdoc accessors is that they are fairly unsophisticated, and they show you the document as it is. Closes #686
* Merge branch 'toml_0.6' into 'main'Ian Jackson2023-01-261-22/+74
|\ | | | | | | | | Upgrade toml to version 0.6. See merge request tpo/core/arti!989
| * Upgrade toml to version 0.6.Nick Mathewson2023-01-251-22/+74
| | | | | | | | | | | | | | This required rewriting some of our error handling code in command-line processing, since the toml crate now displays and reports errors differently. (Admittedly, this code still is kind of ugly, but at least it is nicely hidden.)
* | hscrypto: Use derive_more, and derive Deref for public keys.Nick Mathewson2023-01-251-0/+1
| |
* | hscrypto: Implement key blinding.Nick Mathewson2023-01-241-0/+2
| | | | | | | | | | This implementation was made based on the specification, and then validated against itself, and against C Tor.