| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | Merge branch 'contact-info' into 'main' | Clara Engler | 2026-04-13 | 3 | -3/+100 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-netdoc: ContactInfo See merge request tpo/core/arti!3866 | |||||
| | * | | | tor-netdoc: ContactInfo: Fix unused attribute | Ian Jackson | 2026-04-09 | 1 | -3/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: Add some roundtrip tests | Ian Jackson | 2026-04-08 | 1 | -0/+30 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: Use FromStr impl for netdoc item parsing | Ian Jackson | 2026-04-08 | 1 | -5/+15 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: derive Display too | Ian Jackson | 2026-04-08 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: Impose a syntax restriction | Ian Jackson | 2026-04-08 | 1 | -2/+41 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise you might, for example, receive a String from a config file, JSON API submission, RPC call, or whatever, containing a newline, and then encode it into a netdoc giving a syntax error or, worse, smuggling additional items into the document! | |||||
| | * | | | tor-netdoc: ContactInfo: semver entry | Ian Jackson | 2026-04-08 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: derive ItemValueEncodable | Ian Jackson | 2026-04-08 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | tor-netdoc: ContactInfo: Use d_d_adhoc technique to de-cfg | Ian Jackson | 2026-04-08 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | Otherwise the cfg_attr for the field would need to name both features. | |||||
| | * | | | tor-netdoc: ContactInfo: Improve doc with an xref and item name | Ian Jackson | 2026-04-08 | 1 | -1/+5 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Add ContactInfo | Clara Engler | 2026-04-08 | 2 | -1/+13 | |
| | | | | | ||||||
| * | | | | tor-proto: small comment improvement | Steven Engler | 2026-04-09 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | tor-proto: replace a tuple with a dedicated struct | Steven Engler | 2026-04-09 | 2 | -18/+29 | |
| | | | | | ||||||
| * | | | | tor-proto: give our ed ident to the channel reactor | Steven Engler | 2026-04-09 | 6 | -5/+48 | |
| | | | | | | | | | | | | | | | | | This will be needed for ntor handshakes. | |||||
| * | | | | proto: Apply deferred rustfmt | Gabriela Moldovan | 2026-04-09 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | arti-relay: Use a SmallVec for the ntor keys | Gabriela Moldovan | 2026-04-09 | 2 | -2/+5 | |
| | | | | | | | | | | | | | | | | | Usually, there will only be two of these. | |||||
| * | | | | proto: Add method for installing ntor keys in the create handler | Gabriela Moldovan | 2026-04-09 | 2 | -3/+28 | |
| | | | | | | | | | | | | | | | | | | | | | This also updates the key rotation task to call the setter whenever the ntor keys get updated. | |||||
| * | | | | arti-relays: Pass a CreateRequestHandler to the crypto task (fmt) | Gabriela Moldovan | 2026-04-09 | 1 | -3/+8 | |
| | | | | | ||||||
| * | | | | arti-relays: Pass a CreateRequestHandler to the crypto task | Gabriela Moldovan | 2026-04-09 | 3 | -1/+5 | |
| | | | | | | | | | | | | | | | | | This will need to be updated each time the ntor keys change. | |||||
| * | | | | arti-relay: Add tests for the ntor key rotation | Gabriela Moldovan | 2026-04-09 | 1 | -0/+53 | |
| | | | | | ||||||
| * | | | | arti-relay: Test that 1 ntor key gets generated on first run | Gabriela Moldovan | 2026-04-09 | 1 | -0/+7 | |
| | | | | | ||||||
| * | | | | arti-relay: Dedupe test helper | Gabriela Moldovan | 2026-04-09 | 1 | -16/+10 | |
| | | | | | | | | | | | | | | | | | | | | | I am about to add another one of these, so I tried to deduplicate the impls a bit. | |||||
| * | | | | arti-relays: Extend existing tests to check ntor key rotation (fmt) | Gabriela Moldovan | 2026-04-09 | 1 | -1/+4 | |
| | | | | | ||||||
| * | | | | arti-relays: Extend existing tests to check ntor key rotation | Gabriela Moldovan | 2026-04-09 | 1 | -2/+6 | |
| | | | | | ||||||
| * | | | | arti-relay: Generate and rotate ntor keys | Gabriela Moldovan | 2026-04-09 | 1 | -10/+162 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is still some outstanding work here to read the lifetime and grace period from the consensus, but that will require some bigger changes to the rotation task. Closes #2451 | |||||
| * | | | | arti-relay: Add callbacks for deciding whether to expire and generate | Gabriela Moldovan | 2026-04-09 | 1 | -11/+26 | |
| | | | | | | | | | | | | | | | | | | | | | The logic for removing and generating ntor keys is going to be slightly different here. | |||||
| * | | | | arti-relay: Replace have_rotated bools with KeyChange (fmt) | Gabriela Moldovan | 2026-04-09 | 1 | -8/+14 | |
| | | | | | ||||||
| * | | | | arti-relay: Replace have_rotated bools with KeyChange | Gabriela Moldovan | 2026-04-09 | 1 | -15/+23 | |
| | | | | | | | | | | | | | | | | | This will enable us to plug in the ntor key rotation logic. | |||||
| * | | | | arti-relay: Add a struct describing a key change event | Gabriela Moldovan | 2026-04-09 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is just a wrapper over `bool` right now. It will helps us distinguish changes to the channel auth material from changes affecting the ntor circuit extension keys. | |||||
| * | | | | arti-relay: s/have_rotated/have_removed for clarity | Gabriela Moldovan | 2026-04-09 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | relay-crypto: Add new RelayNtor key wrapper | Gabriela Moldovan | 2026-04-09 | 1 | -1/+6 | |
| | | | | | ||||||
| * | | | | Merge branch 'ticket2440_01' into 'main' | David Goulet | 2026-04-09 | 7 | -66/+91 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | chanmgr: Validate the ChanTarget for both client and relay Closes #2404 and #2440 See merge request tpo/core/arti!3843 | |||||
| | * | | | linkspec: Rename all_addrs_allowed_for_extend() | David Goulet | 2026-04-09 | 2 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Also set a better error message when validating channel target. Signed-off-by: David Goulet <[email protected]> | |||||
| | * | | | relay: Pass advertise SocketAddr to channel builder instead of IpAddr | David Goulet | 2026-04-09 | 6 | -22/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This trickles down to the tor-proto channel handshake code. But, the real need is in the channel builder in order to validate the outbound channel target. Fixes #2440 Signed-off-by: David Goulet <[email protected]> | |||||
| | * | | | chanmgr: Validate the ChanTarget for both client and relay | David Goulet | 2026-04-09 | 1 | -41/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It used to be only with the feature = relay but since client can have that feature enabled, we now validate based on channel outbound type instead. Related to #2440 Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | Merge branch 'log-ids' into 'main' | Jim Newsome | 2026-04-09 | 3 | -5/+13 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Log IDs See merge request tpo/core/arti!3872 | |||||
| | * | | | Log socks isolation | Jim Newsome | 2026-04-08 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | Log tunnel and circuit IDs | Jim Newsome | 2026-04-08 | 2 | -5/+12 | |
| | | | | | ||||||
| | * | | | Fix log typo Preeemptive | Jim Newsome | 2026-04-08 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Merge branch 'create-fast' into 'main' | gabi-250 | 2026-04-09 | 2 | -56/+71 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor-proto: Move CREATE_FAST handling to a helper See merge request tpo/core/arti!3869 | |||||
| | * | | | | tor-proto: take `CreateRequest` message by reference | Steven Engler | 2026-04-08 | 2 | -6/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clippy has started warning about this since we moved the CREATE_FAST handling to a helper, so this resolves that. | |||||
| | * | | | | tor-proto: move a TODO | Steven Engler | 2026-04-08 | 1 | -2/+1 | |
| | | | | | | ||||||
| | * | | | | tor-proto: remove old TODO | Steven Engler | 2026-04-08 | 1 | -4/+1 | |
| | | | | | | ||||||
| | * | | | | tor-proto: rustfmt | Steven Engler | 2026-04-08 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | Fix formatting from previous code movement. | |||||
| | * | | | | tor-proto: move CREATE_FAST handling | Steven Engler | 2026-04-08 | 1 | -45/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the code, changes the indentation, and wraps the result in an `Ok()`. | |||||
| | * | | | | tor-proto: prepare to move CREATE_FAST handling to a helper | Steven Engler | 2026-04-08 | 1 | -8/+34 | |
| | | | | | | ||||||
| | * | | | | tor-proto: remove old TODO | Steven Engler | 2026-04-08 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This had already been resolved. | |||||
| * | | | | | arti-relay: Fix test MockRuntime::advance_by() usage | Gabriela Moldovan | 2026-04-09 | 1 | -6/+2 | |
| | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | This was previously advancing time by more than intended (I think the intention here was to use something like `MockRuntime::jump_wallclock()`, but that function has no effect on sleeping futures, so I think we should continue using `advance_by()`). | |||||
| * | | | | Merge branch 'rustls-defaults' into 'main' | Nick Mathewson | 2026-04-08 | 9 | -37/+72 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow compile-time selection of rustls CryptoProvider; use aws-lc-rs by default. Closes #2448 See merge request tpo/core/arti!3857 | |||||
| | * | | | | arti-relay: Change CryptoProvider to aws-lc-rs. | Nick Mathewson | 2026-04-08 | 2 | -3/+4 | |
| | | | | | | ||||||
