| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The calling convention for compute-mds will be easiest to implement if
we can write to the two output files in parallel.
So provide `start_writing` giving a `Writing`.
Unfortuantely this commit has quite a bit of reorganisation which is
difficult to make into something easily reviewable.
|
| | | | |
| | | |
| | | |
| | | | |
This makes the next commit infinitesimally less confusing.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This is a better name, and will suit us better when we reorganise this
code to allow incremental writing.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make this a doc comment.
We're going to add an entrypoint that makes this more likely.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-cell: Add missing semver.md entries
See merge request tpo/core/arti!4257
|
| | | | | |
| | | | |
| | | | |
| | | | | |
I forgot to add these during a previous MR.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
tor-netdoc: testing: Expose some more test utilities
See merge request tpo/core/arti!4250
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Involves code motion. Review with --color-moved.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
I don't understand why this suddenly, but whatever.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Involves lots of code motion. Review with --color-moved.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This whole module is gated by the very same condition.
|
| | |/ / /
| | | |
| | | |
| | | | |
I discovered this didn't work, when I tried to use it.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We previously interpreted the rate in the XON message as being Kbits per
second, but it's really Kbytes per second.
|
| | | | | |
|
| | | | | |
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-proto: Small improvements to circuit handshake tests
See merge request tpo/core/arti!4254
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Now that we read all of the cells from the connection inspector, we can
reuse the existing channel objects.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
These TODOs are for client issues, not relay isues.
|
| | | | |
| | | |
| | | |
| | | | |
Otherwise the new circuit gets closed immediately by the relay.
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-protover,tor-proto: Add and use a new `subprotocol_restricted_set` macro
See merge request tpo/core/arti!4241
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-dirpublish: Change `Uploader::upload()` to not require `Arc<Self>`
See merge request tpo/core/arti!4243
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I was a bit confused as to why `Uploader::upload()` required an
`Arc<Self>`, and after looking at the code it appears that this `Arc`
isn't needed anywhere outside of the `PublishReactor`.
Instead `Uploader::upload()` now takes a `&self` instead of `Arc<Self>`.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Important pre-release fixes for RouterDescUnverified::verify()
See merge request tpo/core/arti!4252
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Better do it before the release so we can think about it a bit more.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We need to obtain the maximum of the lower bound and the minimum of the
upper bound instead of vice versa.
Another example on why we should replace this with a better
implementation.
Likewise, `expiry` in the legacy verification code is also obtained like
that.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This makes it more clear, besides it will sound more "correct" with the
next commit applied.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tor-netdoc: Fix typo in testdata-live-download and RELAY_* constants
See merge request tpo/core/arti!4249
|
| | | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
I still had the previously downloaded full consensus locally, so
running testdata-live-download fixed the Rust file.
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
tor-proto: Add some unit tests for circuit handshakes
See merge request tpo/core/arti!4248
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
These help to establish connected channel objects to be used for tests.
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Add RouterDescUnverified::verify()
See merge request tpo/core/arti!4144
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Otherwise clippy complains.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds a comprehensive test for router descriptor verification
that tests various valid and invalid edge cases.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Required for convert_curve25519_to_ed25519_private().
|