| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | arti-client: Stop using HsClientIntroAuthKeypair for client auth. | Gabriela Moldovan | 2023-11-20 | 1 | -15/+1 | |
| | | | | | Closes #1037 | |||||
| * | Merge branch 'main' into 'main' | gabi-250 | 2023-11-17 | 1 | -13/+15 | |
| |\ | | | | | | | | | Added macro for StorageConfig expand dir See merge request tpo/core/arti!1728 | |||||
| | * | Added macro for StorageConfig expand dir | rdbo | 2023-11-17 | 1 | -13/+15 | |
| | | | ||||||
| * | | arti-client test: add clippy exception | Jim Newsome | 2023-11-16 | 1 | -0/+1 | |
| |/ | | | | This clippy rule appears to be enabled by default in Rust 1.74.0 | |||||
| * | Send less information in onion service BEGIN messages | Nick Mathewson | 2023-11-15 | 1 | -1/+9 | |
| | | | | | | | | | | While looking for differences, we found that C tor always omits the flags and the hostname from a BEGIN message sent on an onion service circuit. In torspec!179, we specified that behavior. This patch brings arti into conformance. Closes #1077. | |||||
| * | hsclient: Rename get_or_launch{connection => circuit} | Nick Mathewson | 2023-10-24 | 1 | -1/+1 | |
| | | | | | Closes #1078. | |||||
| * | tor-hsclient, arti-client: Make BadClientSpecifier wrap an ArtiPathError. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Use ArtiPathError for invalid ArtiPaths. | Gabriela Moldovan | 2023-10-19 | 2 | -2/+7 | |
| | | ||||||
| * | arti-client: Re-export onion-service configuration types. | Nick Mathewson | 2023-10-03 | 1 | -0/+6 | |
| | | ||||||
| * | arti-client: fix up launch_onion_service a bit. | Nick Mathewson | 2023-10-03 | 1 | -10/+19 | |
| | | | | | Return a stream of requests, and document what to do with them. | |||||
| * | hss: actually provide a stream of RendRequest from launch(). | Nick Mathewson | 2023-09-27 | 1 | -1/+1 | |
| | | ||||||
| * | tor-hsservice: Run cargo fmt. | Gabriela Moldovan | 2023-09-27 | 1 | -3/+1 | |
| | | ||||||
| * | tor-hsservice: Make Launchable a non-async trait. | Gabriela Moldovan | 2023-09-27 | 1 | -1/+0 | |
| | | | | | | This doesn't need to be an async_trait now that `Publisher::launch` is no longer async. | |||||
| * | arti-client: add a minimal onion-service-launching API. | Nick Mathewson | 2023-09-27 | 2 | -6/+62 | |
| | | ||||||
| * | tor-hsclient, arti-client, tor-keymgr, tor-netdoc: Use a keypair instead of ↵ | Gabriela Moldovan | 2023-09-25 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | StaticSecret. Previously, when retrieving `KS_hsc_desc_enc` keys (or any other x25519 keys) from the keystore, the keymgr would discard the public part of the key (SSH private keys contain the public part of the key too). Instead of discarding the public key and returning just the `StaticSecret`, the keymgr now returns a `StaticKeypair`. This makes the x25519 `EncodableKey`/`ToEncodableKey` implementation consistent with the ed25519 one (which retrieves key pairs rather than "unescorted" secrets). | |||||
| * | arti-client: add exit selection with GeoIP country codes | eta | 2023-09-18 | 2 | -1/+44 | |
| | | | | | | | | | | | | | | | | | | | | | This threads the country codes work through the rest of the codebase: - `tor-dirmgr` will now enable GeoIP with the embedded database when the `geoip` future is enabled - This can be extended later using the `DirMgrConfig` to allow specifying a custom database; this is not done here, though - `tor-circmgr`'s `SupportedCircUsage` and `TargetCircUsage` fields gain new `country_code` members to allow filtering circuits by country - These are `()` in builds where the `geoip` feature is not enabled -- doing it this way means we don't have to copy and paste huge swathes of code, since we can't use `#[cfg]` in patterns - `ExitPathBuilder` gains (hacked-in) support for choosing a relay with the correct country code - Due to the lack of conjuction, we just copy and paste a small bit, pending further refactoring - `StreamPrefs` now lets you specify a country code, letting embedders make use of the feature | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 4 | -0/+4 | |
| | | ||||||
| * | arti-client: Fix a couple more typos. | Nick Mathewson | 2023-08-22 | 1 | -1/+1 | |
| | | | | | I spotted these while I was working on something else. | |||||
| * | Use "typos-cli" to fix a bunch of typos. | Nick Mathewson | 2023-08-22 | 1 | -1/+1 | |
| | | ||||||
| * | Resolve a pair of warnings about redundant closures. | Nick Mathewson | 2023-08-22 | 1 | -2/+2 | |
| | | ||||||
| * | Resolve warnings about ambiguous/redundant doc links | Nick Mathewson | 2023-08-22 | 1 | -2/+2 | |
| | | | | | | Nightly rustdoc now warns if you have a link that isn't necessary, and if you have a link that might refer to two different things. | |||||
| * | arti-client: fix conditional unused_import and dead_code warnings | Nick Mathewson | 2023-08-16 | 1 | -3/+5 | |
| | | ||||||
| * | arti-client: Use Path::join instead of format!. | Gabriela Moldovan | 2023-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | arti-client: Make from_directories() derive the keystore_dir from state_dir. | Gabriela Moldovan | 2023-08-11 | 1 | -1/+39 | |
| | | | | | Closes #988 | |||||
| * | bridge config: Fix an error message slightly | Ian Jackson | 2023-08-08 | 1 | -1/+1 | |
| | | ||||||
| * | arti-client config test: partially un-degrade formatting | Ian Jackson | 2023-08-08 | 1 | -10/+10 | |
| | | ||||||
| * | arti-client config test: degrade formatting | Ian Jackson | 2023-08-08 | 1 | -12/+18 | |
| | | | | | As demanded by rustfmt | |||||
| * | arti-client config: Add an extra test case for bridges | Ian Jackson | 2023-08-08 | 1 | -0/+45 | |
| | | | | | This complements the new `check_bridge_pt` test. | |||||
| * | bridge config: reject bridges=true when there are no bridges | Ian Jackson | 2023-08-08 | 1 | -2/+0 | |
| | | | | | This is a bugfix. Perhaps it is a security fix? | |||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 | |
| | | ||||||
| * | Fix and expand the description of OnionAddressDisabled | Nick Mathewson | 2023-08-03 | 1 | -2/+9 | |
| | | | | | | Previously there was a missing "not", and it didn't say what to do about the error. | |||||
| * | Add error if [[bridges.transports]] isn't written in config file | Saksham Mittal | 2023-08-01 | 1 | -10/+201 | |
| | | ||||||
| * | pass reconfigure_lock guard into TorClient::reconfigure_inner | sw1tch | 2023-07-25 | 1 | -3/+8 | |
| | | ||||||
| * | cargo fmt | sw1tch | 2023-07-24 | 1 | -1/+3 | |
| | | ||||||
| * | fixes deadlock in TorClient::reconfigure | sw1tch | 2023-07-24 | 1 | -1/+34 | |
| | | ||||||
| * | Revert "keymgr: Require callers to be explicit about which keystore to get ↵ | Gabriela Moldovan | 2023-07-21 | 1 | -6/+4 | |
| | | | | | | | | | | keys from." This reverts commit 38a6c74c7894dc96b16c9039cacc2a4023977b05. This also updates some tests to make them compile with the reverted version of the code. | |||||
| * | keymgr: Require callers to be explicit about which keystore to get keys from. | Gabriela Moldovan | 2023-07-20 | 1 | -4/+6 | |
| | | ||||||
| * | keymgr: Explicitly specify the default keystore for `KeyMgr`. | Gabriela Moldovan | 2023-07-20 | 1 | -4/+5 | |
| | | ||||||
| * | keymgr-config: Make fields private, add function for checking if keystore is ↵ | Gabriela Moldovan | 2023-07-20 | 1 | -5/+1 | |
| | | | | | | | | | | enabled. Hiding the underlying value of `enabled` enables us to give it a different `auto` value depending on whether the `keymgr` feature is enabled or not (it defaults to `true` if `keymgr` is enabled, and `false` otherwise). | |||||
| * | arti-client: Use a default keystore config if `experimental-api` is disabled. | Gabriela Moldovan | 2023-07-20 | 2 | -21/+18 | |
| | | | | | | | | The `experimental-api` was only meant to apply to the use of the unstable `ArtiNativeKeystoreConfig` in the Arti config. `experimental-api` was _not_ supposed to be used for enabling/disabling the keystore (that's what the `enabled` flag is for). | |||||
| * | arti-client: Move variable closer to where it's used (fmt). | Gabriela Moldovan | 2023-07-20 | 1 | -24/+21 | |
| | | ||||||
| * | arti-client: Move variable closer to where it's used. | Gabriela Moldovan | 2023-07-20 | 1 | -2/+1 | |
| | | ||||||
| * | arti-client: Make the `KeyMgr` optional. | Gabriela Moldovan | 2023-07-20 | 1 | -34/+43 | |
| | | | | | | If the Arti keystore is disabled, we have nothing to initialize the `KeyMgr` with, so we might as well make it optional. | |||||
| * | arti-client: Add TODO about expanding the keystore_dir in build(). | Gabriela Moldovan | 2023-07-17 | 1 | -0/+2 | |
| | | ||||||
| * | arti-client: Log whether a keystore is in use. | Gabriela Moldovan | 2023-07-13 | 1 | -1/+4 | |
| | | ||||||
| * | arti-client: Use the config struct from tor-keymgr. | Gabriela Moldovan | 2023-07-13 | 2 | -92/+23 | |
| | | ||||||
| * | arti-client: Log whether the client auth keys were retrieved. | Gabriela Moldovan | 2023-07-12 | 1 | -0/+2 | |
| | | ||||||
| * | arti-client: Remove outdated TODO. | Gabriela Moldovan | 2023-07-11 | 1 | -3/+0 | |
| | | | | | These errors aren't ignored anymore. | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 5 | -0/+5 | |
| | | ||||||
| * | Remove some needless into_iter() calls. | Nick Mathewson | 2023-07-10 | 1 | -2/+1 | |
| | | | | | | | Clippy nightly now detects when you're calling into_iter() and passing the result into something that accepts an `impl IntoIterator`. | |||||
