| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | | |
This was experimental. Everything gated by it has been stabilised.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is widely used in-tree already. I don't think it makes sense to
feature-gate it.
There are some (perhaps rather thin) tests for both the Ed25519Builder
and EncodedRsaCrosscert.
It is possible we might want to change the API further, but this is
still a 0.x crate so that's not going to be a problem.
We'll remove the actual cargo feature in the next commit.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change all call sites.
This completes the rename.
|
| | | | |
| | | |
| | | |
| | | | |
Abolish the type alias and change call references.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a perfectly ordinary builder type. There isn't any reason why
it ought to be called "constructor". And, nowadays, we have things in
tor-netdoc called Constructor that take a different approach.
Briefly, leave a temporary compat alias, to make diffs more comprehensible.
Currently this experimental, so no semver implications.
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Preperation work for upcoming tor-dirserver test refactoring
See merge request tpo/core/arti!3931
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This is required to do some signature validation on legacy types in an
upcoming commit.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If extra-infos is set to NULL, which might be the case for micro
descriptors or even router descriptors because the field is optional
there, this SQL query fails because it cannot LEFT JOIN
server.extra_unsigned_sha1 when this field is NULL.
To fix this, we simply add an additional clause to the WHERE statement
that filters such rows out.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit changes the schema to make the fingerprint optional.
Reason for this is, that microdescriptors are also stored in this table
and microdescriptors only contain an OPTIONAL onion-key, meaning it may
not always be possible to determine this value from a microdescriptor,
thereby making it silly to require it here.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
linkspec: Add serde(default) to fields in RelayIds.
See merge request tpo/core/arti!3933
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
With this change, we will accept serialized RelayId representations
that omit one or more keys. This will eventually allow us to omit
absent keys when we serialize these.
This is the first stage of #2477.
|
| |\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
tor-netdoc: Un-gate many features
See merge request tpo/core/arti!3930
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is needed because we don't have !3926 in main yet. It will
produce a semantic conflict when that merges.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change "ns-vote" gates to "incomplete":
* `vote` modules, and in the variety macro.
(And make a TODO more likely to be found.)
Change "parse2" gates to "incomplete":
* VoteAuthoritySection
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Everything that this needs is un-gated now.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are complete. Un-gate the RouterStatusMdDigestsVote
implementation, and the export of both.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
As per #2492.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
As per #2492.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is only used for hsdescs right now. But it doesn't need to be
gated behind encode.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This stabilises the parse2 and encode impls of consensus tyepe:
* {plain, md}::{Preamble, RouterStatus, RouterStatusIntroItem}
It also un-gates the parse2 and encode impls of some vote types.
* VoteAuthorityEntry - this type has been completed.
* RouterStatusMdDigestsVote - whole type still gated with ns-vote
Re the remaining vote types (vote::*): although each_variety.rs
doesn't have a cfg itself, there is a feature gate in the variety
macrology.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This stabilises the parse2 and encode impls of
* Lifetime
* ConsensusMethods
* SharedRandStatus
* ConsensusAuthorityEntry
All of these are complete.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
There are no outstanding TODOs here.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Tidy the imports, and remove some now-unneeded { }.
We'll run rustfmt in a moment to sort and reindent.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This stabilises the parse2 and encode impls of
* NetParams<i32>
* ProtoStatuses
It also stabilises the parse2 impls of the following types which do
not currently have any encode impls:
* RelayWeight
* rs::SoftwareVersion
* IgnoredPublicationTimeSp
As for TODOs and incomplete code: the things we're stabilising here
are very simple, or fully formed.
Implementing encoding for IgnoredPublicationTimeSp looks impossible,
but we can cross that bridge when we come to it.
We un-cfg-gate the parse2 and encode imports too.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are all parse2, and there are no blocking TODOs.
We're leaving `build_docs` alone.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This is just one cfg, for RelayPlatform.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
There is one irrelevant TODO.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
There is only one TODO in this file and it's not really relevant.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There is one TODO DIRMIRROR but it's a possible API change.
I think it doesn't mean we can't un-gate this now.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
These are all parse2, and there are no blocking TODOs.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove a now-pointless pair of { }.
We'll reindent this in a moment.
|
| | | |/ /
| |/| |
| | | |
| | | | |
These are all parse2, and there are no blocking TODOs.
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Implement path inspection for RPC
Closes #2286
See merge request tpo/core/arti!3888
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This will make it possible to tell whether a path has been replaced
in the tunnel.
Since the UniqId type might change its representation in the future,
I've documented that we don't guarantee anything about the strings
used to distinguish paths.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This enables the rpc client to call "arti:describe_path" and similar
methods on streams constructed via this mechanism.
|
| | | | |
| | | |
| | | |
| | | | |
Additionally, allow inspecting tunnel paths directly from streams.
|