| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/ / /
| | | |
| | | |
| | | | |
rustfmt didn't want to fix this, for some reason.
|
| |\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
arti: Require the keymgr feature for running the hsc command.
See merge request tpo/core/arti!2254
|
| |/ /
| |
| |
| |
| | |
Otherwise arti-client fails to build with `-no-default-features
--features onion-service-client,experimental-api`.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
CI: Split build-repro job
Closes #1478
See merge request tpo/core/arti!2252
|
| | | |
| | |
| | |
| | |
| | | |
As suggested here:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2252#note_3046205
|
| | | |
| | |
| | |
| | |
| | | |
This will allow the elements to run in parallel, hopefully speeding
things up (but using no fewer resources).
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-hsservice: Remove dead code from the descriptor publisher
See merge request tpo/core/arti!2251
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This should give us some confidence that we are not accidentally
discarding results we should actually be using.
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2251#note_3046219
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This also makes the publisher exit if the netdir event stream ends.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is OK to discard the response string (the response is validated
below where we call `DirResponse::into_output_string()`).
(Perhaps we should just make `DirResponse::check_ok()` public. That way,
we could validate the response without having to handle its output
string).
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This is being reimplemented as #1292
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes a couple of unimplemented functions.
These were supposed to be the starting point for #1217, but we won't be
implementing that any time soon.
|
| | |/ /
| | |
| | |
| | | |
Note: #1217 is still open and we may want to implement it at some point.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove remaining reference to arti-hyper
See merge request tpo/core/arti!2250
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We don't use the affected crates any more, now that arti-hyper is
gone.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2225#note_3043992
We have an example for how to use arti-client with hyper 1.x, but I
don't think we need to to mention that here.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
CI: single-arch images
See merge request tpo/core/arti!2249
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-keymgr: Use collect_tuple in TimePeriod::from_slug.
See merge request tpo/core/arti!2248
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous approach was buggy: collecting the parts of the time period
into an `ArrayVec` of length 3 would panic if the number of parts was
greater than 3.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This test currently fails because we have a bug in `TimePeriod`'s
`from_slug()` implementation. `TimePeriod::from_slug()` splits the slug
by `_`, and attempts to collect the parts into an `ArrayVec` of length
3. This is wrong, because the `collect()` will panic if there are more
than 3 parts.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-hscrypto: Implement FromStr for HsClientDescEncKey.
See merge request tpo/core/arti!2246
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045656
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We will use this impl for parsing the authorized clients of a hidden
service running in "restricted discovery" mode.
NB: "Restricted discovery" is the new terminology for "services that
require client authorization", i.e. services that implement "client
authorization" as described in rend-spec HS-DESC-ENC[0]. Note we haven't
fully transitioned to the new terminology yet (see #1476).
Part of #1292
[0]: https://spec.torproject.org/rend-spec/hsdesc-encrypt.html#HS-DESC-SECOND-LAYER
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I don't think we need a separate wrapper type for displaying
`HsClientDescEncKey` keys in the "C Tor format"
(`<auth-type>:<key-type>:<base32-encoded-public-key>`).
I think this should be the canonical string representation of
`HsClientDescEncKey`, so I'm removing the `display_authorized_client`
function and corresponding `DisplayAuthorizedHsClientDescEncKey` wrapper
type.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
Fix a footnote reference that Nightly complains about
See merge request tpo/core/arti!2247
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Update to derive-deftly 0.14
See merge request tpo/core/arti!2241
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This removes the deprecated syntaxes. Updating now will prevent us
re-introducing the old syntaxes, which we updated in arti!2209.
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Fix or allow warnings that show up in beta
See merge request tpo/core/arti!2244
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
See
https://github.com/rust-lang/rust-clippy/issues/13001
I think it's OK to change this in our tree, nevertheless.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Sadly, rustc seems to want us to mark this allow in several places.
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
I'm not sure how to resolve these. See #1467.
We ought to fix them before they propagate to +stable, particularly
since after !2242 they'll break CI.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix markdown quoting and guard against regressions
See merge request tpo/core/arti!2242
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Broken docs keep slipping in because we test this only with nightly,
where we allow failures.
Currently nightly is broken; see #1467. I'm not addressing that here yet.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes:
warning: unclosed HTML tag `FILE`
--> crates/arti/src/subcommands/hsc.rs:56:33
|
56 | /// Write the public key to <FILE>. Use - to write to stdout
| ^^^^^^
|
= note: `#[warn(rustdoc::invalid_html_tags)]` on by default
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
hashx: Abolish Shape::BUCKET_CAPACITY
See merge request tpo/core/arti!2243
|
| |/ / /
| | |
| | |
| | |
| | | |
This is not used anywhere. It's not clear to we why it exists and I
think we can safely delete it.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
Fix two TODO ticket numbers
See merge request tpo/core/arti!2224
|