summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-llcrypto: Implement Ed25519PublicKey for ExpandedKeypairClara Engler2026-06-252-0/+7
| | | | | | | | | | | | | | | | | | | | ExpandedKeypair already implements Ed25519SigningKey, so there is no reason to not implement Ed25519PublicKey on it.
* | | | Merge branch 'fallbackdir-25-06-2026' into 'main'David Goulet2026-06-261-899/+890
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fallbackdir: Update list generated on June 25, 2026 See merge request tpo/core/arti!4157
| * | | | fallbackdir: Update list generated on June 25, 2026Tor CI Release2026-06-261-899/+890
|/ / / / | | | | | | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | | | Merge branch 'create-fast' into 'main'opara2026-06-252-18/+132
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto: Handle incoming CREATE2 with ntor (non-v3) handshakes See merge request tpo/core/arti!4149
| * | | | tor-proto: add some comments about handshake server argumentsSteven Engler2026-06-251-0/+5
| | | | |
| * | | | tor-proto: implement the ntor (non-v3) handshakeSteven Engler2026-06-241-5/+65
| | | | |
| * | | | tor-key-forge: add a `secret()` accessor to the derived keypair typeSteven Engler2026-06-241-0/+9
| | | | |
| * | | | tor-proto: update a comment in `CreateRequestHandler`Steven Engler2026-06-241-4/+2
| | | | |
| * | | | tor-proto: move `RelayLayer` split into helperSteven Engler2026-06-241-4/+21
| | | | |
| * | | | tor-proto: prepare for ntor handshakesSteven Engler2026-06-241-9/+34
| | | | |
* | | | | Merge branch 'tpa-runners' into 'main'gabi-2502026-06-251-4/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Revert "ci: require 'tpa' tag for runners" See merge request tpo/core/arti!4156
| * | | | | Revert "ci: require 'tpa' tag for runners"Steven Engler2026-06-251-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 75c0ee2f90710b6d599076debcb6ffad49599823.
* | | | | | Merge branch 'trace-filter' into 'main'opara2026-06-252-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | arti: Fix option name in 'arti-example-config.toml' See merge request tpo/core/arti!4148
| * | | | | arti: remove references to old `trace_filter` in commentsSteven Engler2026-06-252-2/+2
| |/ / / /
* | | | | Merge branch 'fix-protover-zero-doc' into 'main'Nick Mathewson2026-06-251-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-protover: Fix documentation regarding version `0` See merge request tpo/core/arti!4151
| * | | | | tor-protover: Fix documentation regarding version `0`Clara Engler2026-06-251-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | See torspec!519. This is actually not legal and already rejected, the docs are just wrong.
* | | | | Merge branch 'microdesc-sha' into 'main'Clara Engler2026-06-258-76/+96
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | tor-netdoc: Remove document hash from Microdesc struct (and add MicrodescAndHash for that) See merge request tpo/core/arti!4138
| * | | | Apply deferred rustfmt churnIan Jackson2026-06-223-10/+5
| | | | |
| * | | | Remove renaming aliases for MicrodescAndHashIan Jackson2026-06-225-28/+28
| | | | |
| * | | | tor-netdoc: Break Microdesc up into Microdesc and MicrodescAndHashIan Jackson2026-06-228-33/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Microdesc type having a copy of the document hash was always weird, and it's weirder now that there's all these parse2 types that don't have it and parse2 derives on Microdesc that don't touch it. Make a new type for the descriptor and its hash. Use deref to arrange that the new type works almost like the old one. Adjust the use lines in the dependencies to temporarily import MicrodescAndHash as Microdesc.
| * | | | tor-netdoc: Move some Microdesc methodsIan Jackson2026-06-221-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | Code motion, plus adding a new impl block, to make the next commit clearer.
* | | | | Merge branch 'trivial-encode-string-slice' into 'main'Clara Engler2026-06-251-2/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | tor-netdoc: Replace trivial string slice See merge request tpo/core/arti!4143
| * | | | tor-netdoc: Replace trivial string sliceClara Engler2026-06-241-2/+1
| | | | |
* | | | | Merge branch 'relay-early' into 'main'opara2026-06-244-6/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Pass the correct channel msg cmd to `decrypt_outbound()` See merge request tpo/core/arti!4146
| * | | | | tor-cell: remove `derive_more::Into` for `RelayEarly`Steven Engler2026-06-242-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't use this anymore, and it can lead to subtle bugs since we lose the original channel message command.
| * | | | | tor-proto: pass correct chan msg cmd to `decrypt_outbound()`Steven Engler2026-06-242-5/+27
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of converting the `RelayEarly` message to a `Relay` message, we add a new `RelayMaybeEarlyChanMsg` restricted message set that can hold either. Previously we were passing the wrong channel message command to `decrypt_outbound()`, which would cause the decryption to fail for relay crypto algorithms that use the command.
* | | | | Merge branch 'tpa-runners' into 'main'opara2026-06-241-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ci: Require 'tpa' tag for runners See merge request tpo/core/arti!4147
| * | | | | ci: require 'tpa' tag for runnersSteven Engler2026-06-241-0/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to try to work around the following, since the OSUOSL runners are broken. https://gitlab.torproject.org/tpo/tpa/team/-/work_items/42705 We should revert this once they are working again. I'll open a ticket to remember do this.
* | | | | Merge branch 'netdoc-string-slice-doc' into 'main'Nick Mathewson2026-06-245-14/+23
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-netdoc: Replace string slices with str::get() in doc See merge request tpo/core/arti!4142
| * | | | tor-netdoc: Replace string slices with str::get() in doc (fmt)Clara Engler2026-06-243-5/+19
| | | | | | | | | | | | | | | | | | | | No functional change, just reformatting.
| * | | | tor-netdoc: Replace string slices with str::get() in docClara Engler2026-06-245-14/+9
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the use of string slices with str::get() in all document related code. While this is not a perfect replacement for it, the relevant parts in the code heavily depend upon the byte offsets returned by the low level (legacy) parser where changing it would lead to a very big refactoring. Nonetheless, this approach is better because returning a bug is better than crashing.
* | | | Merge branch 'intern' into 'main'Clara Engler2026-06-2418-59/+201
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Introduce Intern<T> Closes #2587 See merge request tpo/core/arti!4130
| * | | tor-netdoc: Fix rs.rs cache commentsClara Engler2026-06-241-1/+1
| | | | | | | | | | | | | | | | Removes a blocking comment and replaces it with a TODO DIRAUTH.
| * | | Make &Arc comment less controverisalClara Engler2026-06-241-1/+1
| | | |
| * | | Improve GloballyInternable::intern_cache() rustdocClara Engler2026-06-241-0/+3
| | | |
| * | | Fix GloballyInternable rustdoc commentClara Engler2026-06-241-1/+1
| | | |
| * | | Remove no longer required AsRef implClara Engler2026-06-241-9/+0
| | | | | | | | | | | | | | | | This is no longer required due to Deref
| * | | Derive Clone for InternClara Engler2026-06-241-7/+1
| | | | | | | | | | | | | | | | We can do so now directly.
| * | | Derive Deref for InternClara Engler2026-06-241-10/+2
| | | | | | | | | | | | | | | | If we derive it, we get access to Arc<T>, which is okay.
| * | | Add Intern::new_uncached_uninterned()Clara Engler2026-06-241-1/+13
| | | | | | | | | | | | | | | | If one really wants to circumvent the guarantees ...
| * | | tor-basic-utils: Add GloballyInternable::into_intern() (fmt)Clara Engler2026-06-241-2/+1
| | | | | | | | | | | | | | | | No functional change.
| * | | tor-basic-utils: Add GloballyInternable::into_intern()Clara Engler2026-06-245-6/+16
| | | | | | | | | | | | | | | | As a shorthand for T::intern_cache().intern(value).
| * | | Derive From Intern for Arc using derive-moreClara Engler2026-06-241-11/+2
| | | |
| * | | tor-netdoc: Intern rational improvementClara Engler2026-06-241-2/+5
| | | |
| * | | Add missing semver.md entriesClara Engler2026-06-242-0/+5
| | | |
| * | | tor-protover: Make blocking TODO non-blockingClara Engler2026-06-241-1/+1
| | | | | | | | | | | | | | | | Let's leave this untouched for now as it is not urgent right now.
| * | | tor-netdoc: Wrap port policies in InternClara Engler2026-06-247-20/+22
| | | | | | | | | | | | | | | | This commit wraps the port policies in an Intern.
| * | | tor-netdoc: Wrap family in InternClara Engler2026-06-245-12/+16
| | | | | | | | | | | | | | | | This commit wraps the relay family in an Intern instead of an Arc.
| * | | tor-netdoc: Implement encode traits for Intern wrappersClara Engler2026-06-241-0/+35
| | | | | | | | | | | | | | | | Just a boilerplate implementation.
| * | | tor-netdoc: Implement parse2 traits for Intern wrappersClara Engler2026-06-242-1/+18
| | | | | | | | | | | | | | | | | | | | This commit implements ItemValueParseable and ItemArgumentParseable for Intern<T> types. This should be sufficient for the time being.