| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Merge branch 'resume' into 'main' | opara | 2026-02-24 | 2 | -2/+17 | |
| |\ \ | | | | | | | | | | | | | tor-rtcompat: Disable rustls session resumption See merge request tpo/core/arti!3710 | |||||
| | * | | tor-rtcompat: disable rustls session resumption | Steven Engler | 2026-02-24 | 2 | -2/+17 | |
| | | | | ||||||
| * | | | Merge branch 'rtcompat-unfold-2070' into 'main' | opara | 2026-02-24 | 2 | -88/+20 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | rtcompat: simplify async-std and smol incoming streams with unfold Closes #2070 See merge request tpo/core/arti!3705 | |||||
| | * | | | tor-rtcompat: unfold for smol incoming streams | moumenalaoui | 2026-02-19 | 1 | -41/+11 | |
| | | | | | ||||||
| | * | | | tor-rtcompat: unfold for async-std incoming streams | moumenalaoui | 2026-02-19 | 1 | -47/+9 | |
| | | | | | ||||||
| * | | | | Merge branch 'err-msgs' into 'main' | David Goulet | 2026-02-24 | 2 | -8/+15 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | arti-relay: Improve error/warning messages See merge request tpo/core/arti!3711 | |||||
| | * | | | | arti-relay: fix stale comment | Steven Engler | 2026-02-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | This method was renamed previously. | |||||
| | * | | | | arti-relay: add more error context | Steven Engler | 2026-02-23 | 1 | -6/+12 | |
| | | | | | | ||||||
| | * | | | | arti-relay: don't warn if key gen was successful | Steven Engler | 2026-02-23 | 1 | -1/+2 | |
| | | | | | | ||||||
| * | | | | | tor-config: future-proof #[cfg] attribute. | Nick Mathewson | 2026-02-24 | 1 | -17/+17 | |
| | | | | | | ||||||
| * | | | | | arti: Fix some visibility-based compilation errors. | Nick Mathewson | 2026-02-24 | 2 | -6/+10 | |
| | | | | | | ||||||
| * | | | | | arti: Migrate top-level configuration to dd(TorConfig). | Nick Mathewson | 2026-02-24 | 4 | -144/+83 | |
| | | | | | | ||||||
| * | | | | | arti: Port rpc configuration to dd(TorConfig). | Nick Mathewson | 2026-02-24 | 3 | -74/+74 | |
| | | | | | | ||||||
| * | | | | | tor-config: Add an option to reject configured-out options | Nick Mathewson | 2026-02-24 | 1 | -6/+55 | |
| | | | | | | ||||||
| * | | | | | tor-config: Have macros document more types and fns | Nick Mathewson | 2026-02-24 | 2 | -0/+3 | |
| | | | | | | ||||||
| * | | | | | arti: Port logging config to dd(TorConfig) | Nick Mathewson | 2026-02-24 | 2 | -132/+71 | |
| | | | | | | ||||||
| * | | | | | tor-config: Fix cfg() on sub_builders | Nick Mathewson | 2026-02-24 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, it used the sub_builder rule, which doesn't make sense when the value is a stub place-holder to tell us whether to warn. | |||||
| * | | | | | tor-relay: convert to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-24 | 2 | -56/+44 | |
| | | | | | | ||||||
| * | | | | | arti-client: Convert config to derive_deftly(TorConfig). | Nick Mathewson | 2026-02-24 | 1 | -115/+94 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (There are a few places where we still do things in nonstandard places to avoid API breakage.) | |||||
| * | | | | | memquota: Implement ExtendBuilder for config builder. | Nick Mathewson | 2026-02-24 | 1 | -0/+13 | |
| | | | | | | ||||||
| * | | | | | keymgr: Port to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-24 | 1 | -44/+33 | |
| |/ / / / | | | | | | | | | | | | | | | | | As with previous modules, I've left some thing less conformant with our "standard" APIs in order to keep backward compat (for now). | |||||
| * | | | | relay-crypto: Move comments above [derive] to be consistent accross codebase | David Goulet | 2026-02-23 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Setup const for hardcoded value in crypto task | David Goulet | 2026-02-23 | 1 | -8/+13 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Log when key generation yields an existing key error | David Goulet | 2026-02-23 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Simplify the crypto rotation task rotate_key() | David Goulet | 2026-02-23 | 1 | -17/+11 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Get rid of start_task() for readability | David Goulet | 2026-02-23 | 2 | -22/+10 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Generate relay identities at init | David Goulet | 2026-02-23 | 2 | -7/+17 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Implement a helper to build RelayIdentities | David Goulet | 2026-02-23 | 3 | -7/+116 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This required to add a slight helper to our tor-key-forge RSA key d-d macro to access the inner keypair. This avoids a clone. Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay-crypto: Fix the gen relay signing keypair typo | David Goulet | 2026-02-23 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | proto: Modify RelayIdentities to have encodable cert | David Goulet | 2026-02-23 | 2 | -14/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also adds the TlsKeyAndCert to the identities so the TLS acceptor can set it up. Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay-crypto: Add gen_tls_cert() helper function | David Goulet | 2026-02-23 | 2 | -1/+18 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Remove unused ephemeral keystore | David Goulet | 2026-02-23 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Move try_generate_keys() into crypto task | David Goulet | 2026-02-23 | 2 | -39/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rotating keys into a function so we can use it in try_generate_keys() that is used at startup. Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay: Add a crypto task for key rotation | David Goulet | 2026-02-23 | 3 | -1/+183 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This task crypto module has a rotate key task that is in charge of rotating keys from our KeyMgr based on the valid until. To do so, we add a RotatableKeySpec trait to help us specify our to rotate a specific key. Allows us to have a generic rotate/generate function for all our keys. Task runs every 60 seconds. Taken from C-tor. Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay-crypto: Add missing helper functions | David Goulet | 2026-02-23 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | | relay-crypto: Add link signing key specifier | David Goulet | 2026-02-23 | 1 | -0/+32 | |
| | |/ / |/| | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | Merge branch 'config-migrate-part1' into 'main' | gabi-250 | 2026-02-20 | 17 | -217/+166 | |
| |\ \ \ | |/ / |/| | | | | | | | | Port several crates to derive_deftly(TorConfig) See merge request tpo/core/arti!3691 | |||||
| | * | | hsservice: Port to use derive_deftly(TorConfig) | Nick Mathewson | 2026-02-17 | 3 | -31/+46 | |
| | | | | | | | | | | | | | | | | Some of the behaviors of the existing types here are nonstandard; I've kept them and documented them, to avoid breaking compatibility. | |||||
| | * | | tor-config: fix and improve ExtendBuilder override. | Nick Mathewson | 2026-02-17 | 2 | -3/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. When we are told to `extend_with`, we should obey that directive even if we have a sub_builder etc. 2. Provide an `extend_with_replace` function for the common case where we want to just replace one object with another. | |||||
| | * | | tor-config: derive list builders with the visibility of their setters. | Nick Mathewson | 2026-02-17 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsrproxy: migrate to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-17 | 2 | -29/+7 | |
| | | | | ||||||
| | * | | ptmgr: Migrate to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-17 | 2 | -12/+12 | |
| | | | | ||||||
| | * | | chanmgr: migrate to derive_deftly(TorConfig) | Nick Mathewson | 2026-02-17 | 2 | -14/+14 | |
| | | | | ||||||
| | * | | dircommon: Port to use derive_deftly(TorConfig) | Nick Mathewson | 2026-02-17 | 5 | -120/+66 | |
| | | | | | | | | | | | | | | | | Some of the behaviors of the existing types here are nonstandard; I've kept them and documented them, to avoid breaking compatibility. | |||||
| | * | | guardmgr: Migrate config to derive_deftly. | Nick Mathewson | 2026-02-17 | 1 | -7/+5 | |
| | | | | ||||||
| * | | | proto: Filter the IP address in the channel's OwnedChanTarget | David Goulet | 2026-02-19 | 1 | -23/+35 | |
| | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | proto: Reuse the RelayIds builder during the handshake | David Goulet | 2026-02-19 | 1 | -18/+11 | |
| | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | proto: Pass PeerAddr at the channel handshake finish for initiators | David Goulet | 2026-02-19 | 8 | -72/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Responder relay handshake requires the peer address at the very start as it sends its NETINFO right away. For initiators, we only need it during the finalization process which is when the NETINFO is sent and the Channel is created. Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | chanmgr: Add a TODO() for logging PeerAddr instaed of ChanTarget | David Goulet | 2026-02-19 | 1 | -0/+4 | |
| | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | | | chanmgr: Fix channel builder comment | David Goulet | 2026-02-19 | 1 | -6/+1 | |
| | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
