| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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.) | |||||
| * | tor-keymgr: Apply cargo fmt. | Gabriela Moldovan | 2024-02-01 | 1 | -1/+0 | |
| | | ||||||
| * | tor-keymgr: Expand the KeyAlreadyExists docs. | Ian Jackson | 2024-02-01 | 1 | -0/+7 | |
| | | ||||||
| * | 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: Add error variant for when a key shouldn't exist. | Gabriela Moldovan | 2024-02-01 | 2 | -0/+6 | |
| | | | | | | | | This will be returned by `KeyMgr::generate` if the key to be generated already exists and `overwrite` is `false`. Part of #1074 | |||||
| * | tor-keymgr: Lowercase the role when building the ArtiPath. | Gabriela Moldovan | 2024-01-31 | 1 | -9/+2 | |
| | | | | | | | | The role is a slug, and slugs are not allowed to contain uppercase characters. Closes #1195 | |||||
| * | tor-persist: Make all Slugs non-empty. | Gabriela Moldovan | 2024-01-31 | 2 | -5/+12 | |
| | | | | | | | | | This also removes a TODO regarding adding a `Nickname` type for representing `HsClientSpecifier` and `HsNickname` (we don't need it if `Slug`s are non-empty). Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1931#note_2990227 | |||||
| * | tor-keymgr: Add roundrip test for HsId -> Slug -> HsId conversion. | Gabriela Moldovan | 2024-01-31 | 1 | -1/+22 | |
| | | | | | This also fixes a bug in `HsId::from_component`. | |||||
| * | tor-keymgr: Allow empty denotators in ArtiPath (fmt). | Gabriela Moldovan | 2024-01-31 | 1 | -8/+2 | |
| | | ||||||
| * | tor-keymgr: Allow empty denotators in ArtiPath. | Gabriela Moldovan | 2024-01-31 | 2 | -11/+7 | |
| | | ||||||
| * | tor-persist: Forbid slugs from starting with a hyphen. | Gabriela Moldovan | 2024-01-31 | 1 | -3/+22 | |
| | | ||||||
| * | tor-keymgr: Add a TODO about removing ValidatedString. | Gabriela Moldovan | 2024-01-31 | 1 | -0/+2 | |
| | | ||||||
| * | tor-keymgr: Remove the Slug tests (fmt). | Gabriela Moldovan | 2024-01-31 | 1 | -4/+1 | |
| | | ||||||
| * | tor-keymgr: Remove the Slug tests. | Gabriela Moldovan | 2024-01-31 | 1 | -34/+0 | |
| | | | | | These tests belong in tor_persist now. | |||||
| * | tor-keymgr: Abolish ArtiPathComponent. | Gabriela Moldovan | 2024-01-31 | 5 | -100/+52 | |
| | | | | | | | `ArtiPathComponent`s are really just `Slugs`. Part of #1193, #1092 | |||||
| * | tor-keymgr: Make ArtiPathComponent a Slug internally (fmt). | Gabriela Moldovan | 2024-01-31 | 2 | -23/+55 | |
| | | ||||||
| * | tor-keymgr: Make ArtiPathComponent a Slug internally. | Gabriela Moldovan | 2024-01-31 | 3 | -104/+70 | |
| | | | | | | | | | | | | | | This will make it easier to replace `ArtiPathComponent` with `Slug` later down the line. Note this changes the syntax rules of `ArtiPathComponent`: * previously `ArtiPathComponent`s could be unicode strings, (now they are lowercase ASCII alphanumerics, plus `-`, `_`) * previously `ArtiPathComponent`s couldn't start with `-` or `_`, but now they can Part of #1193, #1092 | |||||
| * | tor-keymgr: Strip .onion suffix from HsId before building Slug. | Gabriela Moldovan | 2024-01-31 | 1 | -3/+28 | |
| | | | | | | | We are about to replace `ArtiPathComponent` with `Slug`, but `Slug`s don't support `.`, so let's strip the `.onion` suffix before encoding it in the `ArtiPath`. | |||||
| * | tor-keymgr: Use keystore_error_kind() to get the error kind. | Gabriela Moldovan | 2024-01-15 | 2 | -1/+3 | |
| | | | | | Closes #1215 | |||||
