| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
We'll add a `TorRelay` back in a following commit.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
hashx: Fix compilation on aarch64 with dynasm 4.0
Closes #2208
See merge request tpo/core/arti!3341
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The new conversion mechanisms in dynasm 4.0 make clippy unhappy
under aarch64.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(Starting with version 4, dynasm wants something
that implements Into<u8>.)
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
arti: keys: Rework the output of `arti keys check-integrity`
Closes #2151
See merge request tpo/core/arti!3286
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
and `keystores`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
The function now returns `Result<Vec<InvalidKeystoreEntry<'a>>>`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add a check in `run_check_integrity` to verify that the `expired_entries`
collection is empty after processing all registered keystores. This should
always be true, as all expired entries are expected to be removed during
iteration. If not, it indicates a bug.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Replace raw tuples with named structs to reduce type complexity and improve
code clarity and maintainability.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
`run_check_integrity`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Fix bug where expired keys from one keystore were incorrectly
associated with all keystores
- Remove unnecessary clone
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
`run_check_integrity`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Add `display_invalid_keystore_entries` helper function
`print_check_integrity_incipit`
- Add `display_invalid_keystore_entries` comment
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add initial functional implementation of `display_invalid_keystore_entries`,
which processes a list of invalid keystore entries grouped by `KeystoreId`
and displays them with associated error messages.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Create the skeletal version of the new `display_invalid_keystore_entries` function
and adapt `run_check_integrity` to use it.
The function now takes a slice of pairs, each containing a `KeystoreId` and a vector
of invalid keystore entries along with their error messages, and processes all
entries internally by iterating over each keystore, instead of being called
once per keystore.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously, the function worked with a flat `Vec<KeystoreEntryResult<KeystoreEntry>>`.
Now, it uses a structured `Vec<(KeystoreId, Vec<KeystoreEntryResult<KeystoreEntry>>)>`,
grouping entries by keystore.
This makes it easier to track which keystore each entry belongs to,
and prepares the code for upcoming improvements.
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
tor-netdoc: Deprecate `build_docs` and tidy feature docs
See merge request tpo/core/arti!3340
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We're going to eventually implement the traits in `src/build.rs` for
the network document types.
But, this feature mainly covers `doc/*build*`. That (a) isn't used
in-tree (b) isn't really needed now that the fields are all pub
(c) is currently marked experimental.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
And mention that there are experimental and undocumented features.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It is FromStr (which is fine). Which emant it was
ItemArgumentParseable but but it can't be Display so it can't be
NormalItemArgument. This illuminates the fact that it shouldn't
really be ItemArgumentParseable since we're going to want all types
that are in netdoc structs to be both parseable and printable.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We're going to indirect the impls of `ItemArgument` in terms of
`FromStr` via a blanket on `impl NormalItemArgument`.
For trait coherence reasons we can't have an blanket impl on
`&impl ItemArgument` any more.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is currently used to enable `parse2::ItemArgumentParseable`.
In a moment it will enable `build::ItemArgument` too.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We'll want this for both types eventually, when we do printing at the
very least.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I'm going to want this as preparation for making these things properly
suitable for item arguments.
One test case in parse2::poc was relying on Display of the Deref to
RsaIdentity.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Somehow there wasn't one of these.
|
| | |/ / / /
|/| | | |
| | | | |
| | | | | |
This orthogonally necessary impl seems to have been overlooked.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
proto: Move flow_ctrl module under stream.
See merge request tpo/core/arti!3335
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`StreamFlowCtrl` is no longer accessible via `tor_proto::client`, so I
had to update one of the (doc) imports with its new path
Also, I had to change a couple of imports to use `DataWriter` and
`DataStream` from `crate::client::stream` instead of
`crate::client::stream::data`, because the latter is not visible from
`flow_ctrl` anymore.
|