summaryrefslogtreecommitdiff
path: root/tor-dirmgr/src/authority.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add builders for authority and fallback objects.Nick Mathewson2021-05-101-6/+63
|
* A few easy tests in tor-dirmgr.Nick Mathewson2021-05-041-0/+35
|
* Make reasonable set of default fallback directoriesNick Mathewson2021-03-301-0/+1
|
* Give the authorities value a reasonable default.Nick Mathewson2021-03-301-0/+24
|
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-291-4/+4
|
* Apply "deny_unknown_fields" to configuration types.Nick Mathewson2021-02-121-0/+4
|
* Make authorities and fallbacks configurable.Nick Mathewson2021-02-111-1/+3
| | | | | | | | | | This commit adds configuration options for these values, with the right defaults, and uses those options instead of built-in functions to set them. We also remove the function to extract information from chutney directories: now that arti is configurable, it can be chutney's job to make its own network configurations.
* Detect consensuses that are signed by the wrong authorities.Nick Mathewson2021-01-251-0/+4
| | | | | | | | | | | | With this patch we don't consider a consensus to be even potentially well-signed if the authorities that are listed as signing it don't contain enough authorities we believe in. Otherwise, we'd just try fetching certs for them and failing forever. (I found this by switching from a chutney network to the main network without cleaning out my cache.) Closes #44
* Move storage and config logic from netdir to dirmgr.Nick Mathewson2020-11-201-0/+33