| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | tor-hsservice: Add more info to an internal error (fmt). | Gabriela Moldovan | 2023-12-05 | 1 | -6/+7 | |
| | | | | ||||||
| | * | | tor-hsservice: Add more info to an internal error. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+9 | |
| |/ / | | | | | | | | | Logging the current time and the start of the time period might help us debug #1143 (we'll at least know how far off `now` is from `start`). | |||||
| * | | Merge branch 'expire-old-keys' into 'main' | gabi-250 | 2023-12-05 | 18 | -143/+720 | |
| |\ \ | |/ |/| | | | | | | | | | tor-keymgr, tor-hsservice: Add functions for extracting key info and add KeystoreSweeper Closes #1127 and #1043 See merge request tpo/core/arti!1784 | |||||
| | * | tor-hsservice: Fix clippy warning. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-hsservice: Wrap some long lines in a helper macro. | Gabriela Moldovan | 2023-12-05 | 1 | -4/+11 | |
| | | | ||||||
| | * | tor-keymgr: Update wording in TODO. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-hsservice: Add a cross-reference to KeystoreSweeper. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+7 | |
| | | | ||||||
| | * | tor-keymgr: Call inventory::collect in the dummy keymgr too. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+2 | |
| | | | | | | | | | | | Not calling it results in an error (it instantiates the plugin registry for our type). | |||||
| | * | tor-keymgr: Mention KeyMgr::describe in the KeyInfoExtractor docs. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+3 | |
| | | | ||||||
| | * | tor-keymgr: Remove outdated references to KeyDenotator. | Gabriela Moldovan | 2023-12-05 | 1 | -6/+6 | |
| | | | ||||||
| | * | tor-keymgr: Explain when KeySpecifierComponent should be implemented. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+6 | |
| | | | ||||||
| | * | tor-keymgr: Abolish the KeyDenotator trait in favour of KeyPathComponent (fmt). | Gabriela Moldovan | 2023-12-05 | 3 | -9/+19 | |
| | | | ||||||
| | * | tor-keymgr: Abolish the KeyDenotator trait in favour of KeyPathComponent. | Gabriela Moldovan | 2023-12-05 | 3 | -68/+29 | |
| | | | ||||||
| | * | tor-keymgr: Use Bug instead of KeyPathInfoBuild. | Gabriela Moldovan | 2023-12-05 | 1 | -6/+5 | |
| | | | ||||||
| | * | tor-keymgr: Describe the key, not the specifier in the test key summaries. | Gabriela Moldovan | 2023-12-05 | 1 | -5/+5 | |
| | | | ||||||
| | * | tor-keymgr: Add some helpers to KeyPathInfoBuilder. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+84 | |
| | | | ||||||
| | * | tor-keymgr: Use a BTreeMap for the extra_info. | Gabriela Moldovan | 2023-12-05 | 1 | -2/+2 | |
| | | | | | | | | | We probably want these values to be in the same order each time. | |||||
| | * | tor-hsservice: Stop the KeystoreSweeper task when the service exits (fmt). | Gabriela Moldovan | 2023-12-05 | 3 | -57/+62 | |
| | | | ||||||
| | * | tor-hsservice: Stop the KeystoreSweeper task when the service exits. | Gabriela Moldovan | 2023-12-05 | 2 | -7/+30 | |
| | | | ||||||
| | * | tor-hsservice: Make shutdown a broadcast channel. | Gabriela Moldovan | 2023-12-05 | 2 | -11/+13 | |
| | | | | | | | | | | | We will soon need another component to be able to subscribe to the shutdown signal. | |||||
| | * | tor-hsservice: Move remove_if_expired macro inside task (fmt). | Gabriela Moldovan | 2023-12-05 | 1 | -9/+3 | |
| | | | ||||||
| | * | tor-hsservice: Move remove_if_expired macro inside task. | Gabriela Moldovan | 2023-12-05 | 1 | -37/+22 | |
| | | | ||||||
| | * | tor-keymgr: Add TODO about allowing users to specify the spec_name. | Gabriela Moldovan | 2023-12-05 | 1 | -2/+1 | |
| | | | | | | | | | This also removes a TODO that doesn't make sense anymore. | |||||
| | * | tor-keymgr: Update key summary strings to be less verbose. | Gabriela Moldovan | 2023-12-05 | 1 | -5/+5 | |
| | | | ||||||
| | * | tor-keymgr: Update summary docs based on review. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+3 | |
| | | | ||||||
| | * | tor-keymgr: Add a cross-reference to register_key_info_extractor. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+4 | |
| | | | ||||||
| | * | tor-keymgr: s/register_key_validator/register_key_info_extractor | Gabriela Moldovan | 2023-12-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-keymgr: Test the derived TryFrom<&KeyPath> key specifier impl. | Gabriela Moldovan | 2023-12-05 | 1 | -9/+19 | |
| | | | ||||||
| | * | tor-hsservice: Test the TryFrom<&KeyPath> KeySpecifier impl. | Gabriela Moldovan | 2023-12-05 | 4 | -4/+12 | |
| | | | ||||||
| | * | tor-keymgr: Add a module for test utilities. | Gabriela Moldovan | 2023-12-05 | 3 | -0/+16 | |
| | | | ||||||
| | * | tor-hsservice: Add some useful derives for the key specifiers. | Gabriela Moldovan | 2023-12-05 | 1 | -5/+5 | |
| | | | ||||||
| | * | tor-hsservice: Add a helper for removing expired keys. | Gabriela Moldovan | 2023-12-05 | 2 | -3/+154 | |
| | | | | | | | | | Closes #1043 | |||||
| | * | tor-hsservice: Make the KeySpecifier fields crate-public. | Gabriela Moldovan | 2023-12-05 | 1 | -7/+7 | |
| | | | | | | | | | We're about to use them. | |||||
| | * | 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: Make DefaultKeySpecifier generate a key info extractor as well. | Gabriela Moldovan | 2023-12-05 | 4 | -1/+119 | |
| | | | ||||||
| | * | tor-keymgr: Use KeySpecifierComponent instead of Display. | Gabriela Moldovan | 2023-12-05 | 1 | -1/+14 | |
| | | | ||||||
| | * | tor-keymgr: Store an owned type instead. | Gabriela Moldovan | 2023-12-05 | 6 | -43/+52 | |
| | | | | | | | | | | | | | We need this because the key specifier types will soon be owned types too (they will soon grow a From<&KeyPath> impl). We _could_ make them store `Cow`s instead, but I think that's a premature optimization. | |||||
| | * | tor-keymgr: Add more variants to KeyPathError. | Gabriela Moldovan | 2023-12-05 | 1 | -0/+13 | |
| | | | | | | | | | We will need them soon. | |||||
| | * | tor-keymgr: Make all arguments of arti_pattern optional. | Gabriela Moldovan | 2023-12-05 | 2 | -9/+13 | |
| | | | | | | | | | | | We're going to need this soon (to match all hidden service keys, regardless of nickname, for example). | |||||
| | * | tor-keymgr: Introduce a KeySpecifierComponent trait. | Gabriela Moldovan | 2023-12-05 | 3 | -2/+35 | |
| | | | | | | | | | | | | | | | | | | | Now the fields of a `DefaultKeySpecifier` no longer have to implement `Display` (they need to implement `KeySpecifierComponent`). See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1733#note_2966400 Closes #1127 | |||||
| | * | tor-keymgr: Add a function for describing a KeyPath. | Gabriela Moldovan | 2023-12-05 | 2 | -2/+24 | |
| | | | ||||||
| | * | tor-keymgr: Add a way of registering key info extractors using inventory. | Gabriela Moldovan | 2023-12-05 | 5 | -4/+37 | |
| | | | ||||||
| | * | tor-keymgr: Add types for extracting info out of a KeyPath. | Gabriela Moldovan | 2023-12-05 | 2 | -2/+28 | |
| | | | ||||||
| | * | tor-keymgr: Change KeyDenotator error type to KeyPathError. | Gabriela Moldovan | 2023-12-05 | 4 | -12/+23 | |
| |/ | | | | | This is a separate class of errors that deserves its own error type. We will soon use `KeyPathError` in other contexts as well. | |||||
| * | Merge branch 'msrv-followup' into 'main' | Nick Mathewson | 2023-12-04 | 10 | -49/+11 | |
| |\ | | | | | | | | | Followups from MSRV 1.70 upgrade See merge request tpo/core/arti!1785 | |||||
| | * | arti: rewrite ilog10_roundup using checked_ilog10. | Nick Mathewson | 2023-11-30 | 1 | -16/+4 | |
| | | | ||||||
| | * | tor-config: use black_box in test. | Nick Mathewson | 2023-11-30 | 1 | -3/+1 | |
| | | | ||||||
| | * | guardmgr: Stop using now-needless retain_mut crate. | Nick Mathewson | 2023-11-30 | 4 | -19/+4 | |
| | | | ||||||
| | * | rtmock: Remove now-needless to_string calls. | Nick Mathewson | 2023-11-30 | 1 | -4/+0 | |
| | | | ||||||
| | * | netdoc: Remove an "unknown_lints" exception. | Nick Mathewson | 2023-11-30 | 1 | -1/+0 | |
| | | | ||||||
