| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-keymgr: Remove now-outdated TODOs. | Gabriela Moldovan | 2023-11-02 | 1 | -4/+0 | |
| | | ||||||
| * | tor-keymgr: Rename KeyDenotator::display() to KeyDenotator::encode(). | Gabriela Moldovan | 2023-11-02 | 1 | -5/+5 | |
| | | | | | | This renames the serialization function to `encode()` for consistency with its `KeyDenotator::decode()` counterpart. | |||||
| * | tor-keymgr: Add KeyDenotator::decode for decoding key denotators. | Gabriela Moldovan | 2023-11-02 | 1 | -0/+38 | |
| | | | | | | | | `KeyDenotator::decode` will soon replace the ad-hoc `TimePeriod` parsing logic from ipt_establish.rs. Part of #1070 | |||||
| * | tor-keymgr: Remove unnecessary KeyDenotator impl. | Gabriela Moldovan | 2023-11-02 | 1 | -10/+0 | |
| | | ||||||
| * | 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 | |||||
| * | Merge branch 'abolish-svc-key-role' into 'main' | gabi-250 | 2023-10-31 | 2 | -2/+391 | |
| |\ | | | | | | | | | | | | | tor-keymgr: Add macros for defining key specifiers. Closes #1069 See merge request tpo/core/arti!1710 | |||||
| | * | tor-keymgr: Add TODO HSS about using derive-dhoc. | Gabriela Moldovan | 2023-10-31 | 1 | -0/+3 | |
| | | | ||||||
| | * | tor-keymgr: Add tests for define_key_specifier!. | Gabriela Moldovan | 2023-10-30 | 1 | -0/+106 | |
| | | | ||||||
| | * | tor-keymgr: Add macro for defining key specifiers. | Gabriela Moldovan | 2023-10-30 | 1 | -0/+241 | |
| | | | ||||||
| | * | tor-keymgr: Move the KeyDenotator trait to tor-keymgr. | Gabriela Moldovan | 2023-10-30 | 2 | -2/+41 | |
| | | | | | | | | | | | The trait is no longer sealed because users should be allowed to define their own key denotators. | |||||
| * | | Patch version bumps in crates without breaking changes | Nick Mathewson | 2023-10-31 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` These crates have new APIs: tor-async-utils ADDED tor-config ADDED tor-hscrypto ADDED tor-netdoc ADDED, plus BREAKING-experimental. These crates have patch-level changes only: tor-netdir (bugfix only). (re-exposes netdoc) arti-rpcserver (tweaks only, uses nothing that broke.) arti 1.1.10, no stable public APIs. ``` | |||||
| * | | Minor version bumps in crates with breaking changes. | Nick Mathewson | 2023-10-31 | 1 | -2/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | ``` tor-basic-utils BREAKING tor-rtmock BREAKING. tor-cert BREAKING tor-cell BREAKING tor-proto BREAKING: re-exposes cell. (Also BREAKING-experimental) tor-chanmgr BREAKING: Re-exposes proto. tor-ptmgr BREAKING: re-exposes tor-chanmgr tor-guardmgr BREAKING: re-exposes proto. (Only for ClockSkew I think?) tor-circmgr BREAKING: re-exposes proto tor-dirclient BREAKING tor-hsclient BREAKING, re-exposes proto. tor-hsservice BREAKING, re-exposes proto. tor-hsrproxy BREAKING arti-client BREAKING: re-exposes proto. arti-hyper: BREAKING, re-exposes arti-client. tor-dirmgr Let's assume BREAKING, very high-level. tor-keymgr BREAKING, but experimental. ``` | |||||
| * | tor-keymgr: Use a macro to declare the KeyType enum (fmt). | Gabriela Moldovan | 2023-10-24 | 1 | -46/+46 | |
| | | ||||||
| * | tor-keymgr: Use a macro to declare the KeyType enum. | Gabriela Moldovan | 2023-10-24 | 1 | -40/+62 | |
| | | | | | | The bad identation is there to make reviewing the diff easier (the macro will be reindented in a future commit). | |||||
| * | tor-keymgr: Stop open-coding range operations. | Gabriela Moldovan | 2023-10-24 | 1 | -6/+1 | |
| | | ||||||
| * | 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. | |||||
| * | tor-keymgr: Remove now-outdated TODO HSS. | Gabriela Moldovan | 2023-10-24 | 1 | -9/+0 | |
| | | | | | Key file extensions now have `_private`/`_public` suffixes again. | |||||
| * | tor-keymgr: Add TODO explaining why we're not using strum. | Gabriela Moldovan | 2023-10-24 | 1 | -0/+7 | |
| | | ||||||
| * | tor-keymgr: Use the right extension for expanded ed25519 keys. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+1 | |
| | | | | | | | This line was out of sync with `KeyType::arti_extension`, which uses `ed25519_expanded_private` as the extension (and not `ed25519_expanded`). | |||||
| * | tor-keymgr: Fix substring bounds check. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+16 | |
| | | | | | The upper limit is exclusive, so this condition was off by one. | |||||
| * | tor-keymgr: Add tests for get_or_generate. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+63 | |
| | | ||||||
| * | tor-keymgr: Add KeyMgr::get_or_generate. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+23 | |
| | | ||||||
| * | tor-keymgr: Add get_or_create_with_derived. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+34 | |
| | | ||||||
| * | tor-keymgr: Fix broken doc link. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Rename KeyPathError to ArtiPathUnavailableError (fmt). | Gabriela Moldovan | 2023-10-19 | 5 | -11/+23 | |
| | | ||||||
| * | tor-keymgr: Rename KeyPathError to ArtiPathUnavailableError. | Gabriela Moldovan | 2023-10-19 | 4 | -16/+16 | |
| | | ||||||
| * | tor-keymgr: Remove From<ArtiPathError> impl for KeyPathError. | Gabriela Moldovan | 2023-10-19 | 1 | -6/+0 | |
| | | ||||||
| * | tor-keymgr: Make KeyType::Unknown a fields-variant. | Gabriela Moldovan | 2023-10-19 | 2 | -10/+16 | |
| | | | | | | This makes it clearer than the underlying `String` represents the `arti_extension` of the key. | |||||
| * | tor-keymgr: Expand on the KeyPathError docs. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+3 | |
| | | ||||||
| * | tor-keymgr: Apply cargo fmt. | Gabriela Moldovan | 2023-10-19 | 3 | -8/+11 | |
| | | ||||||
| * | tor-keymgr: Make error handling less repetitive using a closure. | Gabriela Moldovan | 2023-10-19 | 1 | -9/+8 | |
| | | ||||||
| * | tor-keymgr: Rework the ArtiPath error types. | Gabriela Moldovan | 2023-10-19 | 3 | -22/+30 | |
| | | ||||||
| * | tor-keymgr: Add TODO about removing metadata handling from keymgr. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+3 | |
| | | ||||||
| * | tor-keymgr: Add TODO about using derive-adhoc. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+2 | |
| | | ||||||
| * | tor-keymgr: Add KeyPathPattern constructor that does not match any valid paths. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+7 | |
| | | ||||||
| * | tor-keymgr: Add a get_with_type keymgr function. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+28 | |
| | | ||||||
| * | tor-keymgr: Add KeyMgr::list_matching for retrieving keys that match a given ↵ | Gabriela Moldovan | 2023-10-19 | 2 | -3/+33 | |
| | | | | | pattern. | |||||
| * | tor-keymgr: Add function for listing all entries in a keystore. | Gabriela Moldovan | 2023-10-19 | 4 | -5/+164 | |
| | | ||||||
| * | tor-keymgr: Add From<&str> impl for KeyType. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+45 | |
| | | ||||||
| * | tor-keymgr: Give KeyType an Unknown variant. | Gabriela Moldovan | 2023-10-19 | 7 | -95/+121 | |
| | | ||||||
| * | tor-keymgr: Add matching functionality and types for representing patterns. | Gabriela Moldovan | 2023-10-19 | 3 | -1/+77 | |
| | | ||||||
| * | tor-keymgr: Implement KeySpecifier for ArtiPath, CTorPath, KeyPath. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+36 | |
| | | | | | | | | Many keymgr APIs require a `&dyn KeySpecifier`, which essentially represents an `ArtiPath` and an optional `CTorPath`. Implementing `KeySpecifier` for `ArtiPath`/`CTorPath`/`KeyPath` will enable keymgr users to pass a `ArtiPath`/`CTorPath`/`KeyPath` to these APIs. | |||||
| * | tor-keymgr: Use ArtiPathError for invalid ArtiPaths (fmt). | Gabriela Moldovan | 2023-10-19 | 1 | -2/+10 | |
| | | ||||||
| * | tor-keymgr: Use ArtiPathError for invalid ArtiPaths. | Gabriela Moldovan | 2023-10-19 | 3 | -65/+112 | |
| | | ||||||
| * | tor-keymgr: Add an error type for invalid key paths. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+29 | |
| | | ||||||
| * | tor-keymgr: Add ArtiPathError, KeyPathError (fmt). | Gabriela Moldovan | 2023-10-19 | 1 | -1/+3 | |
| | | ||||||
| * | tor-keymgr: Add ArtiPathError, KeyPathError. | Gabriela Moldovan | 2023-10-19 | 2 | -1/+34 | |
| | | ||||||
| * | tor-keymgr: Add an enum for representing an ArtiPath or a CTorPath. | Gabriela Moldovan | 2023-10-19 | 2 | -2/+30 | |
| | | | | | | | This will enable the future `KeyMgr::list_matching()` API to return a list that contains results from (potentially) multiple different keystore backends. | |||||
