| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For now we do this by changing the meaning of the name
`MockSleepProvider` in runtime.rs. This is a bodge to reduce noise in
this diff.
Consequences at call sites:
* If the type is named somehow, the other type must be used.
* SimpleMockTimeProvider calls it jump_wallclock rather than jump_to,
which is IMO a better name. (MockRuntime will change in a moment.)
* SimpleMockTimeProvider's advance() function isn't async and doesn't
yield. But none of the call sites actually mind that.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For our time provider we want a priority queue that lets us look up
entries and delete them. std's Heap doesn't do that. priority-queue
has the API we need and reasonable stats etc, and is maintained.
It has some IMO-tolerable licence wrinkles.
|
| | | | |
| | | |
| | | |
| | | | |
Nowadays there are methods for this.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
arti: Write the minimal code needed to launch onion proxies.
See merge request tpo/core/arti!1644
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This makes some other futures Send+Sync, which lets us spawn them.
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Scripts to make release process more robust
See merge request tpo/core/arti!1646
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(If a published crate depends on an unpublished crate, crates.io
will refuse it.)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
None of our crates should use wildcard versions; this will help us
detect them before publishing.
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In particular, this change should help avoid the kind of problem we
ran into as #1054 and fixed with 00e4405943498754, where a crate
changed only in which versions of our crates it depended upon,
and we didn't notice that we had to update its version too.
This commit also fixes a couple of minor issues in the
`changed_crates` script, and gives it a verbose mode.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-hsservice: ipt_set: Docs clarifications
See merge request tpo/core/arti!1647
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Apropos a conversation in !1645
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tor-hsservice: Share an IptsPublisherUploadView with each upload task.
Closes #1050
See merge request tpo/core/arti!1645
|
| | | | | | |
|
| | | | | | |
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This enables us to specify a more accurate `worst_case_end` publish time.
Closes #1050
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-hsservice: Fix semantic conflict.
See merge request tpo/core/arti!1643
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
This fixes a compile error that resulted from a semantic conflict
between !1634 and !1638.
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
Initial work on top-level onion service configuration
See merge request tpo/core/arti!1638
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The old name was a copy-paste error.
|
| | | | |
| | | |
| | | |
| | | | |
This lets us write `[onion_services.allium_cepa]`.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
There are no tests for parsing it yet.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We plan to ship without them at first, so we may as well remove
them.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These don't yet attach to the rest of the ArtiConfig, or actually
launch any onion services, but they're a start.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ /
| | |
| | |
| | | |
Return a stream of requests, and document what to do with them.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-hsservice: Make the publisher not require callers to specify the hsid.
See merge request tpo/core/arti!1637
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, the descriptor publisher needed the `hsid` for logging
purposes and for deriving the blinded public keys.
This changes the publisher to log the `HsNickname` of the service
instead of the hsid, and to read the blinded keys from the keystore.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We will soon rewrite this function to load the blinded key from `KeyMgr`
(instead of deriving it from `self.hsid_key`).
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-proto: Refactor the key derivation
See merge request tpo/core/arti!1629
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit refactors the key derivation, by applying the following:
- The spaghetti slice creation with the hard-to-read boundaries got
replaced by a closure, which accepts a length, advances the seed slice
by n bytes as a side-effect, and returns the just advanced bytes
- The use of `.except` got replaced by an `.or`, with the use of the
already existing `InvalidKDFOutputLength` error, thereby removing a
potential panic (probably not reachable in runtime though)
- The conversion from a slice to a `CircuitBinding` got moved into a
`TryFrom` trait of the appropriate data structure
|