| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This makes the struct more legible.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
We'll want this with Constructor's __non_exhaustive.
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | | |
Prep work for EmbeddedCert
See merge request tpo/core/arti!3918
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As discussed in
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3918#note_3401409
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tor-netdoc: Introduce EmbeddedCert, and a demo of how to use it
Closes #2485
See merge request tpo/core/arti!3922
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes #2485.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 68caf324a320fff1a4f0e9b0f5014a34d0e3729f.
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is more sensible and will make the code in tor-netdoc less strange.
We'll revert the TryFrom in a moment.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implement the Writeable trait.
Explain why this approach is correct and leave a comment near the
decoder (to avoid future changes making this implementation buggy) and
a test case.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Otherwise we can't implement trait-based decoding in tor-netdoc.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Somehow FixedB64 was not reachable previously, but this wasn't
detected by the compiler despite it being `pub`.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
We're going to need this for encoding too.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit implements the RouterDescSignatures type that carries the
signatures for the yet to be derived RouterDescUnverified.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds RouterSigEd25519 as a type to misc.rs for use in router
descriptor signatures.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds RouterDescSignature to types, which implements
SignatureItemParseable manually in order to also include the Ed25519
signature.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds a hash accumulator for router descriptor signature
hashes. We will need this because router descriptors have overlapping
signatures.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Part of #2492 phase 2.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This avoids much repetition (and consequent conflicts as code is
added).
|
| | | | | | | |
|
| |\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-netdoc: Un-cfg much parse2 and encode
See merge request tpo/core/arti!3915
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
plain-consensus
"incomplete" is correct since encoded authcert depends on votes.
"plain-consensus" is going backwards, but stripping "plain-consensus"
gates from everything will be very intrusive.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Unconditionally enable everything previously gated with parse2 or
encode.
|
| | | | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Part of #2492. We're going to make encode unconditional, and remove
all the cfg-gates for it. Code currently gated by encode depends on
rand.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
CI: tune shadow for shared CI environment
See merge request tpo/core/arti!3911
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
shadow's default behavior of spin-looping is bad behavior in a shared
environment.
This is already disabled in integration-shadow.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In CI, shadow's default behavior of pinning to CPU cores can result in
multiple instances of shadow fighting over the same CPU cores instead of
using idle ones.
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | / /
| | |_|/ /
| |/| | | |
Update MACOS_DEPLOYMENT_TARGET to 10.14
See merge request tpo/core/arti!3920
|
| | | | | | |
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This gives our reproducible-build tools permission to use APIs
introduced in versions up to 10.14. Previously, we had this set to
10.12, which is the oldest version supported by Rust.
Upgrading to 10.14 will allow us to merge !3817, and to upgrade
security-framework to the latest version (#2387).
OSX 10.14 ("Mojave") was released in September 2018, and hasn't
been officially supported since October 2021. IMO it's a fine "very
old version" for now.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Update the OSX SDK in our reproducible build.
See merge request tpo/core/arti!3901
|