| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | arti: keys: Fix typo in `run_check_integrity` | hjrgrn | 2025-10-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | arti: keys: Rename `invalid_entry` to `expired_entry` in `run_check_integrity` | hjrgrn | 2025-10-08 | 1 | -3/+3 | |
| | | | ||||||
| * | | arti: keys: Add warning for unexpected invalid keystore entry | hjrgrn | 2025-10-08 | 1 | -14/+16 | |
| | | | ||||||
| * | | arti: keys: Improve readability of `run_check_integrity` | hjrgrn | 2025-10-08 | 1 | -5/+4 | |
| | | | ||||||
| * | | arti: keys: Add comment explaining why `services` cannot be dropped | hjrgrn | 2025-10-08 | 1 | -0/+2 | |
| | | | ||||||
| * | | arti: keys: Add comment explaining difference between `affected_keystores` ↵ | hjrgrn | 2025-10-08 | 1 | -0/+5 | |
| | | | | | | | | | and `keystores` | |||||
| * | | arti: keys: Refactor `get_expired_keys` | hjrgrn | 2025-10-08 | 1 | -9/+6 | |
| | | | | | | | | | The function now returns `Result<Vec<InvalidKeystoreEntry<'a>>>` | |||||
| * | | arti: keys: Add integrity check for empty expired_entries | hjrgrn | 2025-10-08 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | Add a check in `run_check_integrity` to verify that the `expired_entries` collection is empty after processing all registered keystores. This should always be true, as all expired entries are expected to be removed during iteration. If not, it indicates a bug. | |||||
| * | | arti: keys: Introduce InvalidKeystoreEntry and InvalidKeystoreEntries structs | hjrgrn | 2025-10-08 | 1 | -33/+74 | |
| | | | | | | | | | | | Replace raw tuples with named structs to reduce type complexity and improve code clarity and maintainability. | |||||
| * | | arti: keys: Remove `filter` in favor of `retain` in `run_check_integrity` | hjrgrn | 2025-10-08 | 1 | -11/+9 | |
| | | | ||||||
| * | | arti: keys: Add comment explaining expired entry handling in ↵ | hjrgrn | 2025-10-08 | 1 | -0/+2 | |
| | | | | | | | | | `run_check_integrity` | |||||
| * | | arti: keys: Improve `run_check_integrity` function | hjrgrn | 2025-10-08 | 1 | -11/+23 | |
| | | | | | | | | | | | | | - Fix bug where expired keys from one keystore were incorrectly associated with all keystores - Remove unnecessary clone | |||||
| * | | arti: keys: Adapt `maybe_remove_invalid_entries` to updated ↵ | hjrgrn | 2025-10-08 | 1 | -14/+19 | |
| | | | | | | | | | `run_check_integrity` | |||||
| * | | arti: keys: Refactor function `display_invalid_keystore_entries` | hjrgrn | 2025-10-08 | 1 | -32/+40 | |
| | | | | | | | | | | | | | - Add `display_invalid_keystore_entries` helper function `print_check_integrity_incipit` - Add `display_invalid_keystore_entries` comment | |||||
| * | | arti: keys: Implement `display_invalid_keystore_entries` | hjrgrn | 2025-10-08 | 1 | -2/+39 | |
| | | | | | | | | | | | | | Add initial functional implementation of `display_invalid_keystore_entries`, which processes a list of invalid keystore entries grouped by `KeystoreId` and displays them with associated error messages. | |||||
| * | | arti: keys: Refactor `display_invalid_keystore_entries` | hjrgrn | 2025-10-08 | 1 | -35/+38 | |
| | | | | | | | | | | | | | | | | | | | | | Create the skeletal version of the new `display_invalid_keystore_entries` function and adapt `run_check_integrity` to use it. The function now takes a slice of pairs, each containing a `KeystoreId` and a vector of invalid keystore entries along with their error messages, and processes all entries internally by iterating over each keystore, instead of being called once per keystore. | |||||
| * | | arti: keys: Refactor run_check_integrity to use keystores with IDs | hjrgrn | 2025-10-08 | 1 | -28/+37 | |
| |/ | | | | | | | | | Previously, the function worked with a flat `Vec<KeystoreEntryResult<KeystoreEntry>>`. Now, it uses a structured `Vec<(KeystoreId, Vec<KeystoreEntryResult<KeystoreEntry>>)>`, grouping entries by keystore. This makes it easier to track which keystore each entry belongs to, and prepares the code for upcoming improvements. | |||||
| * | Remove "doc_auto_cfg" incantation from all crates. | Nick Mathewson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | This feature has been removed from nightly, in favor of doc_cfg. | |||||
| * | arti: Add skip_all to instrument call. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -1/+1 | |
| | | ||||||
| * | arti: Make panic into error on invalid OTEL endpoint. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -3/+5 | |
| | | ||||||
| * | arti: Add note about OpenTelemetry data model. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | ||||||
| * | arti: Add note about lack of filtering in OpenTelemetry layer. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | ||||||
| * | arti: Add skip_all to instrument macro. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -1/+1 | |
| | | | | | | | It's unlikely these arguments will be particularly useful, and omitting skip_all can have security implications, so it's better to avoid it to reflect good practice. | |||||
| * | arti: Add more detail about OpenTelemetry in example config. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -2/+9 | |
| | | ||||||
| * | opentelemetry: Use humantime_serde for parsing Durations. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | ||||||
| * | opentelemetry: Panic if configured for non-localhost HTTP endpoint. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+8 | |
| | | | | | | | | | | We may want to add a way to opt out of this check, if someone asks for it. Checking for "localhost" and "127.0.0.1" is not a very robust check for a loopback interface, and it's possible that there could be other situations we can't detect where HTTP is safe (private network, WireGuard tunnel, etc). But I don't expect those to be likely to come up in practice, so this should be fine for now. | |||||
| * | arti: Add more info about OpenTelemetry to example config. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -2/+6 | |
| | | ||||||
| * | opentelemetry: Add note about lack of upstream OTLP exporter. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | ||||||
| * | opentelemetry: Panic on mutex poison. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -8/+1 | |
| | | ||||||
| * | opentelemetry: Add some instrument macros. | Wesley Aptekar-Cassels | 2025-09-24 | 3 | -3/+11 | |
| | | | | | | I've added these in places that are useful for the debugging that I've been doing. | |||||
| * | arti: Add experimental support for OpenTelemetry. | Wesley Aptekar-Cassels | 2025-09-24 | 4 | -0/+270 | |
| | | ||||||
| * | tor-dircommon: Implement proposal 330 | Clara Engler | 2025-09-16 | 1 | -5/+4 | |
| | | | | | | | | This commit implements proposal 330 in the context of `tor-dircommon`, by replacing the single `Authority` structure used in a list context by a single structure called `AuthorityContacts` which contains all v3idents, upload, download, and vote endpoints in one central place. | |||||
| * | Merge branch 'hss-ctor-migrate-test' into 'main' | gabi-250 | 2025-09-11 | 1 | -4/+3 | |
| |\ | | | | | | | | | arti: test: Add integration test suite for `hss ctor-migrate` See merge request tpo/core/arti!3216 | |||||
| | * | arti: test: Add integration test for `hss ctor-migrate` | hjrgrn | 2025-09-10 | 1 | -4/+3 | |
| | | | ||||||
| * | | arti-client: Remove wrong statement in example | Clara Engler | 2025-09-09 | 1 | -3/+0 | |
| | | | ||||||
| * | | arti: Update `arti-example-config.toml` | Clara Engler | 2025-09-09 | 1 | -1/+7 | |
| |/ | ||||||
| * | arti: keys: Add `keys check-integrity` CLI tool | hjrgrn | 2025-09-04 | 2 | -18/+221 | |
| | | ||||||
| * | Document why we are using ring with rustls | Nick Mathewson | 2025-08-19 | 1 | -0/+4 | |
| | | | | | See #1977, #2122. | |||||
| * | Merge branch 'circ-react-report' into 'main' | opara | 2025-08-18 | 2 | -0/+112 | |
| |\ | | | | | | | | | | | | | tor-error,arti: Support tracing fields in the `_report!` macros Closes #2096 and #2116 See merge request tpo/core/arti!3142 | |||||
| | * | arti: log errors using `tor_error::ErrorReport` | Steven Engler | 2025-08-18 | 1 | -1/+14 | |
| | | | ||||||
| | * | arti: log error fields last | Steven Engler | 2025-08-18 | 2 | -0/+99 | |
| | | | ||||||
| * | | Merge branch 'document-max-mem-overhead' into 'main' | Nick Mathewson | 2025-08-18 | 1 | -4/+8 | |
| |\ \ | |/ |/| | | | | | Note that not all memory is tracked by memqouta See merge request tpo/core/arti!3165 | |||||
| | * | Add a disclaimer that not all memory usage is tracked | Nick Mathewson | 2025-08-18 | 1 | -0/+3 | |
| | | | | | | | | | Partially addresses #2102. | |||||
| | * | Light reformatting on system.memory documentation. | Nick Mathewson | 2025-08-18 | 1 | -4/+5 | |
| | | | | | | | | | | | This mainly separates the two options, and adds the word "tracked". | |||||
| * | | Merge branch 'fix-nightly-warn' into 'main' | Nick Mathewson | 2025-08-18 | 1 | -1/+1 | |
| |\ \ | |/ |/| | | | | | Fix clippy errors on nightly See merge request tpo/core/arti!3148 | |||||
| | * | clippy: fix `clippy::implicit_clone` errors | Steven Engler | 2025-08-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```text error: implicitly cloning a `String` by calling `to_string` on its dereferenced type --> crates/tor-config/src/lib.rs:109:32 | 109 | V::String(_, s) => s.to_string(), | ^^^^^^^^^^^^^ help: consider using: `s.clone()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone note: the lint level is defined here --> crates/tor-config/src/lib.rs:20:9 | 20 | #![deny(clippy::implicit_clone)] | ^^^^^^^^^^^^^^^^^^^^^^ ``` | |||||
| * | | arti: Add more explanation of pow_rend_queue_depth to example config. | Wesley Aptekar-Cassels | 2025-08-13 | 1 | -1/+3 | |
| | | | ||||||
| * | | tor-hsservice: Add pow_rend_queue_depth config option. | Wesley Aptekar-Cassels | 2025-08-13 | 1 | -0/+7 | |
| | | | ||||||
| * | | arti: keys: Fix `display_keystore_entries` output | hjrgrn | 2025-08-09 | 1 | -0/+1 | |
| |/ | ||||||
| * | Merge branch 'update_to_edition_2024_v2' into 'main' | Nick Mathewson | 2025-08-07 | 9 | -41/+46 | |
| |\ | | | | | | | | | | | | | Update code for Edition 2024 (second attempt) Closes #2101 See merge request tpo/core/arti!3137 | |||||
