summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | hscrypto: Add an implementation for TimePeriodNick Mathewson2023-01-241-0/+1
| | | | | | | | | | This required some API tweaks, which is probably to be expected; these time periods are a wonky kind of thing.
* | hscrypto: Implement hs_mac.Nick Mathewson2023-01-241-0/+2
| |
* | hscrypto: Add and use a macro to define all PK types.Nick Mathewson2023-01-241-0/+2
|/
* Sketch an API for onion services.Nick Mathewson2023-01-241-0/+15
|
* Add a new stub hsclient module to connect to onion services.Nick Mathewson2023-01-241-0/+15
|
* CircMgr: Draft APIs used to implement onion service clients.Nick Mathewson2023-01-241-0/+1
|
* Upgrade to latest rsa crate.Nick Mathewson2023-01-201-16/+21
|
* Upgrade to latest async-broadcastNick Mathewson2023-01-201-2/+2
| | | | | (We don't yet use the code that uses it, but we might as well have our unused code be up-to-date.)
* upgrade to latest serial_testNick Mathewson2023-01-201-31/+6
|
* Complete our migration to base64ct.Nick Mathewson2023-01-201-5/+5
| | | | | | | | | This is in lieu of upgrading to the latest base64 crate, which has a different API from the old one. Since we have to migrate either way, we might as well use base64ct everywhere. I don't think that most of these cases _require_ constant-time base64, but it won't hurt.
* Upgrade to latest rlimit crate.Nick Mathewson2023-01-191-4/+4
|
* Merge branch 'onion-api-client-toplevel' into 'main'eta2023-01-171-0/+1
|\ | | | | | | | | Make a top-level API for connecting to onion services. See merge request tpo/core/arti!971
| * Make a top-level API for connecting to onion services.Nick Mathewson2023-01-121-0/+1
| | | | | | | | Fortunately, it adds very little to the arti-client API surface.
* | Bump Cargo.lock to ed25519 1.5.3 to fix CI.Nick Mathewson2023-01-161-2/+2
|/ | | | ed25519 1.5.2 has been yanked.
* Sketch APIs for the onion service directory ring.Nick Mathewson2023-01-111-0/+1
| | | | | | | | | These are a bit complex internally, but the API they present is pretty simple. I've left some discussion of points where the design isn't totally fleshed out, and where we need to look harder at the spec. Part of #716.
* Upgrade to latest tokio, for security fix.Nick Mathewson2023-01-091-3/+3
| | | | | | | On 1.22, cargo audit is complaining about RUSTSEC-2023-0001. We aren't affected, since we don't use windows named pipes (yet), but let's make cargo audit happier.
* Merge branch 'arti-hyper-fixing-715' into 'main'eta2023-01-091-0/+16
|\ | | | | | | | | | | | | Temporary fix for #715 and #569 Closes #715 See merge request tpo/core/arti!958
| * Updated Cargo.lockMichael van Straten2023-01-061-0/+16
| |
* | Merge branch 'onion-api-v0.2' into 'main'Nick Mathewson2023-01-061-0/+12
|\ \ | | | | | | | | | | | | Onion service APIs, part 1. See merge request tpo/core/arti!959