summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* hss: Remove OnionServiceDataStram type.Nick Mathewson2023-09-271-1/+1
| | | | | | | I think that the reason we added this was in case we needed different behavior from DataStream; but on reflection it does seem that we don't. Having a single type here will make things a bit simpler.
* hss: helper to get a stream of StreamReq from a stream of RendReq.Nick Mathewson2023-09-271-0/+3
| | | | | | This isn't very much code, but given how long it took me to write this and make it typecheck, I suspect that others may find it useful as well.
* tor-hsservice: Make keys.rs a top-level module.Gabriela Moldovan2023-09-221-1/+2
|
* tor-hsservice: Remove unused keys module.Gabriela Moldovan2023-09-221-1/+0
|
* tor-hsservice: Add key specifier for blinded_id keypairs.Gabriela Moldovan2023-09-221-0/+1
|
* HSS: Enable RendRequests to be answered.Nick Mathewson2023-09-201-1/+1
| | | | | This requires yet more plumbing—this time, of HsCircPool and NetDirProvider.
* tor-hsservice: Move IptLocalId into crate toplevelIan Jackson2023-09-071-0/+13
|
* Merge branch 'hss_config' into 'main'Nick Mathewson2023-09-071-16/+3
|\ | | | | | | | | Begin working on configuration logic for onion services See merge request tpo/core/arti!1557
| * hss: Move Anonymity to module and make it serde.Nick Mathewson2023-09-071-15/+2
| |
| * hss: Add configuration fields for onion services.Nick Mathewson2023-08-281-1/+1
| |
* | tor-hsservice: Move PublishIptSet and its pieces into a new moduleIan Jackson2023-09-061-0/+1
|/ | | | | This is going to be complicated enough we probably want it split out of the publisher.
* tor-hsservice: Provide a sensible HsNicknameIan Jackson2023-08-231-0/+2
|
* tor-hsservice: About half of an IPT ManagerIan Jackson2023-08-231-0/+1
| | | | There are many TODOs and no tests, but it does compile.
* tor-hsservice: Provide timeout tracking utilitiesIan Jackson2023-08-231-0/+1
| | | | | This module is perhaps rather more comprehensive than needed right now. But I found I kept wanting to change which bits of it I used.
* tor-hsservice errors: Distinguish operational errors by contextIan Jackson2023-08-171-4/+1
| | | | | | | | | | At the very least, I need FatalError to be distinct: IptEstablisher::new ought not to fail unless everything is terrible. Add a the Spawn variant to FatalError (that we'll need soon) and the Bug variant (which it seems likely we might need). This also gets rid of the crate-level Result alias.
* Run add_warnings on all files.Nick Mathewson2023-08-041-2/+2
|
* hsservice: Adapt data structures from onion-service-notes.mdNick Mathewson2023-07-311-28/+56
| | | | | | | Also, removed some older structures that don't make sense in the current design. Closes #970
* Downgrade every "TODO HS" in tor-hsserviceNick Mathewson2023-06-201-6/+6
| | | | These are all service-specific, and not client-specific.
* keymgr: Move the HS client and service key specifiers out of tor-keymgr.Gabriela Moldovan2023-06-151-0/+1
| | | | | | The HS `HsClientSpecifier` and `HsClientSecretKeySpecifier` are moved to `tor-hsclient`. The HS service secret key specifier stubs are moved to `tor-hsservice`.
* hsservice: Add a note about the contents of circ_info.Nick Mathewson2023-01-241-0/+6
| | | | | In order to store per-circuit information, it's a good idea if we provide something that can be the key of a `PtrWeakKeyHashMap`.
* Sketch an API for onion services.Nick Mathewson2023-01-241-0/+39