| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-hsservice: Support storing HsIdKeys in the keystore. | Gabriela Moldovan | 2023-09-22 | 2 | -4/+41 | |
| | | | ||||||
| * | | tor-hscrypto: Reinstate HsDescSigningKey/HsDescSigningKeypair. | Gabriela Moldovan | 2023-09-22 | 1 | -2/+0 | |
| | | | | | | | | | We need it to sign descriptors. | |||||
| * | | tor-hsservice: Add an error variant for key-not-found errors. | Gabriela Moldovan | 2023-09-22 | 1 | -0/+5 | |
| | | | ||||||
| * | | tor-hsservice: Add key specifier for blinded_id keypairs. | Gabriela Moldovan | 2023-09-22 | 4 | -1/+71 | |
| | | | ||||||
| * | | tor-hsservice: Return a ReactorError from build_sign. | Gabriela Moldovan | 2023-09-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | `build_sign` will soon be using the `KeyMgr` to look up keys, so we need to be able to propagate `KeystoreError`s (via the `ReactorError::KeyStore` variant). | |||||
| * | | tor-hsservice: Add an error variant for keystore errors. | Gabriela Moldovan | 2023-09-22 | 1 | -1/+5 | |
| | | | ||||||
| * | | tor-hsservice: Give the publisher a reference to the key manager. | Gabriela Moldovan | 2023-09-22 | 3 | -8/+33 | |
| | | | ||||||
| * | | hss: Un-parameterize OnionService. | Nick Mathewson | 2023-09-21 | 1 | -20/+31 | |
| | | | ||||||
| * | | publish: note a possible behavior change on launch(). | Nick Mathewson | 2023-09-21 | 1 | -0/+4 | |
| | | | ||||||
| * | | hss: remove an "#[allow(...)]". | Nick Mathewson | 2023-09-21 | 1 | -2/+0 | |
| | | | ||||||
| * | | hss: adjust members of OnionService type. | Nick Mathewson | 2023-09-21 | 2 | -23/+13 | |
| | | | ||||||
| * | | hss: fix error return from OnionService::launch() | Nick Mathewson | 2023-09-21 | 2 | -1/+13 | |
| | | | ||||||
| * | | hss: start filling in a "launch" function for OnionService. | Nick Mathewson | 2023-09-21 | 2 | -39/+57 | |
| | | | ||||||
| * | | tor-hsservice: Update Publisher::new docs. | Gabriela Moldovan | 2023-09-21 | 1 | -1/+3 | |
| | | | ||||||
| * | | tor-hsservice: Add must_use for Publisher::launch. | Gabriela Moldovan | 2023-09-21 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-hsservice: Remove outdated TODO. | Gabriela Moldovan | 2023-09-21 | 1 | -1/+0 | |
| | | | ||||||
| * | | tor-hsservice: Give the descriptor publisher a separate launch function. | Gabriela Moldovan | 2023-09-21 | 3 | -28/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | This also makes `Publisher::new` synchronous. If `Reactor::new` fails, `Publisher::launch` propagates the error to its caller (to achieve this, I had to give `PublisherError` a new `ReactorLaunch` variant and make `ReactorError` and `UploadError` crate-public). Closes #1042 | |||||
| * | | Merge branch 'intro_rend' into 'main' | Nick Mathewson | 2023-09-21 | 8 | -91/+255 | |
| |\ \ | | | | | | | | | | | | | HSS: Route necessary material into RendRequest See merge request tpo/core/arti!1610 | |||||
| | * | | hs_ntor: replace "32" with a const. | Nick Mathewson | 2023-09-21 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | hs_ntor: rename get_{introduce,rendezvous}1_key_material. | Nick Mathewson | 2023-09-21 | 1 | -6/+6 | |
| | | | | ||||||
| | * | | hs_ntor: improve several comments. | Nick Mathewson | 2023-09-21 | 1 | -3/+10 | |
| | | | | ||||||
| | * | | hs_ntor: rename enc_key to dec_key in service code. | Nick Mathewson | 2023-09-21 | 1 | -5/+5 | |
| | | | | ||||||
| | * | | hs_ntor: allow attempting handshake with a set of subcredentials. | Nick Mathewson | 2023-09-20 | 3 | -43/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | Since we are using the same introduction point circuits for multiple time periods, we need the ability to provide a set of subcredentials and see which of them acually works. Fortunately, we "only" have to do digest operations here, which are much faster than public key. | |||||
| | * | | hs_ntor: Take our k_hss_ntor keypair explicitly. | Nick Mathewson | 2023-09-20 | 3 | -20/+24 | |
| | | | | ||||||
| | * | | HSS: Enable RendRequests to be answered. | Nick Mathewson | 2023-09-20 | 5 | -25/+79 | |
| | | | | | | | | | | | | | | | | This requires yet more plumbing—this time, of HsCircPool and NetDirProvider. | |||||
| | * | | hss: Minor hack to avoid parameterizing RendRequestContext on Runtime | Nick Mathewson | 2023-09-20 | 1 | -2/+29 | |
| | | | | | | | | | | | | | | | | We need to pass around an Arc<HsCircPool<R>>, but doing so directly would force us to make RendRequestContext parameterized on R. | |||||
| | * | | HSS: route most necessary key material to RendRequest | Nick Mathewson | 2023-09-20 | 3 | -15/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we go to answer a RendRequest, we need to have a few objects present. This commit makes sure that they're available at the right places. We also note a significant problem with the need for a Subcredential here. | |||||
| * | | | Merge branch 'slow-test' into 'main' | Nick Mathewson | 2023-09-20 | 1 | -1/+2 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-hsclient: state expiry test: Use MockSleepProvider advance See merge request tpo/core/arti!1609 | |||||
| | * | | | tor-hsclient: state expiry test: Use MockSleepProvider advance | Ian Jackson | 2023-09-20 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/1040 | |||||
| * | | | | tor-hsservice: Fix compile error, make Publisher use Arc<OnionServiceConfig>. | Gabriela Moldovan | 2023-09-20 | 4 | -11/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a compile error introduced as a result of merging a couple of conflicting MRs (!1611 and !1604). This also makes the channel the publisher uses for watching for config changes receive `Arc<OnionServiceConfig>` (rather than `OnionServiceConfig`). | |||||
| * | | | | Merge branch 'mgr-watch' into 'main' | gabi-250 | 2023-09-20 | 1 | -6/+25 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Make config a watch receiver Closes #1041 See merge request tpo/core/arti!1611 | |||||
| | * | | | | tor-hsservice: Handle config updates correctly | Ian Jackson | 2023-09-20 | 1 | -7/+24 | |
| | | | | | | ||||||
| | * | | | | tor-hsservice: Make config a watch receiver | Ian Jackson | 2023-09-20 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | We introduce a bug here which the next commit will fix. | |||||
| * | | | | | Merge branch 'onionservice_part1' into 'main' | Nick Mathewson | 2023-09-20 | 2 | -79/+92 | |
| |\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | Start to implement OnionService::new (part 1) See merge request tpo/core/arti!1604 | |||||
| | * | | | | hss: Use tor-persist to make a StorageHandle. | Nick Mathewson | 2023-09-20 | 2 | -2/+13 | |
| | | | | | | | | | | | | | | | | | | | | | We'll use this to implement intro point persistence. | |||||
| | * | | | | tor-hsservice/Cargo.toml: wrap. | Nick Mathewson | 2023-09-20 | 1 | -1/+15 | |
| | | | | | | ||||||
| | * | | | | OnionService: start to flesh out the new() function. | Nick Mathewson | 2023-09-20 | 1 | -5/+80 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has a lot of open questions, and won't work yet, but it starts to show us the current level of interface mismatch between our pieces. | |||||
| | * | | | | hss remove duplicated data from OnionService structure. | Nick Mathewson | 2023-09-19 | 1 | -74/+1 | |
| | | | | | | | | | | | | | | | | | | | | | This data is all duplicated in other places, or will be. | |||||
| * | | | | | Merge branch 'upgrades' into 'main' | Nick Mathewson | 2023-09-20 | 3 | -5/+5 | |
| |\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | Upgrade to fixed-capacity-vec 1.0 See merge request tpo/core/arti!1606 | |||||
| | * | | | | Update bench lockfiles for new fixed-capacity-vec | Nick Mathewson | 2023-09-20 | 2 | -4/+4 | |
| | | | | | | ||||||
| | * | | | | Upgrade to fixed-capacity-vec 1.0 | Nick Mathewson | 2023-09-20 | 1 | -1/+1 | |
| | | |/ / | |/| | | ||||||
| * | | | | Merge branch 'flatten' into 'main' | Ian Jackson | 2023-09-20 | 4 | -0/+692 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor_config: Provide Flatten See merge request tpo/core/arti!1605 | |||||
| | * | | | | tor-config: flatten: Remove a redundant allow | Ian Jackson | 2023-09-20 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | At some earlier point of development this struct was pub. | |||||
| | * | | | | tor-config: flatten: Sort out names for field extractor | Ian Jackson | 2023-09-20 | 1 | -12/+12 | |
| | | | | | | ||||||
| | * | | | | tor-config: flatten: always use field list from serde | Ian Jackson | 2023-09-20 | 2 | -48/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a better trickery! Now we don't need to derive the list of field names at all. The test case becomes much simpler too, and no longer needs to compare field lists since we have only the serde field list. | |||||
| | * | | | | tor-config: flatten: Performance of flattenable_extract_fields | Ian Jackson | 2023-09-20 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a performance note, and the manually-verified test case to support it. | |||||
| | * | | | | tor-config: flatten: Break out flattenable_extract_fields | Ian Jackson | 2023-09-20 | 2 | -25/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This involves returning the field list in the `FlattenableTesterSuccess`. This leaves the names a little off; we'll update those at the end. Export this - it's going to replace the hidden pub test function. | |||||
| | * | | | | tor-config: flatten: Introduce FieldList type alias | Ian Jackson | 2023-09-20 | 1 | -6/+9 | |
| | | | | | | | | | | | | | | | | | | | | | We're going to use this some more, even. | |||||
| | * | | | | tor_config: flatten: Abolish FlattenError | Ian Jackson | 2023-09-20 | 1 | -38/+9 | |
| | | | | | | ||||||
| | * | | | | tor_config: flatten tests: Remove the obsolete todo | Ian Jackson | 2023-09-20 | 1 | -1/+0 | |
| | | | | | | ||||||
