| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-netdoc: species/variety: Fix a reference to "this module" | Ian Jackson | 2025-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: species/variety: Add a big overview text | Ian Jackson | 2025-08-18 | 1 | -0/+51 | |
| | | | | | I've started using the new "variety" terminology here. | |||||
| * | tor-netdoc: species/variety: Add some cfg's to avoid unused import warnings | Ian Jackson | 2025-08-18 | 1 | -0/+3 | |
| | | ||||||
| * | tor-netdoc: species/variety: Properly add blocking TODOs | Ian Jackson | 2025-08-18 | 1 | -1/+2 | |
| | | ||||||
| * | Revert "tor-netdoc: Link to the generated macro, for one of them (poc)" | Ian Jackson | 2025-08-18 | 4 | -20/+3 | |
| | | | | | This reverts commit 084ad9a716da8e44616a54fdfbba0140f5a7704e. | |||||
| * | tor-netdoc: species: Improve per_species heading, clarification | Ian Jackson | 2025-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: species: Improve per_species heading | Ian Jackson | 2025-08-18 | 1 | -1/+4 | |
| | | ||||||
| * | tor-netdoc: ns_per_species_macros: Add blocking todo for "variety" rename | Ian Jackson | 2025-08-18 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: ns_per_species_macros: Swap order, make vote optional | Ian Jackson | 2025-08-18 | 1 | -24/+29 | |
| | | ||||||
| * | tor-netdoc: ns_per_species_macros: Fix some refs to CONST | Ian Jackson | 2025-08-18 | 1 | -2/+2 | |
| | | ||||||
| * | tor-netdoc: Rename `ns` species ("variety") to `plain` | Ian Jackson | 2025-08-18 | 3 | -22/+26 | |
| | | ||||||
| * | tor-netdoc: ns_per_species_macros: Add some dividers | Ian Jackson | 2025-08-18 | 1 | -0/+8 | |
| | | ||||||
| * | tor-netdoc: Improved a doc comment | Ian Jackson | 2025-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: Link to the generated macro, for one of them (poc) | Ian Jackson | 2025-08-18 | 4 | -3/+20 | |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3139#note_3238496 | |||||
| * | tor-netdoc: Link to the do_species macros | Ian Jackson | 2025-08-18 | 1 | -1/+4 | |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3139#note_3238495 | |||||
| * | tor-netdoc: Fix botched formatting. | Ian Jackson | 2025-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: Fix a "flavour" reference that should have been "species" | Ian Jackson | 2025-08-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: rs: Abolish implement_accessors macro (fmt) | Ian Jackson | 2025-08-18 | 1 | -67/+67 | |
| | | ||||||
| * | tor-netdoc: rs: Abolish implement_accessors macro | Ian Jackson | 2025-08-18 | 2 | -79/+69 | |
| | | | | | | | We don't need this now; we can just write the impl in per_species.rs. Formatting will be fixed in a moment. | |||||
| * | tor-netdoc: rs: Move identical text to per_species.rs. | Ian Jackson | 2025-08-18 | 4 | -144/+76 | |
| | | | | | | | | These two files were largely identical. Move the common text to per_species.rs, and fix a couple of imports so that it still compiles. | |||||
| * | tor-netdoc: rs: Remove some fiddly docs differences | Ian Jackson | 2025-08-18 | 2 | -5/+2 | |
| | | | | | | | | Not having the flavour in the type name is a shame, but we probably don't want to resort to generating the docs with macros. Part of making these two files largely identical. | |||||
| * | tor-netdoc: rs: Introduce FLAVOR constant | Ian Jackson | 2025-08-18 | 2 | -4/+10 | |
| | | | | | Part of making these two files largely identical. | |||||
| * | tor-netdoc: rs: Swap calling order | Ian Jackson | 2025-08-18 | 2 | -4/+4 | |
| | | | | | | Move the implementation to the trait method which then becomes completely identical in both files. | |||||
| * | tor-netdoc: rs: Introduce and use DOC_DIGEST_LEN | Ian Jackson | 2025-08-18 | 4 | -6/+12 | |
| | | | | | Part of making ns.rs and md.rs largely identical. | |||||
| * | tor-netdoc: rs: Use species macrology for DocDigest | Ian Jackson | 2025-08-18 | 2 | -18/+18 | |
| | | | | | Part of making these two files largely identical. | |||||
| * | tor-netdoc: rs: Use species macrology for ConsensusRouterStatus | Ian Jackson | 2025-08-18 | 4 | -25/+24 | |
| | | | | | | | | In the species-specific files ns.rs and md.rs, use the unqualified name; re-export it with the new macro. We are working towards making these two files largely identical. | |||||
| * | tor-netdoc: Introduce new "species" macrology | Ian Jackson | 2025-08-18 | 5 | -0/+223 | |
| | | | | | | This will let us deduplicate a fair amount of code, and also will let us support votes as well as ns and md consensuses. | |||||
| * | tor-netdoc: Change all in-tree references to ns-consensus from ns_consensus | Ian Jackson | 2025-08-18 | 4 | -13/+13 | |
| | | ||||||
| * | tor-netdoc: Remove two false comments | Ian Jackson | 2025-08-18 | 2 | -2/+0 | |
| | | | | | Cut-and-paste error, I think. | |||||
| * | tor-netdoc: Rerun cargo fmt after rebase | Ian Jackson | 2025-08-14 | 2 | -3/+3 | |
| | | ||||||
| * | tor-netdoc: parse2: Fix typo in "Naming conventions" doc | Ian Jackson | 2025-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | tgr-netdoc: Tests of parse2 | Ian Jackson | 2025-08-14 | 2 | -0/+93 | |
| | | | | | We parse and verify some network documents from testdata2. | |||||
| * | tor-netdoc: Proof-of-concept demo of new parser | Ian Jackson | 2025-08-14 | 6 | -0/+861 | |
| | | | | | This can parse and validate the signatures on a consensus. | |||||
| * | tor-netdoc: Introduce parse2, new parser | Ian Jackson | 2025-08-14 | 13 | -0/+2300 | |
| | | | | | | This isn't used anywhere yet. We're going to demonstrate it, and test the demo, in a moment. | |||||
| * | tor-netdoc: Always expose Nickname | Ian Jackson | 2025-08-14 | 2 | -7/+1 | |
| | | | | | | This is a fine API. The representation may change, but that wouldn't be breaking. | |||||
| * | tor-netdoc: Improve and expose Fingerprint parsing adapters | Ian Jackson | 2025-08-14 | 2 | -4/+25 | |
| | | | | | | | | | | | | We won't want them ever to be anything other than a wrapper around `RsaIdentity`, so we can make them transparent. Derive various useful traits, including Deref. Expose them publicly, since there's no reason not to do so. (The new parser will want to reuse them. It's in-crate, but out-of-crate users may want to use these too for other netdoc types.) | |||||
| * | tor-netdoc: Expose base64_decode_multiline to crate | Ian Jackson | 2025-08-14 | 1 | -1/+1 | |
| | | | | | The new parser is going to reuse this. | |||||
| * | netdoc test data: Switch two tests to new consensus data | Ian Jackson | 2025-08-14 | 1 | -3/+3 | |
| | | ||||||
| * | Switch Cargo.toml files to edition 2024. | Nick Mathewson | 2025-08-07 | 21 | -97/+126 | |
| | | | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again. | |||||
| * | Update code for Edition 2024 | Nick Mathewson | 2025-08-07 | 2 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | 1. Run cargo fix --edition 2. Selectively revert the "if let"->"match" changes. These changes are meant to protect us from the lifetime changes for "if let" bindings in Rust 2024. But we're not actually relying on the old lifetime rules anywhere, and the match syntax here is quite ugly. 3. Automatically revert `$pat:expr_2021` to `$pat:expr`. (We don't actually want to restrict the expression syntax that our macros accept). Done with `git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'` 4. Run cargo fmt. | |||||
| * | Merge branch 'prop360-combined' into 'main' | Nick Mathewson | 2025-07-10 | 5 | -9/+177 | |
| |\ | | | | | | | | | | | | | Implement proposal 360 (limit HsDesc inflation opportunities) Closes #2046 See merge request tpo/core/arti!3070 | |||||
| | * | Suggestions from @gabi-250 on prop360 implementation. | Nick Mathewson | 2025-07-10 | 1 | -2/+2 | |
| | | | ||||||
| | * | netdoc, hsservice: Respect maximum descriptor sizes | Nick Mathewson | 2025-07-10 | 1 | -2/+17 | |
| | | | | | | | | | | | It would be better to take a more sophisticated approach; see #2048. | |||||
| | * | netdoc: Add note about prop360 | Nick Mathewson | 2025-07-10 | 1 | -0/+6 | |
| | | | ||||||
| | * | netdoc: Tread a few more kinds of errors as suspicious. | Nick Mathewson | 2025-07-10 | 1 | -1/+6 | |
| | | | | | | | | | | | In particular, these are errors that provide an opportunity to inflate the size of an hsdesc download. | |||||
| | * | hs*: Define some HsDesc errors as _suspicious_. | Nick Mathewson | 2025-07-10 | 1 | -0/+22 | |
| | | | | | | | | | | | These errors are suspicious as hsdir inflation attacks, in the context of prop360. | |||||
| | * | netdoc: disallow extraneous space within final signature item | Nick Mathewson | 2025-07-10 | 3 | -1/+51 | |
| | | | | | | | | | Part of proposal 360. | |||||
| | * | netdoc: Fix Item::end_pos() behavior, and add tests. | Nick Mathewson | 2025-07-10 | 1 | -6/+30 | |
| | | | | | | | | | | | Previously it didn't include end-of-line space, even though the docs said it did. | |||||
| | * | Add test to enforce parser behavior wrt start-of-line space. | Nick Mathewson | 2025-07-10 | 1 | -0/+46 | |
| | | | ||||||
| * | | Typo fixes (automatic and hand-verified) | Nick Mathewson | 2025-07-09 | 1 | -1/+1 | |
| |/ | | | | Made with https://crates.io/crates/typos-cli | |||||
