summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Upgrade to strum 0.25.Nick Mathewson2023-06-211-5/+5
| |/ |/|
* | Merge branch 'geoip-nullity-fromstr' into 'main'Nick Mathewson2023-06-211-0/+1
|\ \ | | | | | | | | | | | | Followups wrt country-code robustness See merge request tpo/core/arti!1268
| * | geoip: Make ?? a little more bullet-proofNick Mathewson2023-06-201-0/+1
| | | | | | | | | | | | We want to make sure that ?? is always None, never a CountryCode.
* | | Bump openssl because RUSTSEC-2023-0044Ian Jackson2023-06-211-4/+4
| | |
* | | Merge branch 'keymgr-refactor-fs-ops' into 'main'gabi-2502023-06-201-0/+1
|\ \ \ | |/ / |/| | | | | | | | keymgr: Move FS operations out of KeyType impl See merge request tpo/core/arti!1263
| * | keymgr: Move FS operations out of ssh.rsGabriela Moldovan2023-06-201-0/+1
| |/ | | | | | | | | | | | | This moves the filesystem calls from the `ssh` module to `ArtiNativeKeyStore`. While `ArtiNativeKeyStore` shouldn't be concerning itself with filesystem operations either, that refactoring will be tackled separately (see arti#899).
* | Merge branch 'add-tor-geoip' into 'main'Nick Mathewson2023-06-201-2/+18
|\ \ | |/ |/| | | | | tor-geoip: Add new crate with GeoIP database functionality See merge request tpo/core/arti!1239
| * tor-geoip: Add new crate with GeoIP database functionalityeta2023-06-201-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This adds a new crate, `tor-geoip`, which can parse and perform lookups in the GeoIP database C-tor already uses (generated by a maintenance utility in the C-tor codebase). - We embed a copy of C-tor's databases with the crate and use `include_str!` to ship them with the binary, bloating its size somewhat. - This does, however, solve the problem of figuring out how to distribute these. - The plan is to gate this functionality behind a feature flag anyway, so the cost should be nil unless explicitly opted into. Part of tpo/core/onionmasq#47.
* | keymgr: Add an error variant for fs_mistrust errors.Gabriela Moldovan2023-06-201-0/+1
| | | | | | | | | | This will be useful later, when `KeyMgr` will start validating permissions and paths.
* | Merge branch 'arti-client' into 'main'Alexander Færøy2023-06-191-0/+1
|\ \ | | | | | | | | | | | | Sort out .onion handling in arti-client See merge request tpo/core/arti!1257
| * | arti-client: Provide ErrorDetailDiscriminants for convenient testingIan Jackson2023-06-161-0/+1
| | | | | | | | | | | | | | | ErrorDetail isn't PartialEq so we can't assert_eq! it. But the discriminants will be.
* | | Merge branch 'netdoc-todos' into 'main'Nick Mathewson2023-06-161-0/+1
|\ \ \ | |/ / |/| | | | | | | | Resolve many TODO HS items in tor-netdoc See merge request tpo/core/arti!1251
| * | netdoc: use ct_lookup for rend descriptor cookie lookupNick Mathewson2023-06-161-0/+1
| | | | | | | | | | | | | | | (I doubt that there is a viable side channel here, but still we might as well get in the habit of doing these things properly.)
* | | keymgr: Move the HS client and service key specifiers out of tor-keymgr.Gabriela Moldovan2023-06-151-0/+1
| | | | | | | | | | | | | | | | | | The HS `HsClientSpecifier` and `HsClientSecretKeySpecifier` are moved to `tor-hsclient`. The HS service secret key specifier stubs are moved to `tor-hsservice`.
* | | keymgr: Add key manager implementation stub.Gabriela Moldovan2023-06-151-0/+1
| | |
* | | keymgr: Add ArtiNativeKeyStore implementation skeleton.Gabriela Moldovan2023-06-151-11/+246
|/ / | | | | | | | | This adds implementation stubs for `ArtiNativeKeyStore`, and introduces the traits needed to make the `KeyStore` APIs work.
* | Upgrade async-trait requirement to 1.54Nick Mathewson2023-06-121-3/+3
| | | | | | | | | | | | | | | | We need the fix from [82d69902], which first appeared in async-trait version 1.54. (Technically we only need this fix in tor-hsclient, but we may as well update our minimal async-trait version everywhere.) [82d69902]: https://github.com/dtolnay/async-trait/commit/82d69902535f5cb7f5d9e1ea4168c64abd496389
* | tor-hsclient: Implement rendezvous setup, and retry frameworkIan Jackson2023-06-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This contains code to: * Iterate over introduction points * Make multiple attempts to connect * Apply timeouts to the various phases of each attempt * Establish a rendezvous point * Represent errors that occur during the above It provides places to add: * Implementation of the INTRODUCE1/INTRODUCE_ACK handshake * Reception of RENDEZVOUS2 and actual end-to-end circuit establishment * Recording of the outcome of connection attempts via particular IPTs * Using previous IPT outcome information for selecting IPTs to try * Tests of the new code (although more mocking will probably be needed) Much of this code works with a fixed type ClientCirc rather than going via the Mockable traits. That is wrong, and it will be fixed later.
* | tor-hscrypto: implement Rng.gen() for RendCookieIan Jackson2023-06-091-0/+1
|/
* Merge branch 'ipt_to_circtarget' into 'main'Nick Mathewson2023-06-071-0/+1
|\ | | | | | | | | Construct a CircTarget from an IntroPointDesc. See merge request tpo/core/arti!1221
| * hsclient: Create a CircTarget from an IntroPointDesc.Nick Mathewson2023-06-071-0/+1
| | | | | | | | | | The main body of this function is written so that we can later use it to create a CircTarget from an INTRODUCE2 message.
* | Merge branch 'remove_arrayref' into 'main'Nick Mathewson2023-06-061-11/+0
|\ \ | | | | | | | | | | | | | | | | | | Remove use of arrayref Closes #872 See merge request tpo/core/arti!1214
| * | tor-cell: remove use of arrayrefNick Mathewson2023-06-011-7/+0
| | | | | | | | | | | | Closes #872
| * | tor-llcrypto: remove use of arrayrefNick Mathewson2023-06-011-1/+0
| | |
| * | tor-netdoc: remove use of arrayref.Nick Mathewson2023-06-011-1/+0
| | |
| * | tor-proto: Remove use of arrayref.Nick Mathewson2023-06-011-1/+0
| | |
| * | tor-bytes: Remove use of arrayrefNick Mathewson2023-05-251-1/+0
| | | | | | | | | | | | | | | Part of #872: Now that const generics are in, we have better ways to express converting slices into array-references.
* | | arti: Interpret socks request to mean "lookup an RPC session"Nick Mathewson2023-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The actual decoding here is just a placeholder. The important part is that we can get either a (SessionId, StreamId) tuple out of the request, or we treat it as part of an isolation token. This commit has a few TODOs for additional things that we'll need in order to build out our design.
* | | RPC: Implement a "global identifier" for non-session-bound IDsNick Mathewson2023-06-051-0/+18
| | | | | | | | | | | | | | | | | | | | | These identifiers are actually only "global" with respect to a given `RpcMgr`, but they should not be forgeable or reusable across RpcMgr objects. We're going to use them so that we have a kind of identifier for `TorClient`s that we can expose to SOCKS.
* | | rpc: Give RpcMgr a registry of connections.Nick Mathewson2023-06-051-0/+2
| |/ |/| | | | | | | We're going to use this to implement arti#863, which requires that some RPC objects be globally nameable.
* | Bump crate versions in preparation for v1.1.5 release.Nick Mathewson2023-06-011-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated with the following commands: ``` cargo set-version --bump minor -p tor-cell cargo set-version --bump minor -p tor-linkspec cargo set-version --bump minor -p tor-proto cargo set-version --bump minor -p tor-netdoc cargo set-version --bump minor -p tor-circmgr cargo set-version --bump patch -p tor-cert cargo set-version --bump patch -p tor-basic-utils cargo set-version --bump patch -p tor-rpcbase cargo set-version --bump patch -p tor-llcrypto cargo set-version --bump patch -p tor-hscrypto cargo set-version --bump patch -p tor-checkable cargo set-version --bump patch -p tor-async-utils cargo set-version --bump patch -p caret cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error cargo set-version --bump patch -p tor-error cargo set-version --bump patch -p tor-config cargo set-version --bump patch -p tor-events cargo set-version --bump patch -p tor-units cargo set-version --bump patch -p tor-rtcompat cargo set-version --bump patch -p tor-rtmock cargo set-version --bump patch -p tor-protover cargo set-version --bump patch -p tor-bytes cargo set-version --bump patch -p tor-socksproto cargo set-version --bump patch -p tor-consdiff cargo set-version --bump patch -p tor-netdir cargo set-version --bump patch -p tor-congestion cargo set-version --bump patch -p tor-persist cargo set-version --bump patch -p tor-chanmgr cargo set-version --bump patch -p tor-ptmgr cargo set-version --bump patch -p tor-guardmgr cargo set-version --bump patch -p tor-dirclient cargo set-version --bump patch -p tor-dirmgr cargo set-version --bump patch -p tor-hsclient cargo set-version --bump patch -p tor-hsservice cargo set-version --bump patch -p arti-client cargo set-version --bump patch -p arti-rpcserver cargo set-version --bump patch -p arti-config cargo set-version --bump patch -p arti-hyper cargo set-version --bump patch -p arti cargo set-version --bump patch -p arti-bench cargo set-version --bump patch -p arti-testing ```
* | Run "cargo update" in preparation for Thursday release.Nick Mathewson2023-05-301-80/+71
|/
* rpc: Remove fake_generational_arenaNick Mathewson2023-05-231-0/+10
| | | | | | | Now that generation-arena has merged [@diziet's patch] to clarify their license, we no longer need to disable it. [@diziet's patch]: https://github.com/fitzgen/generational-arena/pull/56
* Upgrade notify dependency to 6.0Nick Mathewson2023-05-221-2/+2
|
* Upgrade async-compression dependency to 0.4.0.Nick Mathewson2023-05-221-6/+6
|
* Upgrade memmap2 dependency to 0.6.1.Nick Mathewson2023-05-221-2/+2
|
* Upgrade serde_with dependency to 3.0.0Nick Mathewson2023-05-221-6/+12
|
* Run "cargo update".Nick Mathewson2023-05-221-312/+199
|
* hs_ntor: Use Subcredential type from tor-hscryptoNick Mathewson2023-05-171-0/+1
|
* rpc: Change the formatting of object IDsNick Mathewson2023-05-151-0/+4
| | | | | | | | | | | | | | | | | | We want each ID to have a unique form every time it is given out, so that you can't use ID==ID to check whether Object==Object. (See discussions leading to #848.) We'd also like the form of object IDs to be a little annoying to analyze, to discourage people from writing programs that depends on their particular format. (We are reserving the right to change the format whenever we want.) We _don't_ want to use any cryptography here (yet), lest somebody think that this is an actual security mechanism. (This isn't for security; it's for encouraging developers to treat IDs as opaque.) With that in mind, we now lightly obfuscate our generational indices before returning them.
* llcrypto: upgrade x25519-dalek.Nick Mathewson2023-05-131-7/+50
| | | | | | | | This upgrades us to 2.0.0-rc.2, which is the latest in the not-quite-done-yet 2.0 series. The only code change that's absolutely needed is opting into the static_secrets feature.
* linkspec: Make LinkSpecType public.Nick Mathewson2023-05-101-0/+1
| | | | | This lets us check the type of an `EncodedLinkSpec` as well, and lets us remove an interface that took a raw u8.
* bump to latest version of bumpalo to appease cargo_audit.Nick Mathewson2023-05-091-2/+2
|
* update rustls to 0.21trinity-1686a2023-05-081-6/+15
|
* update rsa to 0.9.xtrinity-1686a2023-05-081-13/+14
|
* tor-netdir: Shuffle the list of HS dirs used for downloading descriptors.Gabriela Moldovan2023-05-041-1/+2
| | | | | | | | We'll probably need the hsdir list to be shuffled deterministically for testing purposes (this might be desirable, for example, when we write a test for HS descriptor download retries). Signed-off-by: Gabriela Moldovan <[email protected]>
* Temporarily replace generational-arena with a fake version.Nick Mathewson2023-05-041-48/+32
| | | | | This fake version is completely silly, but it will do the job until we figure out our MPL2 concerns.
* Add a generational arena for object mapping for RPC.Nick Mathewson2023-05-041-32/+48
| | | | | | See the comments on `TypedAddr` for some explanations about why this is so tricky. Thanks to @diziet for helping me figure this out.
* RPC: Start on plumbing TorClient into our RPC codeNick Mathewson2023-05-041-0/+1
| | | | | Because of #837, we won't be able to work with _every_ TorClient<R>, so I'm only going to be using TorClient<PreferredRuntime> for now.
* RPC: Move the "listen" part of the RPC listener code to `arti`.Nick Mathewson2023-05-041-2/+1
| | | | | | | | | Now there's a module in `arti` that runs the loop for an RPC listener. The part of the old `listener` module that made the framed connections is now part of the `Session` object. There is now yet another a temporary location for the pipe; we should pick something better. At least now it's configurable.