| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a workaround for an issue that I'm about to encounter
somewhere in our pile of dependencies as I add arti-rpcserver, and
somehow make serde_json visible in this test code thereby, making
the PartialEq method resolution ambiguous.
|
| | | |
| | |
| | |
| | | |
Fixes CI warning.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
!1121 renamed *ProtocolFailed to *ProtocolViolation.
!1118 introduced a new reference to a *ProtocolFailed
I rebased !1118 onto main and enabled automerge. That tested the tip
of !1118. I assume a similar thing happened to !1121.
The possibility of such regressions is a property of our workflow.
It's rather surprising it doesn't happen more often.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Increase Arti MSRV to 1.65
Closes #815
See merge request tpo/core/arti!1131
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we require a version of Rust that allows
`b.then_some(v)`, clippy complains about our use of
`b.then(|| v)`.
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
s/ProtocolFailed/ProtocolViolation/g where possible
Closes #804
See merge request tpo/core/arti!1121
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Download HS descriptors
See merge request tpo/core/arti!1118
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Aa per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1118#note_2894467
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This doesn't change the text of the functional code, but now the
methods are indirected via the Mock* traits.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There are many TODOs here. Some are questions; some are
straightforward and can be done in followups.
With this code, I am able to reach the eprintln! and todo! with
curl --socks5-hostname localhost:9150 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have a local alias of `HsDesc = String` which needs to be got rid
of.
But, right now the alternative would be to implement all the code for
signature checking and decryption of an `HsDesc`, before we can make a
test case for the downloader part.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This will be convenient as the common context for the descriptor
download work, and also for testing.
|
| | | | |
| | | |
| | | |
| | | | |
We'll add this later, about here.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This is the HsDirIndex, not the Hs[Blind]Id.
|
| | | | | |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With this
cargo +stable clippy --locked --offline -p tor-netdir --features=hs-client --all-targets
I got this:
64 | use {hsdir_params::HsDirParams, hsdir_ring::HsDirRing, itertools::chain, std::iter};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. Abbreviate the link text, and don't have it contain `crate`
which is not really great in docs.
2. Use `super::` for the link target, to find the right thing.
(`crate` doesn't seem to work in rustdoc, perhaps deliberately,
although the error messages are ridiculous and claim the
nonexistence of intermediate modules.)
3. Wrap the lines a bit more.
|
| | | |
| | |
| | |
| | | |
Fixes a rustdoc warning.
|
| | | |
| | |
| | |
| | | |
Fixes a rustdoc warning.
|
| |/ /
| |
| |
| | |
Corrects the doc and fixes a rustdoc warning.
|
| |\ \
| | |
| | |
| | |
| | | |
arti: Explain correct location of OSX config.
See merge request tpo/core/arti!1125
|
| | |/ |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
This resolves a few dead-code warnings.
Closes #801.
|
| | |
|
| |\
| |
| |
| |
| | |
tor-async-utils: Introduce JoinReadWrite
See merge request tpo/core/arti!1115
|
| | | |
|
| | |
| |
| |
| | |
This makes it more prominent on the rustdoc page.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1115#note_2894238
And move the "This is the converse" comment to somewhere it actually
appears in public docs. The module-level docs only appear with
--document-private-items because the modules themselves are private.
|
| | |
| |
| |
| |
| | |
I wanted one of these for a test stream. Unaccountably neither
the futures crate, nor tokio, seem to have one!
|
| |\ \
| | |
| | |
| | |
| | | |
tor-error: Introduce ErrorKind::TorDirectoryBroken
See merge request tpo/core/arti!1117
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1117#note_2893986
(Not going to squash this as it has a semantic conflict with !1118, so
needs a little special handling there.)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
We will use this for a lack of HS directories. (These aren't chosen
according to any local restrictions, so the problems with EK::NoPath
and EK::NoExit don't arise.)
|