| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Switch to derive-deftly | Ian Jackson | 2024-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the combination of a number of separate commits, many of which were generated by seddery, and then rebased and squashed. Cargo.toml perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml (not regenerated during rebase) update Cargo.lock `cargo fetch` without --locked (regenerated during rebase) seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}' (not regenerated during rebase) Manually add `#[derive_deftly_adhoc]` where needed. seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}' (not regenerated during rebase) Manually fix up an import Manually update some builder attrs Manually fix up tor_rtmock::time_core This was missed in my seddery, due to me rebasing the branch and not redoing the seddery. | ||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 1 | -3/+3 |
| | | |||||
| * | tor-keymgr: Make the &KeystoreId getter `as_copy`. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+4 |
| | | |||||
| * | tor-keymgr: Test that KeyMgr::list_matching returns the right descriptors. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+16 |
| | | |||||
| * | tor-keymgr: Test KeyMgr::{get_entry, remove_entry}. | Gabriela Moldovan | 2024-02-19 | 1 | -0/+27 |
| | | |||||
| * | tor-keymgr: Remove a TODO. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+0 |
| | | | | | | I am not so sure it makes sense to unify these functions, so let's remove the TODO. | ||||
| * | tor-keymgr: Remove outdated reference to KeyMgr::get_with_type. | Gabriela Moldovan | 2024-02-19 | 1 | -1/+1 |
| | | |||||
| * | tor-keymgr: Replace KeyMgr::get_with_type with KeyMgr::get_entry (fmt). | Gabriela Moldovan | 2024-02-19 | 1 | -4/+1 |
| | | |||||
| * | tor-keymgr: Replace KeyMgr::get_with_type with KeyMgr::get_entry. | Gabriela Moldovan | 2024-02-19 | 1 | -8/+8 |
| | | | | | Part of #1271 | ||||
| * | tor-keymgr: Rename KeyMgr::remove_with_type to KeyMgr::remove_entry. | Gabriela Moldovan | 2024-02-19 | 1 | -6/+11 |
| | | | | | Part of #1271 | ||||
| * | tor-keymgr: Make KeyMgr::remove_with_type take a KeystoreEntry (fmt). | Gabriela Moldovan | 2024-02-19 | 1 | -4/+1 |
| | | |||||
| * | tor-keymgr: Make KeyMgr::remove_with_type take a KeystoreEntry. | Gabriela Moldovan | 2024-02-19 | 1 | -5/+3 |
| | | | | | | | | NB: `KeyMgr::remove_with_type` will need to be renamed to `KeyMgr::remove_entry`. Part of #1271 | ||||
| * | tor-keymgr: Make KeyMgr::list_matching return `KeystoreEntry`s. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+7 |
| | | | | | Part of #1271 | ||||
| * | tor-keymgr: Add KeystoreEntry. | Gabriela Moldovan | 2024-02-19 | 1 | -0/+17 |
| | | | | | | | | | | | This type will soon replace `(KeyPath, KeyType)` in `KeyMgr::list_matching`. The KeystoreEntry documentation mentions a couple of functions that don't exist right now (they will be added in a subsequent commit). Part of #1271 | ||||
| * | tor-keymgr: Make KeyMgr::remove return the removed key (fmt). | Gabriela Moldovan | 2024-02-05 | 1 | -24/+28 |
| | | |||||
| * | tor-keymgr: Make KeyMgr::remove return the removed key. | Gabriela Moldovan | 2024-02-05 | 1 | -5/+9 |
| | | | | | Part of #1115 | ||||
| * | tor-keymgr: Make KeyMgr::insert return the old key. | Gabriela Moldovan | 2024-02-05 | 1 | -9/+18 |
| | | | | | Part of #1115 | ||||
| * | tor-keymgr: Remove a TODO about get_from_store(). | Gabriela Moldovan | 2024-02-05 | 1 | -3/+1 |
| | | | | | | | Bailing on the first inaccessible keystore is correct. Part of #1115 | ||||
| * | tor-keymgr: Rename KeyInfoExtractor to KeyPathInfoExtractor (fmt). | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 |
| | | |||||
| * | tor-keymgr: Rename KeyInfoExtractor to KeyPathInfoExtractor. | Gabriela Moldovan | 2024-02-05 | 1 | -6/+6 |
| | | | | | | | This trait extracts a `KeyPathInfo`, not a `KeyInfo`. Part of #1115 | ||||
| * | tor-keymgr: Fix two docs links | Ian Jackson | 2024-02-05 | 1 | -1/+1 |
| | | | | | (These were broken by recent MRs so don't need a CHANGELOG update in !1950.) | ||||
| * | tor-keymgr: Apply cargo fmt. | Gabriela Moldovan | 2024-02-01 | 1 | -1/+0 |
| | | |||||
| * | tor-keymgr: Abolish get_or_generate_with_derived. | Gabriela Moldovan | 2024-02-01 | 1 | -58/+1 |
| | | |||||
| * | tor-keymgr: Rewrite get_or_generate() using of get() and generate(). | Gabriela Moldovan | 2024-02-01 | 1 | -6/+15 |
| | | | | | | We are about to remove `KeyMgr::get_or_generate_with_derived`, so this rewrites `KeyMgr::get_or_generate` without using it. | ||||
| * | tor-keymgr: Abolish KeyMgr::generate_with_derived. | Gabriela Moldovan | 2024-02-01 | 1 | -155/+24 |
| | | |||||
| * | tor-keymgr: Make KeyMgr::generate return the generated key. | Gabriela Moldovan | 2024-02-01 | 1 | -4/+12 |
| | | | | | | | | `KeyMgr::generate` is now quite similar to `KeyMgr::get_or_generate`, so we will soon remove the latter. Part of #1074 | ||||
| * | tor-keymgr: Turn some TODO HSS into #1194. | Gabriela Moldovan | 2024-01-10 | 1 | -2/+2 |
| | | |||||
| * | tor-keymgr: Turn some TODOs into #1115. | Gabriela Moldovan | 2024-01-10 | 1 | -2/+2 |
| | | |||||
| * | tor-keymgr: Turn some TODOs into #1119. | Gabriela Moldovan | 2024-01-10 | 1 | -2/+2 |
| | | |||||
| * | tor-keymgr: Downgrade some TODO HSS. | Gabriela Moldovan | 2024-01-10 | 1 | -4/+4 |
| | | |||||
| * | KeySpecifier d-a macro: rename from KeySpecifierDefault | Ian Jackson | 2024-01-03 | 1 | -1/+1 |
| | | | | | arti#1151 item 1. | ||||
| * | tor-keymgr: Fix some docs warnings | Ian Jackson | 2023-12-06 | 1 | -3/+4 |
| | | | | | | Fixes cargo doc --locked --workspace --all-features --document-private-items | ||||
| * | tor-keymgr: Add a cross-reference to register_key_info_extractor. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+4 |
| | | |||||
| * | tor-keymgr: Add KeyMgr::remove_with_type. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+18 |
| | | | | | | Sometimes we need to remove a key without knowing its concrete (Rust) type (only its `KeySpecifier` and `KeyType`). | ||||
| * | tor-keymgr: Add a function for describing a KeyPath. | Gabriela Moldovan | 2023-12-05 | 1 | -2/+17 |
| | | |||||
| * | tor-keymgr: Add a way of registering key info extractors using inventory. | Gabriela Moldovan | 2023-12-05 | 1 | -3/+26 |
| | | |||||
| * | tor-keymgr: Write some KeyMgrBuilder functions by hand. | Gabriela Moldovan | 2023-11-28 | 1 | -16/+57 |
| | | | | | | | | Eventually these will need to be auto-generated, but that is not possible right now. Context: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1760#note_2969841 | ||||
| * | tor-keymgr: Abolish KeyMgr::new. | Gabriela Moldovan | 2023-11-27 | 1 | -13/+0 |
| | | | | | We don't use this now that we have a `KeyMgrBuilder`. | ||||
| * | tor-keymgr: Derive Builder for KeyMgr (fmt). | Gabriela Moldovan | 2023-11-27 | 1 | -8/+11 |
| | | |||||
| * | tor-keymgr: Derive Builder for KeyMgr. | Gabriela Moldovan | 2023-11-27 | 1 | -32/+36 |
| | | | | | | | | `KeyMgr` is soon going to have more fields, so now is a good time to derive `Builder` for it. Closes #1114 | ||||
| * | tor-keymgr: Apply review suggestions to various doc comments. | Gabriela Moldovan | 2023-11-20 | 1 | -1/+2 |
| | | |||||
| * | tor-keymgr: Add missing backticks. | Gabriela Moldovan | 2023-11-13 | 1 | -2/+2 |
| | | |||||
| * | tor-keymgr: Move module-level docs to KeyMgr. | Gabriela Moldovan | 2023-11-13 | 1 | -13/+13 |
| | | | | | The module is private so it won't show up in the public docs. | ||||
| * | tor-keymgr: Clarify how the default/secondary stores are used. | Gabriela Moldovan | 2023-11-13 | 1 | -2/+25 |
| | | |||||
| * | tor-keymgr: Abolish KeyPathPatternSet. | Gabriela Moldovan | 2023-11-13 | 1 | -3/+3 |
| | | | | | | | We don't really need it. Closes #1066 | ||||
| * | tor-keymgr: Remove derive_meta arg from KeyMgr::list_matching (fmt). | Gabriela Moldovan | 2023-11-02 | 1 | -9/+4 |
| | | |||||
| * | tor-keymgr: Remove derive_meta arg from KeyMgr::list_matching. | Gabriela Moldovan | 2023-11-02 | 1 | -18/+8 |
| | | | | | | This addresses the TODO that resulted from this thread https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1677#note_2955700 | ||||
| * | tor-keymgr: Rename key_stores to secondary_stores for clarity. | Gabriela Moldovan | 2023-10-24 | 1 | -8/+8 |
| | | | | | | | The name `key_stores` was a bit misleading, as this field only contains the _secondary_ key stores (the primary/default key store is stored in a separate field). | ||||
| * | tor-keymgr: list() should include the keys from the default key store. | Gabriela Moldovan | 2023-10-24 | 1 | -2/+1 |
| | | | | | | `KeyMgr::list()` was supposed to look in _all_ key stores, not just the secondary ones. | ||||
