summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | doc/keys.md: Rephrase the section about alternative output formatsGabriela Moldovan2026-06-171-2/+5
| | | | | | |
| * | | | | | doc/keys.md: Wrap a too-long lineGabriela Moldovan2026-06-171-1/+2
| | | | | | |
* | | | | | | Merge branch 'doc-fix' into 'main'David Goulet2026-06-171-2/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | tor-chanmgr: Remove comment for something that's not implemented See merge request tpo/core/arti!4124
| * | | | | | tor-chanmgr: remove comment for something that's not implementedSteven Engler2026-06-171-2/+1
| | | | | | |
* | | | | | | Merge branch 'keys-list-output' into 'main'gabi-2502026-06-176-247/+478
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | arti: subcommands: keys: Rework output of keys list See merge request tpo/core/arti!4015
| * | | | | | arti: subcommands: keys: Rework output of keys listhjrgrn2026-06-176-247/+478
| | | | | | |
* | | | | | | Merge branch 'authority-plugin-spec' into 'main'Ian Jackson2026-06-171-0/+250
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | draft specification for authority plugin API See merge request tpo/core/arti!4089
| * | | | | | | authority-plugin: Say we use the netdoc metaformat.Nick Mathewson2026-06-171-1/+2
| | | | | | | |
| * | | | | | | authority-plugin: Say what NICKNAME is for.Nick Mathewson2026-06-171-1/+1
| | | | | | | |
| * | | | | | | authority-plugin: Specify error behaviorNick Mathewson2026-06-171-0/+12
| | | | | | | |
| * | | | | | | authority-plugin: More suggestions from @dizietNick Mathewson2026-06-101-1/+9
| | | | | | | |
| * | | | | | | authority-plugin: edits from @dizietNick Mathewson2026-06-101-8/+15
| | | | | | | |
| * | | | | | | draft specification for authority plugin APINick Mathewson2026-06-101-0/+222
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'stream-reexport' into 'main'David Goulet2026-06-1716-45/+39
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Reexport the Incoming* types from tor_proto::stream See merge request tpo/core/arti!4123
| * | | | | | | proto: Update tests to use the new stream exportsGabriela Moldovan2026-06-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests don't compile otherwise.
| * | | | | | | proto: Add crate-level exports for two extra stream types (fmt)Gabriela Moldovan2026-06-1713-39/+22
| | | | | | | |
| * | | | | | | proto: Add crate-level exports for two extra stream typesGabriela Moldovan2026-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For convenience. This will soon replace a corresponding re-export from `tor_proto::client::stream`.
| * | | | | | | proto: Re-export StreamReceiver from tor_proto::streamGabriela Moldovan2026-06-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will soon replace the re-export from `tor_proto::client::stream`.
| * | | | | | | proto: Re-export the Incoming* types from tor_proto::streamGabriela Moldovan2026-06-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These will replace the pub re-exports from `tor_proto::client::stream`. This reorg is needed because currently, the only public export of the incoming stream types is from `tor_proto::client::stream`, but these aren't actually client specific: relays will use them too, for implementing exit, DNS and directory streams. So it makes more sense to export them from the top-level stream module instead.
| * | | | | | | proto: Make the stream module pubGabriela Moldovan2026-06-171-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'ci-test' into 'main'Nick Mathewson2026-06-171-3/+45
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Added ipv6 and hostname support for reply for socks5 See merge request tpo/core/arti!4063
| * | | | | | | sockproto: Tighten match and clean comments.Nick Mathewson2026-06-171-12/+6
| | | | | | | |
| * | | | | | | Added ipv6 and hostname support for reply for sockspryty262026-06-111-3/+51
| | | | | | | |
* | | | | | | | Merge branch 'embedded-authcert' into 'main'Ian Jackson2026-06-174-4/+45
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Use EmbeddedCert for authcert in votes See merge request tpo/core/arti!4098
| * | | | | | | tor-netdoc: votes: use EmbeddedCert for the authhcertIan Jackson2026-06-172-2/+6
| | | | | | | |
| * | | | | | | tor-netdoc: EmbeddedCert: support whole netdocs (for AuthCert) (fmt)Ian Jackson2026-06-171-2/+7
| | | | | | | |
| * | | | | | | tor-netdoc: EmbeddedCert: support whole netdocs (for AuthCert)Ian Jackson2026-06-172-2/+34
|/ / / / / / /
* | | | | | | Merge branch 'consensus-roundtrip' into 'main'Ian Jackson2026-06-1710-100/+313
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement encoding and verification for consensuses, and add a round trip test See merge request tpo/core/arti!4100
| * | | | | | | tor-netdoc: consensus_threshold: return a RangeFromIan Jackson2026-06-172-8/+14
| | | | | | | |
| * | | | | | | tor-netdoc: Document new facilitiesIan Jackson2026-06-171-0/+2
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Round trip an md consensusIan Jackson2026-06-171-9/+17
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Make roundtrip test generic (fmt)Ian Jackson2026-06-171-19/+16
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Promote a fudgeIan Jackson2026-06-171-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Microdescriptor consensuses are affected by this same anomaly.
| * | | | | | | tor-netdoc: tests: ns parse2 test: Make roundtrip test genericIan Jackson2026-06-171-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us test microdescriptors and votes with the same code.
| * | | | | | | tor-netdoc: tests: ns parse2 test: Round trip a plain consensusIan Jackson2026-06-172-2/+43
| | | | | | | |
| * | | | | | | tor-netdoc: tests: Add regsub utility functionIan Jackson2026-06-173-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to need this for fudges in round trip tests of consensuses etc.
| * | | | | | | tor-netdoc: tests: ns parse2 test: Mess with authcerts in a block (fmt)Ian Jackson2026-06-171-10/+10
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Mess with authcerts in a blockIan Jackson2026-06-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids rebinding file and text and input to the authcerts. We're going to want to use at least some of those values later.
| * | | | | | | tor-netdoc: tests: ns parse2 test: enable UnknownIan Jackson2026-06-171-1/+2
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Use real document type (fmt)Ian Jackson2026-06-171-3/+2
| | | | | | | |
| * | | | | | | tor-netdoc: tests: ns parse2 test: Use real document typeIan Jackson2026-06-171-4/+4
| | | | | | | |
| * | | | | | | tor-netdoc: tests: Move ns poc tests to netstatus.rsIan Jackson2026-06-173-70/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to turn these into full-on round-trip tests for both flavours of consensus. We must temporarily bodge the more comprehensive test, for plain con sensuses, to to still use the actual document type from poc. That allows us to avoid changing the arguments to verify() etc. (poc's verify is subtly different to the real NetworkStatus's.) When these tests were in poc, they were gated by the incomplete cfg on the whole of poc. Now they have one each. Almost entirely code motion; review with git show --color-moved --color-moved-ws=allow-indentation-change
| * | | | | | | tor-netdoc: tests: Move poc authcert test to authcert.rsIan Jackson2026-06-172-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no separate poc authcert type any more. This is a perfectly fine test case. Almost entirely code motion; review with git show --color-moved --color-moved-ws=allow-indentation-change
| * | | | | | | tor-netdoc: poc tests: drop some unneeded &'sIan Jackson2026-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clippy complains (clippy::needless_borrows_for_generic_args). In poc, we have an allow with a TODO asking for this to be done generally in the Arti codebase. Let's postpone shaving that yak.
| * | | | | | | tor-netdoc: poc tests: use normal names for authcertsIan Jackson2026-06-171-6/+4
| | | | | | | |
| * | | | | | | tor-netdoc: poc tests: simulate normal outside-poc variety module namesIan Jackson2026-06-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are going to reuse/move this test code. Ie, it is going to be testing the real network document types. The naming outside poc is different. To make future diffs a bit less noisy, change some type names in the test code and fudge it up with a use.
| * | | | | | | tor-netdoc: un-cfg-gate some use'sIan Jackson2026-06-171-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have the #1645 allow at the top of lib.rs, so this is unnecessary bureaucracy. Let's simplify this before adding more to it.
| * | | | | | | tor-netdoc: provide verify methods on new consensus types (fmt)Ian Jackson2026-06-171-3/+2
| | | | | | | |
| * | | | | | | tor-netdoc: provide verify methods on new consensus typesIan Jackson2026-06-172-2/+116
| | | | | | | |
| * | | | | | | tor-netdoc: Break out consensus_threshold fnIan Jackson2026-06-172-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This calculation appeared 3 times.