summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * tor-netdoc: authcert: Make key_ids return owned AuthCertKeyIdsIan Jackson2026-01-065-10/+11
| | | | | | | | | | AuthCert is about to lose its copy of H(KP_auth_sign_rsa) so it needs to return an owned value.
| * tor-netdoc: RSA: check exponent and min size in parse2Ian Jackson2026-01-062-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the spec we always use this fixed exponent, and we have a minimum size of 1024. This is checked adhoc in the old parser with some slight assistance from what is now `RsaPublicParse1Helper`. It's not clear to me that checking the exponent is actually a good idea. I think checking the size is probably a bad idea, and if it is a good idea then 1024 is clearly too short. But rather than revisit these questions, let's reproduce the old behaviour in parse2. In parse2 these checks should be features of the type.
| * tor-netdoc: RSA: rename helper type to RsaPublicParse1HelperIan Jackson2026-01-064-15/+18
| | | | | | | | | | | | This is used by the old parsing code, apparently as a thing to hang the checking methods off. It is confusing to have so many different RSA types! Let's at least rename this one.
| * tor-netdoc: authcert: Improve docs a bitIan Jackson2026-01-061-5/+12
| | | | | | | | Spec links from the tmp module will be added later.
| * tor-netdoc: authcert: Rename fields in AuthCert to match the specIan Jackson2026-01-062-39/+39
| |
| * tor-netdoc: authcert: Reorder fields in AuthCert to match the specIan Jackson2026-01-061-4/+4
|/
* Merge branch 'web-docs' into 'main'Alexander Hansen Færøy2026-01-056-16/+27
|\ | | | | | | | | web: Miscallaneous improvements See merge request tpo/core/arti!3559
| * web: add warning about `--no-default-features`Steven Engler2026-01-051-0/+8
| |
| * web: fixed typoSteven Engler2026-01-051-1/+1
| |
| * web: move `--` in commandSteven Engler2026-01-051-1/+1
| | | | | | | | | | I think that the `--` separator should go before any arti-specific args, which includes the arti subcommand.
| * web: don't recommend `--all-features`Steven Engler2026-01-051-1/+1
| | | | | | | | This enables experimental features.
| * web: reword some textSteven Engler2026-01-051-9/+8
| | | | | | | | | | | | Opinionated changes trying to make it more accurate and less cheesy. Further changes would be nice, but I'm trying not to go overboard here.
| * web: try to update some things that are out of dateSteven Engler2026-01-053-5/+9
| |
* | Merge branch 'paths-docs' into 'main'David Goulet2026-01-052-12/+18
|\ \ | |/ |/| | | | | arti-relay: Remove `ARTI_RELAY_SHARED_DATA` cfg variable See merge request tpo/core/arti!3558
| * arti-relay: remove `ARTI_RELAY_SHARED_DATA` cfg variableSteven Engler2026-01-051-5/+6
| |
| * tor-config-path: add note about `ARTI_SHARED_DATA`Steven Engler2026-01-051-1/+6
| | | | | | | | | | This hopefully will mean that future people will not need to spend time figuring out the difference.
| * tor-config-path: small doc style changeSteven Engler2026-01-051-6/+6
|/ | | | Makes it nicer to use asterisks for bold text.
* Merge branch 'relay-bin-4' into 'main'opara2025-12-184-7/+186
|\ | | | | | | | | arti-relay: Add a `GuardMgr`, `CircMgr`, and `DirMgr` See merge request tpo/core/arti!3552
| * arti-relay: added more commentsSteven Engler2025-12-181-0/+7
| |
| * arti-relay: some small cleanupSteven Engler2025-12-171-4/+6
| |
| * arti-relay: add a `GuardMgr`, `CircMgr`, and `DirMgr`Steven Engler2025-12-171-1/+78
| |
| * arti-relay: implement `CircMgrConfig`Steven Engler2025-12-173-1/+49
| |
| * arti-relay: implement `GuardMgrConfig`Steven Engler2025-12-173-0/+26
| |
| * arti-relay: add `NetworkConfig` to configSteven Engler2025-12-173-0/+8
| |
| * arti-relay: add `StorageConfig::cache_dir()` helperSteven Engler2025-12-171-1/+12
| |
* | Merge branch 'parse2-multiple-locs' into 'main'Ian Jackson2025-12-184-19/+94
|\ \ | | | | | | | | | | | | tor-netdoc: parse_netdoc_multiple_with_offsets See merge request tpo/core/arti!3554
| * | tor-netdoc: parse_netdoc_multiple_with_offsets: Add comment about offsetsIan Jackson2025-12-181-0/+5
| | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3554#note_3313768
| * | tor-netdoc: test2: Make t_ok (which takes no boundaries) take &D not &[D]Ian Jackson2025-12-181-16/+16
| | |
| * | tor-netdoc: test2: Test parse_netdoc_multiple_with_offsetsIan Jackson2025-12-181-2/+25
| | | | | | | | | | | | | | | | | | * Make a fancy version of t_ok, t_ok_multi, that takes the expected boundary byte offsets. * t_ok is now just for single-document files and is implemented in terms of t_ok_multi. * Use t_ok_multi for the one test case with multiple documents.
| * | tor-netdoc: test2: Add a test file with more than one documentIan Jackson2025-12-181-0/+17
| | |
| * | tor-netdoc: Provide parse2::parse_netdoc_multiple_with_offsetsIan Jackson2025-12-182-0/+22
| | |
| * | tor-netdoc: Break out and expose ItemStream::byte_positionIan Jackson2025-12-182-3/+11
| | |
| * | tor-netdoc: Fix doc comment for parse_netdoc_multipleIan Jackson2025-12-181-1/+1
|/ /
* | Merge branch 'p2-preamble-1' into 'main'Ian Jackson2025-12-187-12/+127
|\ \ | | | | | | | | | | | | Some work on parsing the network status preamble See merge request tpo/core/arti!3550
| * | tor-netdoc: netstatus preamble: Reorder fields to match spec orderIan Jackson2025-12-181-21/+21
| | | | | | | | | | | | | | | As suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3313757
| * | tor-netdoc: netstatus preamble: Add a lot of blank linesIan Jackson2025-12-181-0/+11
| | | | | | | | | | | | | | | I'm going to reorder things and this will make that much less error-prone, at least for me.
| * | tor-netdoc: netstatus preamble: Clarify TODO for known-flagsIan Jackson2025-12-181-1/+1
| | |
| * | tor-netdoc: netstatus: improve TODO commentsIan Jackson2025-12-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | This is the result of reading through the spec and comparing it to the struct. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312672
| * | tor-netdoc: Clarify the wrong field bug exampleIan Jackson2025-12-181-1/+4
| | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312670
| * | tor-netdoc: Fix typo in commentIan Jackson2025-12-181-1/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312669
| * | tor-netdoc: rustfmtIan Jackson2025-12-181-2/+1
| | |
| * | tor-netdoc: Preamble: Parse published in votesIan Jackson2025-12-183-0/+5
| | |
| * | tor-netdoc: Preamble: Parse consensus-methods in votesIan Jackson2025-12-184-1/+5
| | |
| * | tor-netdoc: Preamble: Fix consensus-method parsing in votesIan Jackson2025-12-181-1/+1
| | |
| * | tor-netdoc: impl NetdocParseableFields for PreambleIan Jackson2025-12-181-0/+12
| | |
| * | tor-netdoc: impl ItemValueParseable for NetParams<i32>Ian Jackson2025-12-181-1/+11
| | |
| * | tor-netdoc: impl NetdocParseableFields for ProtoStatusesIan Jackson2025-12-181-1/+63
| | |
| * | tor-netdoc: Use $P for prelude in one placeIan Jackson2025-12-182-2/+2
| |/ | | | | | | This was missed, apparently.
* | Merge branch 'relay-conflux-note3' into 'main'David Goulet2025-12-181-0/+606
|\ \ | | | | | | | | | | | | | | | | | | doc/dev/notes: Add note on relay conflux Closes #2273 See merge request tpo/core/arti!3533
| * | doc/dev/notes: Say we might want buffering on the inner MPSCsGabriela Moldovan2025-12-111-4/+7
| | |