| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | hss: pipe config watchers into ipt_establish. | Nick Mathewson | 2023-11-20 | 2 | -9/+22 | |
| | | | | | | | | | | | | | | | | | | | We want the configuration, at least, so that we can see our DoS settings. I expect we'll also want the watcher so that we can see _changes_ in the DoS settings. | |||||
| * | | | tor-keymgr: Add TODO about possibly abolishing arti_pattern. | Gabriela Moldovan | 2023-11-20 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | tor-keymgr: Make the arti_path_prefix() helper private. | Gabriela Moldovan | 2023-11-20 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tor-keymgr: Abolish the `role()` public key specifier function. | Gabriela Moldovan | 2023-11-20 | 1 | -9/+0 | |
| | | | | | | | | | | | | | We don't use this anymore. | |||||
| * | | | tor-hsservice: Update MissingHsIdKey docs, remove outdated TODO HSS. | Gabriela Moldovan | 2023-11-20 | 2 | -32/+2 | |
| | | | | ||||||
| * | | | tor-hsservice: Rename MissingKey to MissingHsIdKeypair. | Gabriela Moldovan | 2023-11-20 | 4 | -9/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only return this error if the identity key is missing from the keystore. This change will also help us abolish the `.role()` method on `KeySpecifier`s (it was only needed for populating the string of a `MissingKey` error). | |||||
| * | | | tor-keymgr: Use ${for fields} to count the number of denotators (fmt). | Gabriela Moldovan | 2023-11-20 | 1 | -5/+4 | |
| | | | | ||||||
| * | | | tor-keymgr: Use ${for fields} to count the number of denotators. | Gabriela Moldovan | 2023-11-20 | 1 | -8/+3 | |
| | | | | ||||||
| * | | | tor-keymgr: Refactor a commonly used condition into a defcond. | Gabriela Moldovan | 2023-11-20 | 1 | -5/+8 | |
| | | | | ||||||
| * | | | tor-keymgr: Apply review suggestions to various doc comments. | Gabriela Moldovan | 2023-11-20 | 2 | -6/+13 | |
| | | | | ||||||
| * | | | tor-keymgr: Do not require owned types in arti_pattern(). | Gabriela Moldovan | 2023-11-20 | 1 | -3/+3 | |
| | | | | | | | | | | | | | This also fixes a clippy warning about a needless borrow. | |||||
| * | | | tor-keymgr: Suppress a confused clippy warning. | Gabriela Moldovan | 2023-11-20 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | Clippy is wrong here: it's complaining about us not using `$crate`, when we _are_ using `$crate`. See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1733#note_2965924 | |||||
| * | | | tor-keymgr: Remove unused macro. | Gabriela Moldovan | 2023-11-20 | 1 | -241/+0 | |
| | | | | ||||||
| * | | | tor-hsservice: Remove unused macro. | Gabriela Moldovan | 2023-11-20 | 1 | -83/+1 | |
| | | | | | | | | | | | | | We don't need this macro now that we adhoc-derive the implementation. | |||||
| * | | | tor-hsservice: Derive the service key specifier implementations (fmt). | Gabriela Moldovan | 2023-11-20 | 1 | -54/+54 | |
| | | | | ||||||
| * | | | tor-hsservice: Derive the service key specifier implementations. | Gabriela Moldovan | 2023-11-20 | 1 | -24/+43 | |
| | | | | ||||||
| * | | | tor-keymgr: Rewrite define_key_specifier using derive-adhoc (fmt). | Gabriela Moldovan | 2023-11-20 | 1 | -37/+36 | |
| | | | | ||||||
| * | | | tor-keymgr: Rewrite define_key_specifier using derive-adhoc. | Gabriela Moldovan | 2023-11-20 | 3 | -18/+151 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | For the most part, this is just code movement. The implementation was copied over to `define_derive_adhoc` from `define_key_specifier`, with some minor adjustments that were needed to make it compile. Closes #1093 | |||||
| * | | | tor-keymgr: Add tests for arti_prefix(). | Gabriela Moldovan | 2023-11-20 | 1 | -0/+11 | |
| | | | | ||||||
| * | | | tor-keymgr: Add tests for arti_pattern(). | Gabriela Moldovan | 2023-11-20 | 1 | -0/+15 | |
| |/ / | | | | | | | | | | | | | | | | | `T::arti_pattern()` returns an `ArtiPath` pattern that can can match any key of type `T`, regardless of the values of its denotators (the denotators are replaced by wildcards in the pattern). These tests will allow us to check we're not breaking pattern matching when we transition to derive-adhoc. | |||||
| * | | Merge branch 'publisher-todo' into 'main' | Ian Jackson | 2023-11-20 | 3 | -5/+3 | |
| |\ \ | |/ |/| | | | | | tor-hsservice: Remove and downgrade several TODO HSS See merge request tpo/core/arti!1742 | |||||
| | * | tor-hsservice: Downgrade a couple of TODO HSS to TODO. | Gabriela Moldovan | 2023-11-16 | 2 | -2/+2 | |
| | | | | | | | | | These are definitely blockers. | |||||
| | * | tor-hsservice: Remove TODO HSS that does not make sense. | Gabriela Moldovan | 2023-11-15 | 1 | -2/+0 | |
| | | | | | | | | | I don't understand what this TODO is about, so let's remove it. | |||||
| | * | tor-hsservice: Downgrade TODO HSS to TODO. | Gabriela Moldovan | 2023-11-15 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'tracing-ratelim-redux' into 'main' | Nick Mathewson | 2023-11-18 | 6 | -0/+939 | |
| |\ \ | | | | | | | | | | | | | New tor-log-ratelim crate (improved varsion) See merge request tpo/core/arti!1734 | |||||
| | * | | Fix a broken doc link | Nick Mathewson | 2023-11-16 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | ratelim: simplify LogState::reset. | Nick Mathewson | 2023-11-16 | 1 | -4/+1 | |
| | | | | ||||||
| | * | | ratelim: switch time list to start very short. | Nick Mathewson | 2023-11-16 | 1 | -4/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | Since we batch up even the earliest events, it's important that the first interval be quite short: otherwise, the user might wait minutes between when a problem first occurs and when it is first reported. | |||||
| | * | | ratelim: Add a note about summary accuracy | Nick Mathewson | 2023-11-16 | 1 | -0/+6 | |
| | | | | ||||||
| | * | | ratelim: Add a comment about behavior on reactor shutdown | Nick Mathewson | 2023-11-16 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | Ratelim: use now() to see how long we have been dormant | Nick Mathewson | 2023-11-16 | 1 | -9/+22 | |
| | | | | | | | | | | | | | Also avoid infinite recursion in implementation of RuntimeSupport. | |||||
| | * | | ratelim: Note that timeouts are in minutes. | Nick Mathewson | 2023-11-16 | 2 | -11/+2 | |
| | | | | ||||||
| | * | | ratelim: refactor to avoid unreachable code | Nick Mathewson | 2023-11-16 | 3 | -43/+22 | |
| | | | | | | | | | | | | | Add a note that this uglifies a hidden API slightly. | |||||
| | * | | ratelim: rename limiter.rs to ratelim.rs | Nick Mathewson | 2023-11-16 | 2 | -5/+5 | |
| | | | | ||||||
| | * | | log_ratelim: Use a real error type for install_runtime() | Nick Mathewson | 2023-11-16 | 3 | -5/+16 | |
| | | | | ||||||
| | * | | log_ratelim: Make final semicolon optional. | Nick Mathewson | 2023-11-16 | 1 | -4/+6 | |
| | | | | ||||||
| | * | | New tor-log-ratelim crate | Nick Mathewson | 2023-11-16 | 6 | -0/+919 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crate is meant to provide rate-limited log messages to tell users about problems that can happen too frequently to log individually. This version is based off an earlier design, and off of conversations with @diziet. It still needs tests. | |||||
| * | | | Merge branch 'main' into 'main' | gabi-250 | 2023-11-17 | 1 | -13/+15 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Added macro for StorageConfig expand dir See merge request tpo/core/arti!1728 | |||||
| | * | | | Added macro for StorageConfig expand dir | rdbo | 2023-11-17 | 1 | -13/+15 | |
| | | | | | ||||||
| * | | | | arti-client test: add clippy exception | Jim Newsome | 2023-11-16 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | This clippy rule appears to be enabled by default in Rust 1.74.0 | |||||
| * | | | | tor-keymgr: Remove unnecessary borrow. | Gabriela Moldovan | 2023-11-16 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Reuse read_blind_id_keypair when building descriptors. | Gabriela Moldovan | 2023-11-16 | 1 | -14/+6 | |
| | | | | | | | | | | | | | | | | | This code was identical to that from `read_blind_id_keypair`. | |||||
| * | | | | tor-hsservice: Extract read_blind_id_keypair out of Reactor (fmt). | Gabriela Moldovan | 2023-11-16 | 1 | -36/+34 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Extract read_blind_id_keypair out of Reactor. | Gabriela Moldovan | 2023-11-16 | 1 | -12/+10 | |
| | | | | | | | | | | | | | | | | | This will soon be used in `publish/descriptor.rs` too. | |||||
| * | | | | tor-hsservice: Pass the current time as an argument to ↵ | Gabriela Moldovan | 2023-11-16 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | generate_revision_counter. | |||||
| * | | | | tor-hsservice: Add note about computing ope_key once per TP. | Gabriela Moldovan | 2023-11-16 | 1 | -0/+2 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Link the the spec instead of referencing section number. | Gabriela Moldovan | 2023-11-16 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Remove dead code. | Gabriela Moldovan | 2023-11-16 | 1 | -21/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This code is no longer needed: we're now using `generate_revision_counter()` to generate revision counters using the OPE scheme from appendix F.2 rend-spec-v3. | |||||
| * | | | | tor-hsservice: Generate revision counters using an OPE scheme. | Gabriela Moldovan | 2023-11-16 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The publisher now generates revision counters according to the "encrypted time in period" scheme described in appendix F.2 rend-spec-v3. Part of #1053 | |||||
| * | | | | tor-hsservice: Add function for generating revision counters using OPE scheme. | Gabriela Moldovan | 2023-11-16 | 2 | -3/+107 | |
| | | | | | | | | | | | | | | | | | Part of #1053 | |||||
