arti/crates
Gabriela Moldovan 3d0bf0d6ab
Generate a new KP_hss_desc_enc keypair for each new descriptor.
Previously, to build descriptors for hidden services with client auth
enabled, in addition to the list of authorized clients, users of
`HsDescBuilder` were required to also provide a descriptor encryption
keypair and a descriptor cookie. This was potentially dangerous and/or
error-prone, because the ephemeral encryption key and the descriptor
cookie are expected to be randomly generated and unique for each
descriptor.

This change makes `ClientAuth` private to the `hsdesc::build` module and
updates `HsDescBuilder` to build `ClientAuth`s internally. Users now
only need to provide the list of authorized client public keys.

Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
2023-03-31 15:04:30 +01:00
..
arti Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
arti-bench Bump crate versions that have breaking changes 2023-03-31 08:28:06 -04:00
arti-client Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
arti-config
arti-hyper Bump patchlevel on crates with non-breaking changes 2023-03-31 08:24:39 -04:00
arti-testing Bump crate versions that have breaking changes 2023-03-31 08:28:06 -04:00
caret Bump patchlevel on crates with non-breaking changes 2023-03-31 08:24:39 -04:00
fs-mistrust Bump patchlevel on crates with semver-irrelevant changes. 2023-03-31 08:20:58 -04:00
retry-error
safelog Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-async-utils Move functionality from tor_basic_utils to tor_async_utils 2023-03-29 13:57:11 -04:00
tor-basic-utils Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-bytes Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-cell Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-cert Bump patchlevel on crates with non-breaking changes 2023-03-31 08:24:39 -04:00
tor-chanmgr Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-checkable Bump patchlevel on crates with non-breaking changes 2023-03-31 08:24:39 -04:00
tor-circmgr Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-config Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-congestion
tor-consdiff Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-dirclient Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-dirmgr Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-error
tor-events
tor-guardmgr Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-hsclient Remove "publish = false" from tor-hsclient. 2023-03-31 09:14:35 -04:00
tor-hscrypto Stop requiring the caller to supply `AuthClient`s. 2023-03-31 15:04:15 +01:00
tor-hsservice Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-linkspec Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-llcrypto Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-netdir Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-netdoc Generate a new KP_hss_desc_enc keypair for each new descriptor. 2023-03-31 15:04:30 +01:00
tor-persist
tor-proto Remove semver.md files. 2023-03-31 09:24:41 -04:00
tor-protover Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-ptmgr Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-rtcompat Bump patchlevel on crates with semver-irrelevant changes. 2023-03-31 08:20:58 -04:00
tor-rtmock Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-socksproto Patchlevel bumps for crates whose dependencies just changed. 2023-03-31 08:30:14 -04:00
tor-units