summaryrefslogtreecommitdiff
path: root/crates/arti
Commit message (Collapse)AuthorAgeFilesLines
* release: Bump versions.Wesley Aptekar-Cassels2025-10-021-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we've updated our MSRV, we must bump the minor version for every package. This was done as follows: cargo set-version -p arti 1.6.0 cargo set-version -p oneshot-fused-workaround 0.4.0 cargo set-version -p slotmap-careful 0.4.0 cargo set-version -p test-temp-dir 0.5.0 cargo set-version -p fslock-guard 0.4.0 cargo set-version -p hashx 0.5.0 cargo set-version -p equix 0.4.0 cargo set-version -p caret 0.7.0 cargo set-version -p fs-mistrust 0.12.0 cargo set-version -p safelog 0.6.0 cargo set-version -p retry-error 0.8.0 xargs -I P <<END cargo set-version -p P 0.35.0 tor-basic-utils tor-error tor-general-addr tor-geoip tor-rtcompat tor-rtmock tor-async-utils tor-config tor-config-path tor-rpc-connect tor-log-ratelim tor-rpcbase tor-memquota tor-units tor-llcrypto tor-bytes tor-protover tor-checkable tor-cert tor-key-forge tor-hscrypto tor-socksproto tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-persist tor-keymgr tor-chanmgr tor-ptmgr tor-dircommon tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-dirserver tor-hsclient tor-hsservice tor-hsrproxy tor-relay-crypto arti-client arti-relay arti-rpcserver arti-ureq arti-rpc-client-core END
* release: Run fixup-features.Wesley Aptekar-Cassels2025-10-011-2/+1
|
* Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-291-1/+1
| | | | This feature has been removed from nightly, in favor of doc_cfg.
* arti: Add skip_all to instrument call.Wesley Aptekar-Cassels2025-09-241-1/+1
|
* arti: Make panic into error on invalid OTEL endpoint.Wesley Aptekar-Cassels2025-09-241-3/+5
|
* arti: Add note about OpenTelemetry data model.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* arti: Add note about lack of filtering in OpenTelemetry layer.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* arti: Add skip_all to instrument macro.Wesley Aptekar-Cassels2025-09-241-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-Cassels2025-09-241-2/+9
|
* opentelemetry: Use humantime_serde for parsing Durations.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* opentelemetry: Panic if configured for non-localhost HTTP endpoint.Wesley Aptekar-Cassels2025-09-241-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-Cassels2025-09-241-2/+6
|
* opentelemetry: Add note about lack of upstream OTLP exporter.Wesley Aptekar-Cassels2025-09-241-0/+3
|
* opentelemetry: Panic on mutex poison.Wesley Aptekar-Cassels2025-09-241-8/+1
|
* opentelemetry: Add some instrument macros.Wesley Aptekar-Cassels2025-09-243-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-Cassels2025-09-245-0/+281
|
* tor-dircommon: Implement proposal 330Clara Engler2025-09-161-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-2502025-09-1125-34/+641
|\ | | | | | | | | 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`hjrgrn2025-09-1025-34/+641
| |
* | Merge branch 'dircommon-cfg' into 'main'Clara Engler2025-09-111-1/+4
|\ \ | |/ |/| | | | | Move `tor-dirmgr` configuration primitives to `tor-dircommon` See merge request tpo/core/arti!3238
| * arti-client: Remove wrong statement in exampleClara Engler2025-09-091-3/+0
| |
| * arti: Update `arti-example-config.toml`Clara Engler2025-09-091-1/+7
| |
* | Bump MSRV from 1.85 to 1.85.1Nick Mathewson2025-09-091-1/+1
|/ | | | Closes #2107
* arti: keys: Add `keys check-integrity` CLI toolhjrgrn2025-09-047-22/+265
|
* Merge branch 'rustsec-2025-0055' into 'main'Nick Mathewson2025-09-021-1/+1
|\ | | | | | | | | Require tracing-subscriber 0.3.20 See merge request tpo/core/arti!3221
| * Require tracing-subscriber 0.3.20Nick Mathewson2025-09-021-1/+1
| | | | | | | | Fixes RUSTSEC-2025-0055.
* | Merge branch '2144-fix-keys-test' into 'main'David Goulet2025-09-022-2/+2
|\ \ | |/ |/| | | | | | | | | arti: test: Fix `keys` integration test Closes #2144 See merge request tpo/core/arti!3209
| * arti: test: Fix `keys` integration testhjrgrn2025-08-282-2/+2
| | | | | | | | The `keys` integration test now accounts for case-insensitive filesystems
* | Update to derive-deftly 1.3.0Ian Jackson2025-09-021-1/+1
| |
* | Increment arti version to 1.5.0Nick Mathewson2025-08-281-1/+1
| | | | | | | | | | We've promised in our README not to bump MSRV in patchlevel releases. So now this is 1.5.0.
* | Bump the minor version of every published crate except for `arti`.Nick Mathewson2025-08-281-24/+24
|/ | | | | | | | Per policy, we bump the minor version of every tor-*, arti-* crate on each release. We have updated our MSRV, so we're treating this as a breaking change for our non-(arti/tor)-prefixed crates too.
* Merge branch 'toml' into 'main'David Goulet2025-08-261-18/+7
|\ | | | | | | | | arti: Simplify the `create_state_dir_entry` test helper See merge request tpo/core/arti!3178
| * arti: simplify the `create_state_dir_entry` test helperSteven Engler2025-08-251-18/+7
| |
* | tor-hscrypto: change redacted `HsId` from "???" to "[…]"Steven Engler2025-08-251-1/+1
|/ | | | | | | | | | | | | | Before: ```text INFO tor_hsservice: Generated a new identity for service bar: ???mad.onion ``` After: ```text INFO tor_hsservice: Generated a new identity for service foo: […]2qd.onion ```
* arti: test: Add note in `KeysListCmd::create_state_dir_entry`hjrgrn2025-08-251-0/+2
|
* arti: test: Add integration test suite for `arti keys`hjrgrn2025-08-2512-1/+384
| | | | | | | | | - Add `cli_tests/keys/util.rs` and `cli_tests/keys.rs` - Update `cli_tests/main.rs` and `testcases/keys/conf/keys.toml` - Add `ctor-keystore` directory to `keys` `local` directory - Restructure `keys` `local` directory layout - .editorconfig: Add exception for `ctor-keystore`s
* Merge branch 'rustls-disclaimer' into 'main'opara2025-08-251-3/+1
|\ | | | | | | | | docs: Remove outdated comments about rustls/ring license See merge request tpo/core/arti!3176
| * docs: remove outdated comments about rustls/ring licenseSteven Engler2025-08-211-3/+1
| |
* | Merge branch 'toml-0.9.5' into 'main'Nick Mathewson2025-08-231-1/+1
|\ \ | |/ |/| | | | | | | | | Upgrade to toml-0.9.5. Closes #2093 See merge request tpo/core/arti!3163
| * Upgrade to toml-0.9.5.Nick Mathewson2025-08-181-1/+1
| | | | | | | | Closes #2093.
* | Document why we are using ring with rustlsNick Mathewson2025-08-191-0/+4
| | | | | | | | See #1977, #2122.
* | Merge branch 'circ-react-report' into 'main'opara2025-08-182-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 Engler2025-08-181-1/+14
| | |
| * | arti: log error fields lastSteven Engler2025-08-182-0/+99
| | |
* | | Merge branch 'document-max-mem-overhead' into 'main'Nick Mathewson2025-08-181-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 trackedNick Mathewson2025-08-181-0/+3
| | | | | | | | | | | | Partially addresses #2102.
| * | Light reformatting on system.memory documentation.Nick Mathewson2025-08-181-4/+5
| |/ | | | | | | | | This mainly separates the two options, and adds the word "tracked".
* | Merge branch 'fix-nightly-warn' into 'main'Nick Mathewson2025-08-181-1/+1
|\ \ | |/ |/| | | | | Fix clippy errors on nightly See merge request tpo/core/arti!3148
| * clippy: fix `clippy::implicit_clone` errorsSteven Engler2025-08-111-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-Cassels2025-08-131-1/+3
| |