| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | tor-netdoc: DirSource: add some blank lines | Ian Jackson | 2026-04-27 | 1 | -0/+4 | |
| | | | | | | | | | This makes the struct more legible. | |||||
| | * | tor-netdoc: EncodedAuthCert: implement NetdocEncodable | Ian Jackson | 2026-04-27 | 1 | -0/+13 | |
| | | | ||||||
| | * | tor-netdoc: ItemValueParseable: Tolerate non-snake-case fields | Ian Jackson | 2026-04-27 | 1 | -0/+1 | |
| | | | | | | | | | We'll want this with Constructor's __non_exhaustive. | |||||
| * | | Merge branch 'embedded-cert-prep' into 'main' | Ian Jackson | 2026-04-27 | 2 | -1/+10 | |
| |\ \ | |/ |/| | | | | | Prep work for EmbeddedCert See merge request tpo/core/arti!3918 | |||||
| | * | tor-netdoc: RouterSigEd25519::hash: Comment and assert re space | Ian Jackson | 2026-04-27 | 1 | -0/+9 | |
| | | | | | | | | | | | As discussed in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3918#note_3401409 | |||||
| | * | tor-netdoc: Add a TODO re VerifyFailed | Ian Jackson | 2026-04-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-netdoc: Introduce `EmbeddedCert` | Ian Jackson | 2026-04-27 | 3 | -0/+394 | |
| |/ | | | | Fixes #2485. | |||||
| * | tor-netdoc: Introduce RetainedOrderVec parse/encode type | Ian Jackson | 2026-04-23 | 4 | -0/+50 | |
| | | ||||||
| * | tor-netdoc: Expose B16 types and FixedB64 (fmt) | Ian Jackson | 2026-04-23 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: Expose B16 types and FixedB64 | Ian Jackson | 2026-04-23 | 2 | -2/+3 | |
| | | | | | | Somehow FixedB64 was not reachable previously, but this wasn't detected by the compiler despite it being `pub`. | |||||
| * | tor-netdoc: impl conversions from tor-checkable errors to VerifyFailed | Ian Jackson | 2026-04-23 | 1 | -0/+17 | |
| | | ||||||
| * | tor-netdoc: impl ItemValueEncodable for RouterSigEd25519 | Ian Jackson | 2026-04-23 | 1 | -1/+2 | |
| | | ||||||
| * | tor-netdoc: impl ItemArgumet for ed25519::Signature | Ian Jackson | 2026-04-23 | 1 | -1/+9 | |
| | | ||||||
| * | tor-neteoc: RouterSigEd25519: Implement encode_sign | Ian Jackson | 2026-04-23 | 1 | -0/+60 | |
| | | ||||||
| * | tor-neteoc: RouterSigEd25519: break out hash | Ian Jackson | 2026-04-23 | 1 | -6/+15 | |
| | | | | | We're going to need this for encoding too. | |||||
| * | tor-neteoc: de-cfg-gate routerdesc signatures | Ian Jackson | 2026-04-23 | 1 | -2/+0 | |
| | | ||||||
| * | tor-netdoc: RouterSignature: Add a TODO about maybe deduplication | Ian Jackson | 2026-04-23 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: RouterSigEd25519: Add a TODO about maybe standardisation | Ian Jackson | 2026-04-23 | 1 | -0/+2 | |
| | | ||||||
| * | tor-netdoc: Add RouterDescSignatures type | Clara Engler | 2026-04-23 | 1 | -1/+24 | |
| | | | | | | This commit implements the RouterDescSignatures type that carries the signatures for the yet to be derived RouterDescUnverified. | |||||
| * | tor-netdoc: Add RouterSigEd25519 type | Clara Engler | 2026-04-23 | 1 | -0/+35 | |
| | | | | | | This commit adds RouterSigEd25519 as a type to misc.rs for use in router descriptor signatures. | |||||
| * | tor-netdoc: Add RouterDescSignature type | Clara Engler | 2026-04-23 | 1 | -1/+35 | |
| | | | | | | | This commit adds RouterDescSignature to types, which implements SignatureItemParseable manually in order to also include the Ed25519 signature. | |||||
| * | tor-netdoc: Add RouterHashAccu | Clara Engler | 2026-04-23 | 1 | -0/+11 | |
| | | | | | | | This commit adds a hash accumulator for router descriptor signature hashes. We will need this because router descriptors have overlapping signatures. | |||||
| * | tor-netdoc: de-cfg-gate the types/misc/routerdesc module | Ian Jackson | 2026-04-23 | 2 | -2/+0 | |
| | | | | | Part of #2492 phase 2. | |||||
| * | tor-netdoc: types/misc.rs: routerdesc: use super::* | Ian Jackson | 2026-04-23 | 1 | -8/+1 | |
| | | | | | | This avoids much repetition (and consequent conflicts as code is added). | |||||
| * | tor-netdoc: Better error message for failure to implement encoding trait | Ian Jackson | 2026-04-23 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: Gate authcert/encoded.rs and poc behind incomplete and ↵ | Ian Jackson | 2026-04-23 | 3 | -2/+6 | |
| | | | | | | | | | | 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. | |||||
| * | tor-netdoc: Un-gate BASE64_PEM_MAX_LINE | Ian Jackson | 2026-04-23 | 1 | -1/+0 | |
| | | ||||||
| * | tor-netdoc: Tidy use's in authcert.rs | Ian Jackson | 2026-04-23 | 1 | -9/+5 | |
| | | ||||||
| * | tor-netdoc: Un-gate parse2 and encode in authcert.rs | Ian Jackson | 2026-04-23 | 1 | -31/+5 | |
| | | ||||||
| * | tor-netdoc: types/misc.rs: un-gate two helper methods | Ian Jackson | 2026-04-23 | 1 | -2/+0 | |
| | | ||||||
| * | tor-netdoc: types/misc.rs: abolish a now-unneeded block in a test | Ian Jackson | 2026-04-23 | 1 | -26/+23 | |
| | | ||||||
| * | tor-netdoc: types/misc.rs: tidy preivously cfg'd use's | Ian Jackson | 2026-04-23 | 1 | -31/+25 | |
| | | ||||||
| * | tor-netdoc: Remove much cfg in types/misc.rs | Ian Jackson | 2026-04-23 | 1 | -47/+14 | |
| | | | | | | Unconditionally enable everything previously gated with parse2 or encode. | |||||
| * | tor-netdoc: Un-gate parse2 and encode core | Ian Jackson | 2026-04-23 | 3 | -5/+0 | |
| | | ||||||
| * | tor-netdoc: Fix B16U debug implementation | Clara Engler | 2026-04-22 | 1 | -1/+1 | |
| | | | | | Replaces "B16" by "B16U". | |||||
| * | tor-netdoc: Fix FixedB16U debug implementation | Clara Engler | 2026-04-22 | 1 | -1/+1 | |
| | | | | Replaces "FixedB16" by "FixedB16U" | |||||
| * | tor-netdoc: Add TODO for FixedB16U's Display implementation | Clara Engler | 2026-04-22 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: Add spec links to all routerdesc types | Clara Engler | 2026-04-22 | 1 | -0/+8 | |
| | | | | | This commit adds spec links to all relevant routerdesc types. | |||||
| * | tor-netdoc: Add spec link to RouterDesc | Clara Engler | 2026-04-22 | 1 | -0/+4 | |
| | | | | | This commit adds a specification link to the RouterDesc struct. | |||||
| * | tor-netdoc: pub mod routerdesc | Clara Engler | 2026-04-22 | 2 | -4/+2 | |
| | | | | | | | | This commit replaces `pub use routerdesc::*` with `pub mod routerdesc` alongside making the required changes in types.rs to not directly prelude these types but to introduce them in their own module, as that is the primary advantage of having these types there. | |||||
| * | tor-netdoc: ItemArgumentParseable for RelayPlatform | Clara Engler | 2026-04-22 | 1 | -0/+12 | |
| | | | | | | This commit implements ItemArgumentParseable for RelayPlatform which we will need in the parse2 version of RouterDesc eventually. | |||||
| * | tor-netdoc: Public SpFingerprint | Clara Engler | 2026-04-22 | 2 | -3/+3 | |
| | | | | | | | | | We will need this type in public fields of the router descriptor data type at one point, most notably for the `fingerprint` item. No need to update semver.md because this type is, for whatever reason, already contained there (in main)? | |||||
| * | tor-netdoc: Test AddrPolicy's parse2 accumulator | Clara Engler | 2026-04-22 | 1 | -0/+58 | |
| | | | | | | This commit adds a test for the recent parse2 accumulator to see whether it accumulates the policies as expected. | |||||
| * | tor-netdoc: NetdocParseableFields for AddrPolicy | Clara Engler | 2026-04-22 | 1 | -2/+30 | |
| | | | | | | | This commit implements NetdocParseableFields for AddrPolicy, which will be required, because this field accumulates exit policies in a firewall like order, making the use of it necessary. | |||||
| * | tor-netdoc: NormalItemArgument for AddrPortPattern | Clara Engler | 2026-04-22 | 1 | -0/+3 | |
| | | | | | | This commit implements NormalItemArgument for AddrPortPattern because we will need it later for an accumulator. | |||||
| * | tor-netdoc: Derive PartialEq,Eq for addrpolicy.rs | Clara Engler | 2026-04-22 | 1 | -2/+2 | |
| | | | | | | This commit derives PartialEq and Eq for a few types in addrpolicy.rs, as we will need these for a few unit tests later on. | |||||
| * | tor-netdoc: Add TODO for BTreeSet in RelayFamilyIds | Clara Engler | 2026-04-22 | 1 | -1/+5 | |
| | | | | | | The inner Vec ought to be better of as a BTreeSet as that would save us dedup and sort calls. | |||||
| * | tor-netdoc: Add dedup() to RelayFamilyIds | Clara Engler | 2026-04-22 | 1 | -0/+5 | |
| | | | | | | We will need this later for outputting RelayFamilyIds in a fashion compatible with the current API. | |||||
| * | tor-netdoc: Add sort() to RelayFamilyIds | Clara Engler | 2026-04-22 | 1 | -0/+5 | |
| | | | | | | We will need this later for outputting RelayFamilyIds in a fashion compatible with the current API. | |||||
| * | tor-netdoc: Add ExtraInfoDigests | Clara Engler | 2026-04-22 | 2 | -2/+17 | |
| | | | | | | | This commit adds the ExtraInfoDigests structure storing the, if present, mandatory SHA-1 hash and optional SHA-256 hash of the extra-info document associated with the router descriptor it is referenced from. | |||||
