| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ /
| |
| |
| |
| | |
This commit fixes a warning in the documentation, caused by an
unresolved name.
|
| |\ \
| | |
| | |
| | |
| | | |
Run cargo update in preparation for monday release.
See merge request tpo/core/arti!1628
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
Upgrade several dependencies
See merge request tpo/core/arti!1626
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of tying ourselves to a particular version of the
generic-array crate, we now always use the version re-exported by
our RustCrypto crates. This lets us avoid the possibility of
version mismatch.
(Originally I had planned to upgrade to generic-array 1.0, but then
I found that we were not actually using it.)
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
tor-proto: Replace repeating pattern with fill
See merge request tpo/core/arti!1627
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This commit replaces a repeating code pattern in the `set_digest`
function for setting the 'Recognized' and Digest field to zero with a
slice fillment.
Besides this, it also adds comments explaining which fields are
currently getting zeroized.
|
| |\ \
| | |
| | |
| | |
| | | |
Start implementing tor-hsrproxy
See merge request tpo/core/arti!1622
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
With this patch we now propagate errors upwards rather than handling
them at the lowest possible level.
|
| | | |
| | |
| | |
| | |
| | | |
Now we finally have the code to copy the data back and forth on the
two AsyncRead+AsyncWrite objects that we create.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
I think that the reason we added this was in case we needed
different behavior from DataStream; but on reflection it does seem
that we don't. Having a single type here will make things a bit
simpler.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This isn't very much code, but given how long it took me to write
this and make it typecheck, I suspect that others may find it useful
as well.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
The function never yields anything but an `Ok`, so we can
simplify its type.
(Not a stable feature, so no semver entry needed)
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tor-hsservice: Make {Publisher, OnionService}::launch non-async
Closes #1052
See merge request tpo/core/arti!1625
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
The `Publisher` now returns a `StartupError` if it fails so launch, so
we don't need `PublisherError` anymore.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This simplifies error handling in `OnionService`.
Closes #1052
|
| | | |
| | |
| | |
| | |
| | | |
This doesn't need to be an async_trait now that `Publisher::launch` is
no longer async.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Fixes #1052
See also the discussion in !1616
|
| |/ /
| |
| |
| | |
This will enable us to make `Publisher::launch` non-async.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-hsservice: Resolve a couple of publisher todo!()s
See merge request tpo/core/arti!1624
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Like the other certificates, the descriptor signing key certificate
should have a lifetime of `HS_DESC_CERT_LIFETIME_SEC` seconds (at least,
this is what C-Tor does. See build_desc_signing_key_cert() in
feature/hs/hs_service.c).
|
| | | |
| | |
| | |
| | | |
This helps avoid cloning the nickname unnecessarily.
|
| |/ /
| |
| |
| |
| | |
The publisher can just read the nickname of the service from its
`OnionServiceConfig`.
|
| |\ \
| | |
| | |
| | |
| | | |
arti-client: sketch out an initial "launch an onion service" API.
See merge request tpo/core/arti!1620
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
We want to still have the OnionService kicking around, so we can use
it as a handle.
|
| | | |
| | |
| | |
| | | |
(I am not thrilled with this name.)
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
or-hsservice: Set a timeout for desc upload tasks.
See merge request tpo/core/arti!1623
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The IPT manager needs to know how long the publication attempt will
take in the worst case, so we add a timeout for the upload task.
Part of #1050
|
| | | | |
| | | |
| | | |
| | | | |
right place.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The problem was that several variables were borrowed in the spawned
async block.
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-hsservice: Remove unnecessary TODO.
See merge request tpo/core/arti!1621
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
`Ipt` _is_ `IntroPointDesc`, so we don't need `build_intro_point_desc()`
at all.
|
| |\| | |
| | | |
| | | |
| | | |
| | | | |
tor-keymgr: Support storing `ed25519::ExpandedKeypair`s in the keystore
See merge request tpo/core/arti!1619
|