| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-netdoc: VoteAuthoritySection: deindent NddAuthoritySection | Ian Jackson | 2026-04-27 | 1 | -42/+42 | |
| | | | | | | | | | | | | | | | | | | | | | Purely whitespace change: deindent certain lines by 4. `git show -w` is helpful. | |||||
| | * | | | tor-netdoc: VoteAuthorityEntry: replace in poc with new proper type | Ian Jackson | 2026-04-27 | 2 | -23/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This has a side effect of testing the parsing. (Testing of the encoding will have to come a lot later.) | |||||
| | * | | | tor-netdoc: VoteAuthorityEntry: new struct (just a skeleton for now) | Ian Jackson | 2026-04-27 | 2 | -0/+37 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: document changes in semver.md | Ian Jackson | 2026-04-27 | 1 | -0/+3 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: derive Constructor | Ian Jackson | 2026-04-27 | 2 | -1/+11 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: derive encoding and parsing | Ian Jackson | 2026-04-27 | 1 | -1/+5 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: fix type of vote_digest field | Ian Jackson | 2026-04-27 | 2 | -3/+3 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: fix type of contact field | Ian Jackson | 2026-04-27 | 2 | -3/+17 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: add some blank lines | Ian Jackson | 2026-04-27 | 1 | -0/+2 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo (2) (fmt) | Ian Jackson | 2026-04-27 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo (2) | Ian Jackson | 2026-04-27 | 4 | -14/+14 | |
| | | | | | | | | | | | | | | | | | Deprecate the compatibility alias. | |||||
| | * | | | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo | Ian Jackson | 2026-04-27 | 1 | -3/+22 | |
| | | | | | | | | | | | | | | | | | Use the terminology from the spec. | |||||
| | * | | | tor-netdoc: DirSource: document changes in semver.md | Ian Jackson | 2026-04-27 | 1 | -1/+3 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: derive Constructor | Ian Jackson | 2026-04-27 | 2 | -1/+12 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: derive encoding and parsing | Ian Jackson | 2026-04-27 | 1 | -1/+4 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: add missing hostname field | Ian Jackson | 2026-04-27 | 2 | -0/+11 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: fix type of identity field | Ian Jackson | 2026-04-27 | 2 | -3/+4 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: fix type of nickname field | Ian Jackson | 2026-04-27 | 2 | -3/+9 | |
| | | | | | ||||||
| | * | | | tor-netdoc: DirSource: add spec url | Ian Jackson | 2026-04-27 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | 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 | |
| | | | | | ||||||
| * | | | | Merge branch 'embedded-cert' into 'main' | Ian Jackson | 2026-04-27 | 13 | -18/+706 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Introduce EmbeddedCert, and a demo of how to use it Closes #2485 See merge request tpo/core/arti!3922 | |||||
| | * | | | | tor-netdoc: Introduce `EmbeddedCert` | Ian Jackson | 2026-04-27 | 4 | -0/+395 | |
| | | | | | | | | | | | | | | | | | | | | | Fixes #2485. | |||||
| | * | | | | Revert "tor-cert: Provide ed25519 cert decoding via TryFrom trait" | Ian Jackson | 2026-04-27 | 2 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 68caf324a320fff1a4f0e9b0f5014a34d0e3729f. | |||||
| | * | | | | tor-cert: Provide ed25519 cert decoding via tor-bytes | Ian Jackson | 2026-04-27 | 2 | -0/+8 | |
| | |/ / / | | | | | | | | | | | | | | | | | This is more sensible and will make the code in tor-netdoc less strange. We'll revert the TryFrom in a moment. | |||||
| | * | | | tor-cert: Provide ed25519 cert encoding via tor-bytes | Ian Jackson | 2026-04-23 | 3 | -1/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | | | tor-cert: Provide ed25519 cert decoding via TryFrom trait | Ian Jackson | 2026-04-23 | 2 | -0/+8 | |
| | | | | | | | | | | | | | | | | | Otherwise we can't implement trait-based decoding in tor-netdoc. | |||||
| | * | | | tor-cert: impl From<Ed25519Identity> for CertifiedKey | Ian Jackson | 2026-04-23 | 2 | -1/+5 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Introduce RetainedOrderVec parse/encode type | Ian Jackson | 2026-04-23 | 5 | -0/+51 | |
| | | | | | ||||||
| | * | | | 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 | 2 | -0/+18 | |
| | | | | | ||||||
| | * | | | 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 | 2 | -1/+10 | |
| | | | | | ||||||
| | * | | | 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 | 2 | -1/+25 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -0/+36 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -1/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | | | | | ||||||
