| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-keymgr: s/key/item in error message test. | Gabriela Moldovan | 2024-12-04 | 2 | -2/+2 | |
| | | ||||||
| * | tor-key-forge: s/EncodableKey/EncodableItem in documentation. | Gabriela Moldovan | 2024-12-04 | 1 | -11/+11 | |
| | | ||||||
| * | tor-keymgr: Rename error variant. | Gabriela Moldovan | 2024-12-04 | 3 | -14/+13 | |
| | | ||||||
| * | tor-keymgr: Remove unused KeyType import. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Add KeyMgr::get_or_generate_key_and_cert. | Gabriela Moldovan | 2024-12-04 | 1 | -0/+119 | |
| | | ||||||
| * | tor-keymgr: Add KeyMgr::get_key_and_cert() (fmt). | Gabriela Moldovan | 2024-12-04 | 2 | -6/+11 | |
| | | ||||||
| * | tor-keymgr: Add KeyMgr::get_key_and_cert(). | Gabriela Moldovan | 2024-12-04 | 4 | -3/+98 | |
| | | ||||||
| * | tor-keymgr: Remove no-longer-needed explicit link targets. | Gabriela Moldovan | 2024-12-04 | 1 | -2/+2 | |
| | | | | | | These aren't needed anymore now that `KeySpecifierComponent` is in scope. | |||||
| * | tor-keymgr: Add helper for building certificate ArtiPaths. | Gabriela Moldovan | 2024-12-04 | 3 | -2/+130 | |
| | | | | | This will be used for looking up certificates in the keystore. | |||||
| * | tor-keymgr: Split some logic out of KeyMgr::get_from_store(). | Gabriela Moldovan | 2024-12-04 | 1 | -6/+24 | |
| | | | | | | We're soon going to need the "raw" version of the function (the one that returns the key as `K::Key`). | |||||
| * | tor-keymgr: Add variants for missing cert/signing key errors. | Gabriela Moldovan | 2024-12-04 | 1 | -0/+8 | |
| | | | | | | These will be soon be returned by `KeyMgr::{get_key_and_cert,get_or_generate_key_and_cert}`. | |||||
| * | tor-key-forge: Implement EncodableItem for Tor ed25519 certs. | Gabriela Moldovan | 2024-12-04 | 3 | -5/+20 | |
| | | | | | | This will enable us to store `tor_cert::EncodedEd25519Cert`s in the keystore. | |||||
| * | tor-keymgr: Replace as_ssh_key_data with as_keystore_item (fmt). | Gabriela Moldovan | 2024-12-04 | 4 | -4/+5 | |
| | | ||||||
| * | tor-keymgr: Replace as_ssh_key_data with as_keystore_item. | Gabriela Moldovan | 2024-12-04 | 6 | -39/+42 | |
| | | ||||||
| * | tor-key-forge: Add into_erased impl for KeystoreItem. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+12 | |
| | | | | | This will be used by the `Keystore` implementations. | |||||
| * | tor-key-forge: Replace EncodableItem::key_type() with item_type() (fmt). | Gabriela Moldovan | 2024-12-04 | 1 | -2/+1 | |
| | | ||||||
| * | tor-key-forge: Replace EncodableItem::key_type() with item_type(). | Gabriela Moldovan | 2024-12-04 | 5 | -38/+34 | |
| | | | | | | This function now returns a `KeystoreItemType`, enabling us to represent certs as `EncodableItem`s. | |||||
| * | tor-keymgr: Update docs post-renaming. | Gabriela Moldovan | 2024-12-04 | 1 | -9/+9 | |
| | | ||||||
| * | tor-key-forge: Let declare_item_type macro generate the tests. | Gabriela Moldovan | 2024-12-04 | 1 | -32/+52 | |
| | | | | | | This enables us to auto-generate tests for all the supported key/cert file extensions. | |||||
| * | tor-keymgr: Replace KeyType with KeystoreItemType (fmt). | Gabriela Moldovan | 2024-12-04 | 7 | -21/+70 | |
| | | ||||||
| * | tor-keymgr: Remove now-unused import. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+1 | |
| | | ||||||
| * | tor-key-forge: Remove no longer needed KeyType::Unknown variant. | Gabriela Moldovan | 2024-12-04 | 2 | -42/+3 | |
| | | | | | | Items that have an unrecognized file extension now get mapped to `KeystoreItemType::Unknown`. | |||||
| * | tor-keymgr: Replace KeyType with KeystoreItemType. | Gabriela Moldovan | 2024-12-04 | 9 | -148/+172 | |
| | | | | | | This is part of the work needed to support storing certificates in the keystore (they won't have a `KeyType`, but rather `CertType`). | |||||
| * | tor-key-forge: Export KeystoreItem. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+1 | |
| | | ||||||
| * | tor-key-forge: Rename EncodableKey to EncodableItem. | Gabriela Moldovan | 2024-12-04 | 11 | -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 Moldovan | 2024-12-04 | 1 | -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*). | |||||
| * | tor-key-forge: Add an encodable cert type. | Gabriela Moldovan | 2024-12-04 | 3 | -0/+26 | |
| | | ||||||
| * | tor-key-forge: Add a ToEncodableCert trait. | Gabriela Moldovan | 2024-12-04 | 2 | -1/+50 | |
| | | ||||||
| * | tor-keymgr: Add a KeyCertificateSpecifier trait (fmt). | Gabriela Moldovan | 2024-12-04 | 1 | -3/+2 | |
| | | ||||||
| * | tor-keymgr: Add a KeyCertificateSpecifier trait. | Gabriela Moldovan | 2024-12-04 | 2 | -0/+28 | |
| | | | | | This will be used for defining key certificate specifiers. | |||||
| * | tor-keymgr: Introduce a KeystoreItemType to replace KeyType. | Gabriela Moldovan | 2024-12-04 | 2 | -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. | |||||
| * | Resolve clippy::manual_div_ceil | Nick Mathewson | 2024-12-03 | 1 | -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 Mathewson | 2024-12-03 | 7 | -7/+6 | |
| | | | | | These are new in Rust 1.83. | |||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 61 | -0/+61 | |
| | | | | | | | | | 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. | |||||
| * | Remove semver.md files post-release. | Gabriela Moldovan | 2024-12-02 | 4 | -6/+0 | |
| | | ||||||
| * | equix, hashx: Add Cargo.lock changes. | Gabriela Moldovan | 2024-12-02 | 2 | -3/+3 | |
| | | ||||||
| * | Bump arti crate to 1.3.1 | Gabriela Moldovan | 2024-12-02 | 3 | -3/+3 | |
| | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ``` | |||||
| * | Bump all the unstable tor- and arti- crates to 0.25.0. | Gabriela Moldovan | 2024-12-02 | 49 | -425/+425 | |
| | | | | | | | | | | | 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 Moldovan | 2024-12-02 | 33 | -48/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Moldovan | 2024-12-02 | 2 | -145/+129 | |
| | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ``` | |||||
| * | Fix several Cargo.tomls to satisfy cargo-sort. | Gabriela Moldovan | 2024-12-02 | 3 | -3/+2 | |
| | | ||||||
| * | tor-proto: Make bench an experimental feature. | Gabriela Moldovan | 2024-12-02 | 1 | -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 Moldovan | 2024-12-02 | 8 | -8/+32 | |
| | | ||||||
| * | Run fixup-features in preparation for release. | Gabriela Moldovan | 2024-12-02 | 10 | -9/+11 | |
| | | ||||||
| * | tor-rpc-connect: Bump thiserror to 2. | Gabriela Moldovan | 2024-11-28 | 1 | -1/+1 | |
| | | ||||||
| * | tor-persist: Bump sanitize-filename to 0.6.0. | Gabriela Moldovan | 2024-11-28 | 1 | -1/+1 | |
| | | | | | | | 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 Moldovan | 2024-11-28 | 1 | -1/+1 | |
| | | | | | | 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. | |||||
| * | Merge branch 'remove-pending-on-drop' into 'main' | opara | 2024-11-28 | 4 | -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 expression | Steven Engler | 2024-11-27 | 1 | -23/+15 | |
| | | | | | | | | | This shouldn't be needed anymore now that we use a `Defer`. | |||||
| | * | tor-chanmgr: use `Defer` in `AbstractChanMgr` to handle cancellations | Steven Engler | 2024-11-27 | 1 | -18/+23 | |
| | | | ||||||
