summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/publish.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-hsservice: pass through the `CfgPathResolver`Steven Engler2024-11-181-0/+9
|
* tor-keymgr: Rename the primary keystore for clarity.Gabriela Moldovan2024-09-231-2/+2
| | | | | | | | | | Previously, arti's primary keystore was referred to as its "default" keystore. However, "default" is inaccurate here: there is no way to meaningfully override this "default" (the "default" store acts as the main keystore). Throughout the codebase, we query all keystores for keys (including the secondary ones), but only ever write to the default/primary keystore. This is OK for now, because it enables us to have one mutable keystore, and multiple secondary, read-only stores.
* tor-hsservice: Remove the anonymity setting from the config.Gabriela Moldovan2024-09-121-2/+1
| | | | As mentioned in #727, this is not supported yet.
* Merge branch 'bug_1613' into 'main'gabi-2502024-09-121-1/+6
|\ | | | | | | | | | | | | Bug 1613: Add support for inserting externally generated and removing arbitrary service discovery keys Closes #1613 See merge request tpo/core/arti!2396
| * tor-keymgr: add an overwrite flag to KeyMgr::insert()Morgan2024-09-101-1/+6
| |
* | tor-hsservice: Remove outdated comment about publisher.Gabriela Moldovan2024-09-091-17/+0
| | | | | | | | The descriptor publisher docs live in the `publisher` module.
* | tor-hsservice: Fill out the missing descriptor publisher docs.Gabriela Moldovan2024-09-091-1/+4
| | | | | | | | Closes #1216
* | tor-hsservice: Add basic tests for publisher status reporting.Gabriela Moldovan2024-09-091-3/+22
|/
* Rename tor-keys crate to tor-key-forgeDavid Goulet2024-09-041-1/+1
| | | | Signed-off-by: David Goulet <[email protected]>
* tor-keymgr: Use tor-keys crate and remove dead codeDavid Goulet2024-09-041-1/+2
| | | | | | | | | | | Everything copied in the previous commits to tor-keys is now removed and tor-keys crate is used accross the code. Minor changes to tor-keys to accomodate this change. Part of #1137 Signed-off-by: David Goulet <[email protected]>
* tor-hsservice: Make the reactor take a reference to the config.Gabriela Moldovan2024-08-211-1/+1
| | | | This resolves a clippy warning.
* tor-hsservice: Move authorized_clients out of RunningOnionService.Gabriela Moldovan2024-08-131-9/+0
| | | | | | We now create the authorized_clients in the publisher (we don't need the authorized_clients anywhere else, so it makes little sense to keep them in `RunningOnionService`).
* tor-hsservice: Use the configured authorized clients when encrypting the ↵Gabriela Moldovan2024-08-051-0/+10
| | | | descriptor.
* tor-hsservice: Resolve dead code warnings in publisher tests.Gabriela Moldovan2024-07-091-11/+7
|
* tor-hsservice: Remove unused code (fmt).Gabriela Moldovan2024-07-091-1/+1
|
* tor-hsservice: Remove unused code.Gabriela Moldovan2024-07-091-1/+1
| | | | This is being reimplemented as #1292
* tor-hsservice: Remove unused publisher functions.Gabriela Moldovan2024-07-091-8/+0
| | | | | | | This removes a couple of unimplemented functions. These were supposed to be the starting point for #1217, but we won't be implementing that any time soon.
* tor-hsservice: Remove unnecessary allow.Gabriela Moldovan2024-07-091-1/+0
| | | | Note: #1217 is still open and we may want to implement it at some point.
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Run rustfmtIan Jackson2024-03-051-3/+3
| | | | | This alphabetises the imports, ready for us to do some more manual tidying.
* tor-hsservice: prelude: Promote imports from reactor.rsIan Jackson2024-03-051-0/+3
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Promote imports from descriptor.rsIan Jackson2024-03-051-0/+1
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Move imports from publish.rsIan Jackson2024-03-051-13/+1
|
* tor-hsservice: Move svc.rs contents into lib.rsIan Jackson2024-03-051-1/+1
|
* tor-hsservice: Hide IptLocalId field, and provide test constructorIan Jackson2024-03-051-2/+2
|
* tor-hsservice: Move publish out of svcIan Jackson2024-03-051-0/+665