summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'dev/cve/thiserror' into 'main'Ian Jackson2024-11-1259-187/+207
|\ \ | | | | | | | | | | | | Upgrade `thiserror` to `2` See merge request tpo/core/arti!2626
| * | cargo: Update `thiserror` to `2`Clara Engler2024-11-1258-186/+206
| | |
| * | fs-mistrust: Remove outdated thiserror syntaxClara Engler2024-11-121-1/+1
|/ / | | | | | | | | | | This commit removes an outdated syntax in a `thiserror` macro which will be removed in `thiserror` version 2. The change this commit makes is backwards compatible in itself.
* | Merge branch 'remove-debug-panic' into 'main'Alexander Hansen Færøy2024-11-122-7/+1
|\ \ | | | | | | | | | | | | tor-chanmgr: remove panics in debug builds See merge request tpo/core/arti!2625
| * | tor-chanmgr: remove panics in debug buildsSteven Engler2024-11-112-7/+1
| | | | | | | | | | | | | | | | | | These were supposed to fail loudly in debug builds by panicking, but panics are mostly useless for debugging in async applications that use a runtime which catches panics. So we'll just log the error instead.
* | | Merge branch 'remove-deadcode' into 'main'Nick Mathewson2024-11-121-41/+0
|\ \ \ | | | | | | | | | | | | | | | | tor-config-path: remove exploratory code in comment See merge request tpo/core/arti!2610
| * | | tor-config-path: remove exploratory code in commentNick Mathewson2024-11-041-41/+0
| | | | | | | | | | | | | | | | | | | | I meant to remove this after confirming that the current approach works; but apparently I never did.
* | | | Merge branch 'instant-advisory' into 'main'Ian Jackson2024-11-121-0/+8
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | cargo_audit: Temporarily ignore RUSTSEC-2024-0384. See merge request tpo/core/arti!2627
| * | | cargo_audit: Temporarily ignore RUSTSEC-2024-0384.Gabriela Moldovan2024-11-121-0/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | We depend on `instant`, which is unmaintained, via `notify`. `notify` switched over to [`web-time`], but hasn't relased the change yet, so we need to ignore the advisory for now. [`web-time`]: https://github.com/notify-rs/notify/pull/652
* | | Merge branch 'tor-proto_benchmarks' into 'main'gabi-2502024-11-1112-23/+827
|\ \ \ | | | | | | | | | | | | | | | | tor-proto: Add benchmarks for cell encryption and decryption See merge request tpo/core/arti!2608
| * | | tor-proto: change the case of the macrosLionel Goffaux2024-11-082-6/+6
| | | |
| * | | tor-proto: condition benchmarks to the bench featureLionel Goffaux2024-11-061-0/+4
| | | |
| * | | tor-proto: put every bench_utils mod behind the bench featureLionel Goffaux2024-11-064-4/+4
| | | |
| * | | tor-proto: add macro for encryption/decryption bench setupLionel Goffaux2024-11-062-96/+47
| | | |
| * | | tor-proto: use as_nanos for CpuTimeLionel Goffaux2024-11-061-1/+5
| | | |
| * | | tor-proto: change the visibility of the RelayBody inner structLionel Goffaux2024-11-061-1/+1
| | | |
| * | | tor-proto: remove inlines attributesLionel Goffaux2024-11-062-4/+0
| | | |
| * | | tor-proto: add a bench featureLionel Goffaux2024-11-062-0/+2
| | | |
| * | | tor-proto: rename CPUTime to CpuTimeLionel Goffaux2024-11-065-16/+15
| | | |
| * | | tor-proto: Add benchmarks for cell encryption and decryptionLionel Goffaux2024-11-0412-23/+871
| |/ /
* | | Merge branch 'anonticket-link' into 'main'Nick Mathewson2024-11-071-1/+1
|\ \ \ | |_|/ |/| | | | | | | | README: Update anonticket URL. See merge request tpo/core/arti!2622
| * | README: Update anonticket URL.Gabriela Moldovan2024-11-071-1/+1
| | | | | | | | | | | | | | | @ahf tells me anonticket is at https://anonticket.torproject.org/ nowadays.
* | | Merge branch 'bump-chutney' into 'main'Jim Newsome2024-11-066-95/+85
|\ \ \ | | | | | | | | | | | | | | | | CI: simplify chutney installation See merge request tpo/core/arti!2600
| * | | chutney CI: use virtualenvs instead of --break-system-packagesJim Newsome2024-11-061-5/+6
| | | | | | | | | | | | | | | | | | | | This doesn't actually matter much when run in CI, but provides a better example for running locally.
| * | | CI: Use pip to install chutney directly from remote repositoryJim Newsome2024-11-061-19/+9
| | | |
| * | | Replace CHUTNEY_PATH with CHUTNEY_BINJim Newsome2024-11-066-67/+71
| | | | | | | | | | | | | | | | | | | | | | | | We no longer need a path to a checkout of the chutney repository; we just need the chutney binary itself. We still allow this to be set explicitly with CHUTNEY_BIN, but fall back to finding it on the PATH.
| * | | chutney test: reference network as built-in instead of full pathJim Newsome2024-11-064-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes advantage of a feature added in https://gitlab.torproject.org/tpo/core/chutney/-/merge_requests/31. This is a step towards not needing to set CHUTNEY_PATH to point to a chutney repository.
| * | | CI: bump chutney versionJim Newsome2024-11-061-1/+1
|/ / / | | | | | | | | | | | | This will let us simplify chutney installation, which will be done in a follow-up commit.
* | | Merge branch 'rm-python-deps' into 'main'gabi-2502024-11-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | CI python3-checks: Don't install redundant python packages See merge request tpo/core/arti!2618
| * | | CI python3-checks: Don't install redundant python packagesJim Newsome2024-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | We install recent mypy and flake8 packages from pypy below; we don't need to also install from apt.
* | | | Merge branch 'proto-typo' into 'main'Ian Jackson2024-11-061-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-proto: Document RecvWindow::take more accurately. See merge request tpo/core/arti!2611
| * | | tor-proto: Document RecvWindow::take more accurately.Gabriela Moldovan2024-11-041-2/+2
| | | | | | | | | | | | | | | | The docs here seem wrong, so I am updating them.
* | | | Merge branch 'reconfigure-2' into 'main'Nick Mathewson2024-11-063-0/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | arti-client: add comment to `TorClient::reconfigure`, and use `Reconfigure::cannot_change` for `DirMgrConfig::cache_trust` See merge request tpo/core/arti!2620
| * | | tor-dirmgr: don't support changing `DirMgrConfig::cache_trust`Steven Engler2024-11-052-0/+5
| | | | | | | | | | | | | | | | | | | | `DirMgrConfig::update_from_config` uses the old value and not the new value, so it should be reported using `Reconfigure::cannot_change`.
| * | | arti-client: add doc comment to `TorClient::reconfigure`Steven Engler2024-11-051-0/+4
|/ / /
* | | Merge branch 'remove-haskind' into 'main'Ian Jackson2024-11-053-16/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-hscrypto: Abolish the HasKind impl of HsIdParseError. Closes #1483 See merge request tpo/core/arti!2607
| * | | arti-client: Clarify when BadOnionAddress is returned.Gabriela Moldovan2024-11-041-0/+2
| | | | | | | | | | | | | | | | | | | | We only ever return `BadOnionAddress` is we are asked to connect to a .onion address that doesn't parse.
| * | | tor-hscrypto: Abolish the HasKind impl of HsIdParseError.Gabriela Moldovan2024-11-043-16/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Also changes the `ErrorKind` of `BadOnionAddress` to `ForbbiddenStreamTarget`. See context in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045683 Closes #1483
* | | Merge branch 'ci-timing' into 'main'Jim Newsome2024-11-053-22/+92
|\ \ \ | | | | | | | | | | | | | | | | CI: track and expose timing information See merge request tpo/core/arti!2605
| * | | CI: add sections to the rust-recent jobsJim Newsome2024-11-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | This will make it a bit easier to look through the output in the gitlab UI, particularly making it easier to see where time is being spent in these long-running jobs.
| * | | integration-shadow; reorganize slightly and ad better section headingsJim Newsome2024-11-041-9/+7
| | | |
| * | | ci_log_span_fns.sh: make API easier to useJim Newsome2024-11-041-8/+54
| | | |
| * | | Replace maint/ci_log_span with maint/ci_log_span_fns.shJim Newsome2024-11-043-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide functions for starting and ending spans instead of the script doing it itself. The current version of the functions are directly from the gitlab documentation <https://docs.gitlab.com/ee/ci/jobs/job_logs.html#custom-collapsible-sections>. This is currently functionally similar to what was here before, but using functions here will let us make this a bit more convenient, which will be done in a follow-up commit.
| * | | CI: enable timestamps in job log linesJim Newsome2024-11-041-0/+2
| |/ / | | | | | | | | | | | | | | | This will let us more easily see where time is being spent. https://docs.gitlab.com/ee/ci/jobs/job_logs.html#job-log-timestamps
* | | Merge branch 'update-hashbrown' into 'main'Nick Mathewson2024-11-041-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | cargo: update hashbrown version to 0.15.1 Closes #1725 See merge request tpo/core/arti!2613
| * | | cargo: update hashbrown version to 0.15.1Steven Engler2024-11-041-3/+3
| | |/ | |/| | | | | | | Version 0.15.0 was yanked, which makes cargo-audit unhappy.
* | | Merge branch 'cfg-addr' into 'main'Nick Mathewson2024-11-041-2/+2
|\ \ \ | |/ / |/| | | | | | | | tor-config-path: update `unix_literal` test to use `USER_HOME` See merge request tpo/core/arti!2612
| * | tor-config-path: update `unix_literal` test to use `USER_HOME`Steven Engler2024-11-041-2/+2
|/ / | | | | | | I think `USER_HOME` was intended here.
* | Merge branch 'tor-config-path' into 'main'Nick Mathewson2024-11-0423-39/+62
|\ \ | |/ |/| | | | | | | | | tor-config-path: finish migration from tor-config Closes #1717 See merge request tpo/core/arti!2593
| * tor-config: added breaking changes to 'semver.md'Steven Engler2024-11-041-0/+3
| |