| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | | rpc: Fix typos/grammar errors | Nick Mathewson | 2023-04-11 | 1 | -2/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Rewrite `data` spec in JSON terms | Ian Jackson | 2023-04-11 | 1 | -4/+12 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Clarify that error formatting display is indicative | Ian Jackson | 2023-04-11 | 1 | -0/+4 | |
| | | | | | | | | ||||||
| | * | | | | | | Use non-JSON-RPC-reserved values for our own errors | Ian Jackson | 2023-04-11 | 1 | -2/+4 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Fix mistake in "JSON-RPC compatibility" section for errors | Ian Jackson | 2023-04-11 | 1 | -1/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Discourage use of `code` | Ian Jackson | 2023-04-11 | 1 | -1/+8 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Warn about relying too much about `data` | Ian Jackson | 2023-04-11 | 1 | -0/+5 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Provide example of an error response | Ian Jackson | 2023-04-11 | 1 | -0/+18 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Provide a list of ErrorKind strings | Ian Jackson | 2023-04-11 | 1 | -2/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1107#note_2893078 | |||||
| | * | | | | | | rpc: Be more explicit about what the string error message is for (typo) | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Be more explicit about what the string error message is for | Nick Mathewson | 2023-04-11 | 1 | -1/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | rpc: Proposed error format | Ian Jackson | 2023-04-11 | 1 | -0/+52 | |
| | | |_|/ / / | |/| | | | | ||||||
| * | | | | | | Merge branch 'hs' into 'main' | Ian Jackson | 2023-04-11 | 7 | -38/+641 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Download HS descriptors See merge request tpo/core/arti!1118 | |||||
| | * | | | | | | hs connect: Improve a todo and refer to #813 | Ian Jackson | 2023-04-11 | 1 | -2/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect: Add TODOs re improving tests | Ian Jackson | 2023-04-11 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aa per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1118#note_2894467 | |||||
| | * | | | | | | hs connect: Add TODO re multiple parallel hsdir requests | Ian Jackson | 2023-04-11 | 1 | -0/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect: Improve docs for descriptor_ensure | Ian Jackson | 2023-04-11 | 1 | -1/+7 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect: Clarify clientness of Context | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect tests: check that we asked exactly one relay | Ian Jackson | 2023-04-11 | 1 | -6/+6 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect tests: derive Default for MocksGlobal, and use it | Ian Jackson | 2023-04-11 | 1 | -2/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect: Test descriptor download | Ian Jackson | 2023-04-11 | 3 | -0/+125 | |
| | | | | | | | | ||||||
| | * | | | | | | hs connect: Do circuitry etc. via mocks trait | Ian Jackson | 2023-04-11 | 1 | -7/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't change the text of the functional code, but now the methods are indirected via the Mock* traits. | |||||
| | * | | | | | | hs dirs: Initial cut at descriptor downloading | Ian Jackson | 2023-04-11 | 5 | -11/+321 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are many TODOs here. Some are questions; some are straightforward and can be done in followups. With this code, I am able to reach the eprintln! and todo! with curl --socks5-hostname localhost:9150 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/ | |||||
| | * | | | | | | hs desc: Record a Timebound<HsDesc> (but not really for now) | Ian Jackson | 2023-04-11 | 3 | -6/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a local alias of `HsDesc = String` which needs to be got rid of. But, right now the alternative would be to implement all the code for signature checking and decryption of an `HsDesc`, before we can make a test case for the downloader part. | |||||
| | * | | | | | | hs connect: Introduce Context | Ian Jackson | 2023-04-11 | 1 | -13/+91 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be convenient as the common context for the descriptor download work, and also for testing. | |||||
| | * | | | | | | hs dirs: Note a thing we don't implement yet | Ian Jackson | 2023-04-11 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We'll add this later, about here. | |||||
| | * | | | | | | hs dirs: Implement spread_fetch (fmt) | Ian Jackson | 2023-04-11 | 1 | -1/+4 | |
| | | | | | | | | ||||||
| | * | | | | | | hs dirs: Implement spread_fetch | Ian Jackson | 2023-04-11 | 2 | -4/+10 | |
| | | | | | | | | ||||||
| | * | | | | | | hs dirs: Fix wrong ignored variable name | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the HsDirIndex, not the Hs[Blind]Id. | |||||
| | * | | | | | | hs dirs: Replicas are 1-indexed | Ian Jackson | 2023-04-11 | 1 | -2/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-netdir: Make an import more precise | Ian Jackson | 2023-04-11 | 1 | -1/+3 | |
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this cargo +stable clippy --locked --offline -p tor-netdir --features=hs-client --all-targets I got this: 64 | use {hsdir_params::HsDirParams, hsdir_ring::HsDirRing, itertools::chain, std::iter}; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default | |||||
| * | | | | | | Merge branch 'warning' into 'main' | Ian Jackson | 2023-04-11 | 4 | -5/+7 | |
| |\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | Fix two rustdoc warnings See merge request tpo/core/arti!1114 | |||||
| | * | | | | | tor-netdoc: Tidy up and fix some broken intra-doc links | Ian Jackson | 2023-04-11 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Abbreviate the link text, and don't have it contain `crate` which is not really great in docs. 2. Use `super::` for the link target, to find the right thing. (`crate` doesn't seem to work in rustdoc, perhaps deliberately, although the error messages are ridiculous and claim the nonexistence of intermediate modules.) 3. Wrap the lines a bit more. | |||||
| | * | | | | | tor-netdir: Fix capitalisation of a doc link | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a rustdoc warning. | |||||
| | * | | | | | tor-netdir: Fix link to hs_time_period function | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a rustdoc warning. | |||||
| | * | | | | | impl_debug_hex: Fix syntax error in usage template | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| |/ / / / / | | | | | | | | | | | | | | | | Corrects the doc and fixes a rustdoc warning. | |||||
| * | | | | | Merge branch 'correct_osx_config' into 'main' | Ian Jackson | 2023-04-11 | 1 | -1/+1 | |
| |\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | arti: Explain correct location of OSX config. See merge request tpo/core/arti!1125 | |||||
| | * | | | | arti: Explain correct location of OSX config. | Nick Mathewson | 2023-04-10 | 1 | -1/+1 | |
| | | |/ / | |/| | | ||||||
| * | | | | Add a semver entry for !1112. | Nick Mathewson | 2023-04-10 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | Merge branch 'refactor' into 'main' | Nick Mathewson | 2023-04-10 | 2 | -38/+55 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | Use an Enum for the description request Closes #807 See merge request tpo/core/arti!1112 | |||||
| | * | | | Use an Enum for the description request | tranna | 2023-04-10 | 2 | -38/+55 | |
| | |/ / | ||||||
| * | | | Merge branch 'new_crossbeam_channel' into 'main' | Nick Mathewson | 2023-04-10 | 1 | -2/+2 | |
| |\ \ \ | |/ / |/| | | | | | | | | Update to new version of crossbeam-channel. See merge request tpo/core/arti!1124 | |||||
| | * | | Update to new version of crossbeam-channel. | Nick Mathewson | 2023-04-10 | 1 | -2/+2 | |
| |/ / | | | | | | | | | The previous one is yanked, which is making our cargo-audit script fail. | |||||
| * | | Merge branch 'matrix_warnings' into 'main' | gabi-250 | 2023-04-06 | 8 | -8/+20 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Fix various warnings/errors when building with different features. Closes #801 See merge request tpo/core/arti!1120 | |||||
| | * | | linkspec: Add a missing ; in tests. | Nick Mathewson | 2023-04-06 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | dirclient: fix an "unused import" warning. | Nick Mathewson | 2023-04-06 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | guardmgr: update feature behavior wrt testing and pts. | Nick Mathewson | 2023-04-06 | 2 | -3/+3 | |
| | | | | ||||||
| | * | | circmgr: make "testing" depend on guardmgr/testing | Nick Mathewson | 2023-04-06 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | circmgr: Mark a number of internal APIs as hs-only. | Nick Mathewson | 2023-04-06 | 3 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | This resolves a few dead-code warnings. Closes #801. | |||||
| | * | | circmgr: Expand an incomplete comment in exitpath.rs | Nick Mathewson | 2023-04-06 | 1 | -2/+6 | |
| |/ / | ||||||
