aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | tor-hsservice: todos: Permanently accept 2 clippy warningsIan Jackson2024-01-111-2/+2
| |
* | tor-hsservice: todos: Remove an obsolete allow.Ian Jackson2024-01-111-1/+0
| |
* | tor-hsservice: todos: Remove unused merge_join_subset_byIan Jackson2024-01-111-67/+1
| | | | | | | | | | | | | | This is a rather specialised function which we had for a previous data structure but no longer use. Just get rid of it.
* | tor-hsservice: todos: Add more work to #1210Ian Jackson2024-01-111-4/+4
| |
* | tor-hsservice: todos: Delete a done TODOIan Jackson2024-01-111-2/+0
| | | | | | | | We have IPT persistence now.
* | tor-hsservice: todos: Reference the code motion ticketIan Jackson2024-01-111-1/+1
| | | | | | | | That ticket is *not* MUST.
* | tor-hsservice: todos: Reference the IPT selection ticketIan Jackson2024-01-111-1/+1
| |
* | tor-hsservice: todos: Reference the ephemeral services ticketIan Jackson2024-01-111-1/+1
| |
* | tor-hsservice: todos: Reference a new ticket about parametersIan Jackson2024-01-111-2/+2
| | | | | | | | | | This ticket is a MUST. We might downgrade it, but only after actually thinking about this question.
* | tor-hsservice: todos: downgrade TODOs re keymgr APIIan Jackson2024-01-111-2/+2
| | | | | | | | When we fix #1074, we should change this code too.
* | tor-hsservice: todos: reference a new ticket about reconfigurationIan Jackson2024-01-111-1/+1
|/
* Merge branch 'client-key-specifiers' into 'main'Ian Jackson2024-01-101-1/+0
|\ | | | | | | | | tor-hsclient: Derive the KeySpecifier implementation. See merge request tpo/core/arti!1864
| * tor-keymgr: Fully qualify KeySpecifierPattern in KeySpecifier macro.Gabriela Moldovan2024-01-101-1/+0
| | | | | | | | | | | | If you derive `KeySpecifier` and forget to import `KeySpecifierPattern` you get a confusing error. It's better to let the macro import (or fully qualify) the necessary types from tor-keymgr.
* | tor-hsservice: Rename MaybeFatalError to PublishError.Gabriela Moldovan2024-01-101-4/+4
| |
* | tor-hsservice: Downgrade a TODO HSS related to offline mode.Gabriela Moldovan2024-01-091-2/+3
| |
* | tor-hsservice: Don't return an error if there are no IPTs to publish.Gabriela Moldovan2024-01-091-7/+41
| | | | | | | | | | | | | | Not uploading a descriptor because we suddenly found out there are no IPTs isn't really an error. Part of #1129
* | tor-hsservice: Return a FatalError if the publisher retry task crashes.Gabriela Moldovan2024-01-091-2/+1
|/ | | | | | | | This really should not (and cannot) happen under normal circumstances: the task receiving the value cannot exit before the publisher (unless there's a bug in that code). Part of #1129
* Fix typosDimitris Apostolou2024-01-087-10/+10
|
* KeySpecifier etc: apply deferred rustfmt import churnIan Jackson2024-01-042-2/+2
|
* KeySpecifier d-a macro: Do not produce fn new()Ian Jackson2024-01-041-5/+6
| | | | | | Where we wanted this, use derive_more::Constructor isntead. arti#1151 item 6.
* KeySpecifier: Make KeySpecifierPattern a traitIan Jackson2024-01-042-0/+2
| | | | | | So now .arti_pattern() is a trait method. arti#1151 item 3.
* KeySpecifier d-a macro: Introduce SomeSpecifierPattern and use dynIan Jackson2024-01-042-3/+7
| | | | | | | | This is a better API. The implementation has less monomorphisation. arti#1151 item 2 and the patterns part of 4. Closes #1126.
* tor-hsservice: Drop an unused importIan Jackson2024-01-041-1/+0
| | | | | I'm not sure why the compiler doesn't complain about this already, but it becomes "more" unused later.
* KeySpecifier d-a macro: rename from KeySpecifierDefaultIan Jackson2024-01-031-7/+7
| | | | arti#1151 item 1.
* clippy nightly: For now, locally allow blocks_in_conditionsIan Jackson2024-01-021-0/+1
| | | | | | Filed https://gitlab.torproject.org/tpo/core/arti/-/issues/1176 proposing a final fix.
* clippy nightly: Use Poll.is_pending() in two placesIan Jackson2024-01-021-2/+2
| | | | clippy correctly identifies that this is nicer than matches!.
* Merge branch 'hs-desc-builder' into 'main'Alexander Færøy2023-12-181-6/+4
|\ | | | | | | | | | | | | tor-netdoc: Make HsDescBuilder::auth_clients take an Option. Closes #1019 See merge request tpo/core/arti!1840
| * tor-netdoc: Make HsDescBuilder::auth_clients take an Option.Gabriela Moldovan2023-12-141-6/+4
| | | | | | | | Closes #1019
* | Merge branch 'rename_relaycell' into 'main'Ian Jackson2023-12-141-1/+1
|\ \ | |/ |/| | | | | | | | | Rename {Any}RelayCell to {Any}RelayMsgOuter Closes #775 See merge request tpo/core/arti!1839
| * Fix documentation that referred to RelayCell.Nick Mathewson2023-12-141-1/+1
| |
* | Merge branch 'doc-link' into 'main'gabi-2502023-12-141-1/+1
|\ \ | |/ |/| | | | | tor-hsservice: Fix broken doc link. See merge request tpo/core/arti!1836
| * tor-hsservice: Fix broken doc link.Gabriela Moldovan2023-12-141-1/+1
| |
* | tor-hsservice: Add TODO about rethinking the HSS StateMgr API.Gabriela Moldovan2023-12-141-0/+3
| |
* | tor-hsservice: Add an hss state mgmt APIGabriela Moldovan2023-12-142-0/+47
|/
* Merge branch 'todos-hss' into 'main'Nick Mathewson2023-12-133-25/+29
|\ | | | | | | | | Clear away some misc todos in tor-hsservice. See merge request tpo/core/arti!1819
| * hss: Explain why wait_for_netdir_to_list does not need more complexity.Nick Mathewson2023-12-131-6/+11
| |
| * hss::svc::netdir: Explain why it is okay to suppress errors.Nick Mathewson2023-12-121-1/+3
| |
| * hss::config: Downgrade or remove some TODO HSS comments.Nick Mathewson2023-12-121-16/+15
| |
| * hss: remove TODO about making DangerouslyNonAnonymous conditional.Nick Mathewson2023-12-121-2/+0
| |
* | Merge branch 'log_hsid_unconditionally' into 'main'Nick Mathewson2023-12-131-14/+20
|\ \ | | | | | | | | | | | | hsservice: Log hsid whether we just generated it or not. See merge request tpo/core/arti!1830
| * | tor-hsservice: Retrieve the public hsid for logging purposes.gabi-2502023-12-131-3/+3
| | |
| * | hsservice: Log hsid whether we just generated it or not.Nick Mathewson2023-12-131-14/+20
| |/ | | | | | | | | | | With this change you can find your hsid in your logs (if safe logging is off) even if you forgot to notice it the first time around.
* | Merge branch 'publisher-do-not-retry-fatal' into 'main'gabi-2502023-12-131-16/+1
|\ \ | | | | | | | | | | | | tor-hsservice: If the error is fatal, do not retry the desc upload. See merge request tpo/core/arti!1821
| * | tor-hsservice: If the error is fatal, do not retry the desc upload.Gabriela Moldovan2023-12-131-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The errors returned by `upload_all` are now all fatal, so we there is no point in retrying `upload_all` on failure. Note this will exacerbate #1155, as it will cause the seemingly transient time skew issues to become fatal (the corresponding error type is `Bug`, so in principle they ought to be fatal)
* | | tor-hsservice: Add more explanation of replay_log lockingIan Jackson2023-12-131-0/+5
| | |
* | | tor-hsservice: Add more explanation of replay_log lockingIan Jackson2023-12-131-0/+6
| | |
* | | tor-hsservice: replay: Note a bugIan Jackson2023-12-131-0/+4
| | |
* | | tor-hsservice: Make IPT logs be persistent (fmt)Ian Jackson2023-12-131-1/+3
| | |
* | | tor-hsservice: Make IPT logs be persistentIan Jackson2023-12-133-7/+88
| | |
* | | tor-hsservice ipt_mgr: Rename STORAGE_RETRY from KEYSTORE_RETRYIan Jackson2023-12-131-2/+2
| | | | | | | | | | | | We're going to reuse this for other kinds of storage error.