summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-key-forge: Export KeystoreItem.Gabriela Moldovan2024-12-041-1/+1
| | |
| * | tor-key-forge: Rename EncodableKey to EncodableItem.Gabriela Moldovan2024-12-0411-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | This is the first step in replacing `EncodableKey` with the new `EncodableItem` trait (see doc/dev/keymgr-certificates.md). (this refactoring is split over multiple commits to make reviewing easier)
| * | tor-key-forge: Add a KeystoreItem type to replace SshKeyData.Gabriela Moldovan2024-12-041-1/+22
| | | | | | | | | | | | | | | | | | | | | The `EncodableKey` trait will soon be extended to support encoding certificates too (in addition to keys), so we need a type to represent an object that is either a key or a certificate (in other words, an encodable *item*).
| * | Cargo.toml: Sort dependencies.Gabriela Moldovan2024-12-041-2/+2
| | | | | | | | | | | | | | | `tor-key-forge` now depends on `tor-cert` so we need to reorder the deps in `Cargo.toml` to satisfy `maint/check_toposort`.
| * | tor-key-forge: Add an encodable cert type.Gabriela Moldovan2024-12-044-0/+27
| | |
| * | tor-key-forge: Add a ToEncodableCert trait.Gabriela Moldovan2024-12-042-1/+50
| | |
| * | tor-keymgr: Add a KeyCertificateSpecifier trait (fmt).Gabriela Moldovan2024-12-041-3/+2
| | |
| * | tor-keymgr: Add a KeyCertificateSpecifier trait.Gabriela Moldovan2024-12-042-0/+28
| | | | | | | | | | | | This will be used for defining key certificate specifiers.
| * | tor-keymgr: Introduce a KeystoreItemType to replace KeyType.Gabriela Moldovan2024-12-042-6/+136
|/ / | | | | | | | | Soon the keystore will be able to store certs too, so we need something other than `KeyType` to represent the "type" of a keystore entry.
* | Merge branch 'dev/cve/fixup-features' into 'main'opara2024-12-032-4/+15
|\ \ | | | | | | | | | | | | | | | | | | maint: Add exclusion feature to `fixup-features` Closes #1766 See merge request tpo/core/arti!2652
| * | maint: Add exclusion feature to `fixup-features`Clara Engler2024-12-032-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds an `--exclude <PREFIX>` argument to the `fixup-features` tool in order to ignore crate paths for crates that we do not publish, mainly those in the `examples/` and `maint/` directory. Fixes #1766
* | | Merge branch '1.83-warnings' into 'main'gabi-2502024-12-0370-8/+70
|\ \ \ | |/ / |/| | | | | | | | Resolve/suppress new clippy warnings in Rust 1.83. See merge request tpo/core/arti!2654
| * | Resolve clippy::manual_div_ceilNick Mathewson2024-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | This warning is new in 1.83. Surprisingly, it only triggered once. div_ceil was added in Rust 1.73, and our MSRV is 1.77, so div_ceil is fine to use.
| * | Resolve clippy::empty_line_after_doc_comments warnings.Nick Mathewson2024-12-037-7/+6
| | | | | | | | | | | | These are new in Rust 1.83.
| * | add_warnings, *: Allow clippy::needless_lifetimesNick Mathewson2024-12-0363-0/+63
|/ / | | | | | | | | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765.
* | Merge branch 'rm-semvers' into 'main'Nick Mathewson2024-12-034-6/+0
|\ \ | | | | | | | | | | | | Remove semver.md files post-release. See merge request tpo/core/arti!2651
| * | Remove semver.md files post-release.Gabriela Moldovan2024-12-024-6/+0
|/ /
* | Merge branch 'arti-1.3.1-bumps' into 'main'arti-v1.3.1gabi-2502024-12-0259-677/+661
|\ \ | | | | | | | | | | | | Version bumps for 1.3.1 See merge request tpo/core/arti!2650
| * | equix, hashx: Add Cargo.lock changes.Gabriela Moldovan2024-12-022-3/+3
| | |
| * | Bump arti crate to 1.3.1Gabriela Moldovan2024-12-024-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
| * | Bump all the unstable tor- and arti- crates to 0.25.0.Gabriela Moldovan2024-12-0250-470/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.25.0 done ```
| * | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2024-12-0234-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error ``` We split them in the following categories: * crates with no changes (no version bumps): ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' oneshot-fused-workaround: No change. test-temp-dir: No change. caret: No change. ``` * crates that only have non-functional changes (bump the patch version): - slotmap-careful - fslock-guard - hashx - equix - fs-mistrust - safelog - retry-error * crates where APIs were broken (bump minor): None The bumps from this commit were created using this script: ``` PATCH=" slotmap-careful fslock-guard hashx equix fs-mistrust safelog retry-error " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done ```
| * | Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2024-12-022-145/+129
|/ / | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
* | Merge branch 'changelog-1.3.1' into 'main'gabi-2502024-12-021-0/+186
|\ \ | | | | | | | | | | | | Changelog for 1.3.1. See merge request tpo/core/arti!2649
| * | CHANGELOG: Add missing link to issue.Gabriela Moldovan2024-12-021-1/+2
| | |
| * | CHANGELOG: Rephrase changelog entry for clarity.Gabriela Moldovan2024-12-021-2/+2
| | |
| * | CHANGELOG: Add missing links.Gabriela Moldovan2024-12-021-0/+6
| | |
| * | CHANGELOG: Remove unnecessary links.Gabriela Moldovan2024-12-021-2/+2
| | |
| * | CHANGELOG: Note some more breaking changes.Gabriela Moldovan2024-12-021-0/+6
| | | | | | | | | | | | These were spotted by `cargo-semver-checks`.
| * | Initial changelog for 1.3.1.Gabriela Moldovan2024-12-021-0/+173
|/ / | | | | | | | | I tried to write this changelog according to the new guidelines from arti!2616.
* | Merge branch 'fixup-features' into 'main'gabi-2502024-12-0210-7/+31
|\ \ | | | | | | | | | | | | Run fixup-features in preparation for release See merge request tpo/core/arti!2648
| * | Fix several Cargo.tomls to satisfy cargo-sort.Gabriela Moldovan2024-12-023-3/+2
| | |
| * | tor-proto: Make bench an experimental feature.Gabriela Moldovan2024-12-021-3/+2
| | | | | | | | | | | | | | | The `bench` feature is only needed for running the benchmarks, and so it's not covered by semver (much like the `testing` feature).
| * | Run fixup-features in preparation for release (fmt).Gabriela Moldovan2024-12-028-8/+32
| | |
| * | Run fixup-features in preparation for release.Gabriela Moldovan2024-12-0210-9/+11
|/ /
* | Merge branch 'cargo-update' into 'main'gabi-2502024-11-285-304/+534
|\ \ | | | | | | | | | | | | Run cargo update in preparation for 1.3.1 release. See merge request tpo/core/arti!2647
| * | Run cargo update post-bumps.Gabriela Moldovan2024-11-281-3/+3
| | |
| * | tor-rpc-connect: Bump thiserror to 2.Gabriela Moldovan2024-11-282-2/+2
| | |
| * | tor-persist: Bump sanitize-filename to 0.6.0.Gabriela Moldovan2024-11-282-4/+3
| | | | | | | | | | | | | | | | | | I couldn't find a changelog, but judging from the commit history, it looks like they've bumped their regex dep, updated their MSRV to 1.70, replaced lazy_static with OnceLock internally.
| * | tor-netdoc: Bump tinystr to 0.8.0.Gabriela Moldovan2024-11-282-6/+15
| | | | | | | | | | | | | | | According to the changelog, moving from 0.7.6 to 0.8.0 we get some new constructors and breaking changes to various "general" APIs.
| * | maint/check_licenses: Add unicode-ident license to recognized list.Gabriela Moldovan2024-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | `unicode-ident` recently changed their [license] from "(MIT OR Apache-2.0) AND Unicode-DFS-2016" to "(MIT OR Apache-2.0) AND Unicode-3.0". [license]: https://github.com/dtolnay/unicode-ident/commit/36cccb825aef6f334cfb57afc82a728c3d2d652f
| * | Run cargo update in preparation for 1.3.1 release.Gabriela Moldovan2024-11-281-294/+514
|/ /
* | Merge branch 'remove-pending-on-drop' into 'main'opara2024-11-284-38/+114
|\ \ | | | | | | | | | | | | | | | | | | tor-chanmgr: fix `get_or_launch` cancellation safety using deferred closure Closes #1716 See merge request tpo/core/arti!2646
| * | tor-chanmgr: remove immediately awaited async block expressionSteven Engler2024-11-271-23/+15
| | | | | | | | | | | | This shouldn't be needed anymore now that we use a `Defer`.
| * | tor-chanmgr: use `Defer` in `AbstractChanMgr` to handle cancellationsSteven Engler2024-11-271-18/+23
| | |
| * | tor-chanmgr: add `util::defer` moduleSteven Engler2024-11-273-0/+79
| | | | | | | | | | | | | | | This contains the `Defer` type, which can be used to defer a closure until the `Defer` is dropped.
* | | Merge branch 'hs-pow-feature-flag-consolidation' into 'main'gabi-2502024-11-2718-55/+34
|\ \ \ | |/ / |/| | | | | | | | PoW: Consolidate feature flags into a single flag. See merge request tpo/core/arti!2642
| * | PoW: Consolidate feature flags into a single flag.Wesley Aptekar-Cassels2024-11-2518-55/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the hs-pow, hs-pow-full, hs-pow-v1, pow-v1, and pow-full features with a single hs-pow-full feature. It's possible that in the future we will want to split different schemes into different features, but we can do that when it comes up. For now, having this as a single flag makes it clearer what's going on, since the previous thing was not actually expressive enough to capture some things we care about (like "at least one pow scheme is enabled" that works in a future-compatible way). This change is not semver breaking since it's a experimental feature. Related: #1751
* | | Merge branch 'cell-lifecycle' into 'main'gabi-2502024-11-263-2/+325
|\ \ \ | |/ / |/| | | | | | | | | | | | | | doc/dev/notes: cell-lifecycle: Describe the current state of things. Closes #1747 See merge request tpo/core/arti!2637
| * | doc/dev/notes: cell-lifecycle: Say that stream management details are elided.Gabriela Moldovan2024-11-211-0/+4
| | |