| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | arti, arti-client, tor-keymgr: Remove keystore dir configuration. | Gabriela Moldovan | 2024-02-21 | 2 | -42/+1 | |
| |/ | | | | Closes #1202 | |||||
| * | tor-keymgr: Pick a better name for error variable. | Ian Jackson | 2024-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Add more context to errors returned from HsId::from_slug. | Gabriela Moldovan | 2024-02-19 | 1 | -5/+4 | |
| | | | | | | `InvalidKeyPathComponentValue::Slug` now has to wrap a `String`, because we can't get `HsIdParse` errors as static strings. | |||||
| * | tor-keymgr: Add more context to InvalidKeyPathComponentValue errors (fmt). | Gabriela Moldovan | 2024-02-19 | 1 | -5/+11 | |
| | | ||||||
| * | tor-keymgr: Add more context to InvalidKeyPathComponentValue errors. | Gabriela Moldovan | 2024-02-19 | 1 | -9/+7 | |
| | | ||||||
| * | tor-keymgr: Document what context to add to invalid slug errors. | Gabriela Moldovan | 2024-02-19 | 1 | -0/+7 | |
| | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1960#note_2994317 | |||||
| * | tor-keymgr: Downgrade a documentation TODO. | Gabriela Moldovan | 2024-02-19 | 1 | -1/+1 | |
| | | | | | | The tor-keymgr crate *is* documented, but could use a better README and some examples and/or usage guides. | |||||
| * | tor-keymgr: Reword the README. | Gabriela Moldovan | 2024-02-19 | 1 | -24/+30 | |
| | | | | | | | This rewords the docs for clarity. Part of #1115 | |||||
| * | tor-keymgr: Remove vestigial comment. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+0 | |
| | | | | | This removes a remnant of a now-gone TODO. | |||||
| * | tor-keymgr: Make InvalidKeyPathComponentValue public. | Gabriela Moldovan | 2024-02-19 | 2 | -3/+5 | |
| | | | | | | It appears within the public API (it is the error type returned from `KeySpecifierComponent`), so let's make it public. | |||||
| * | tor-keymgr: Make InvalidKeyPathComponentValue an enum. | Gabriela Moldovan | 2024-02-19 | 1 | -11/+20 | |
| | | | | | | | | | | Previously, `InvalidKeyPathComponentValue` was a single error type, with the error message hard-coded to "invalid key denotator". This was wrong, because this error is used for other types of invalid components too (not just for invalid denotators). Part of #1115 | |||||
| * | tor-keymgr: Add a note about KeyPathError. | Gabriela Moldovan | 2024-02-19 | 1 | -0/+10 | |
| | | ||||||
| * | tor-keymgr: Include the ArtiPath in PatternNotMatched. | Gabriela Moldovan | 2024-02-19 | 2 | -6/+3 | |
| | | | | | | | | All `KeyPathError` variants now include the `ArtiPath` that caused the error. Part of #1115 | |||||
| * | tor-keymgr: Include ArtiPath in InvalidArtiPath (fmt). | Gabriela Moldovan | 2024-02-19 | 1 | -3/+13 | |
| | | ||||||
| * | tor-keymgr: Include ArtiPath in InvalidArtiPath. | Gabriela Moldovan | 2024-02-19 | 2 | -3/+10 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Include the ArtiPath in InvalidKeyPathComponentValue. | Gabriela Moldovan | 2024-02-19 | 3 | -4/+9 | |
| | | | | | | | The offending `ArtiPath` should be included in the error. Part of #1115 | |||||
| * | tor-keymgr: Rename {to,from}_component to {to,from}_slug. | Gabriela Moldovan | 2024-02-19 | 4 | -21/+22 | |
| | | | | | | | | | | Originally, these functions converted to and from `ArtiPathComponent`. In !1931, we replaced `ArtiPathComponent` with `Slug` without renaming the conversion functions. Since we're converting to and from `Slug` now, I think it makes sense to rename them too. Part of #1115 | |||||
| * | 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 | 2 | -8/+10 | |
| | | | | | Part of #1271 | |||||
| * | tor-keymgr: Rename KeyMgr::remove_with_type to KeyMgr::remove_entry. | Gabriela Moldovan | 2024-02-19 | 2 | -7/+13 | |
| | | | | | 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 | 2 | -5/+4 | |
| | | | | | | | | NB: `KeyMgr::remove_with_type` will need to be renamed to `KeyMgr::remove_entry`. Part of #1271 | |||||
| * | tor-keymgr: Derive From for KeystoreSelector. | Gabriela Moldovan | 2024-02-19 | 1 | -2/+2 | |
| | | | | | We will soon use this in `KeyMgr`. | |||||
| * | tor-keymgr: Make KeyMgr::list_matching return `KeystoreEntry`s. | Gabriela Moldovan | 2024-02-19 | 2 | -2/+8 | |
| | | | | | Part of #1271 | |||||
| * | tor-keymgr: Add KeystoreEntry. | Gabriela Moldovan | 2024-02-19 | 3 | -1/+19 | |
| | | | | | | | | | | | 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: Downgrade a TODO to a Note. | Gabriela Moldovan | 2024-02-05 | 1 | -3/+3 | |
| | | | | | | | | I don't think we need to do this right now, so I am downgrading this TODO. Part of #1115 | |||||
| * | 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 | 3 | -6/+11 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Remove a TODO about rewriting KeyType. | Gabriela Moldovan | 2024-02-05 | 1 | -8/+0 | |
| | | | | | | | Not all algorithms have exactly 2 variants (`Public` and `Keypair`). For example, for `ed25519`, we need `Public`, `Keypair`, and `ExpandedKeypair`. | |||||
| * | tor-keymgr: Downgrade a TODO from a test. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Downgrade a TODO about the KeyType API. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | | | | | | | The `KeySpecifier` argument isn't needed yet, so let's defer this for now. Part of #1115 | |||||
| * | tor-keymgr: Downgrade a TODO about the dummy API. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Make KeyMgr::insert return the old key. | Gabriela Moldovan | 2024-02-05 | 3 | -10/+20 | |
| | | | | | 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 | 2 | -3/+3 | |
| | | ||||||
| * | tor-keymgr: Rename KeyInfoExtractor to KeyPathInfoExtractor. | Gabriela Moldovan | 2024-02-05 | 6 | -18/+20 | |
| | | | | | | | This trait extracts a `KeyPathInfo`, not a `KeyInfo`. Part of #1115 | |||||
| * | tor-keymgr: Derive getters for KeyPathInfo. | Gabriela Moldovan | 2024-02-05 | 3 | -3/+3 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Remove a TODO about renaming Keystore. | Gabriela Moldovan | 2024-02-05 | 1 | -4/+0 | |
| | | | | | | | I think the current naming is fine. Part of #1115 | |||||
| * | Merge branch 'delete-semvers' into 'main' | Ian Jackson | 2024-02-05 | 1 | -4/+0 | |
| |\ | | | | | | | | | Remove all semver.md files to start a fresh release round See merge request tpo/core/arti!1957 | |||||
| | * | Remove all semver.md files to start a fresh release round | Ian Jackson | 2024-02-05 | 1 | -4/+0 | |
| | | | ||||||
| * | | Bump patch versions *with* dependency update | Ian Jackson | 2024-02-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | This crate has had new features added. It's 0.x. So bump in-tree dependencies' references: fs-mistrust | |||||
| * | | Bump minor versions | Ian Jackson | 2024-02-05 | 1 | -4/+4 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump the minor version of these crates, and update the in-tree dependencies. Recently published as fresh crates, let's just assume there are breaking changes: fslock-guard test-temp-dir Breaking API change affecting many many downstream crates: tor-rtcompat Downstream crates which we're (conservatively) assuming have tor-rtcompat types in their APIs: tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-congestion tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-bench arti-testing | |||||
| * | Merge branch 'feat' into 'main' | Ian Jackson | 2024-02-05 | 1 | -1/+1 | |
| |\ | | | | | | | | | Run maint/fixup-features See merge request tpo/core/arti!1954 | |||||
| | * | Run maint/fixup-features | Ian Jackson | 2024-02-05 | 1 | -1/+1 | |
| | | | | | | | | | Discard hunks in examples/ | |||||
| * | | tor-keymgr: Fix two docs links | Ian Jackson | 2024-02-05 | 2 | -2/+2 | |
| |/ | | | | (These were broken by recent MRs so don't need a CHANGELOG update in !1950.) | |||||
