| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | hsclient state: Rename rechecks (from attempts) and add clarifying docs | Ian Jackson | 2023-03-01 | 2 | -9/+25 | |
| | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2882079 | |||||
| * | hsclient keys: Be more explicit about HsClientSecretKeys nullable | Ian Jackson | 2023-03-01 | 1 | -5/+9 | |
| | | | | | | It can contain no keys; state this more prominently, and explain what it represents. Also fix a few typos etc. | |||||
| * | hsclient state: Implement and test MultikeyIsolatedMap::retain | Ian Jackson | 2023-03-01 | 2 | -3/+109 | |
| | | ||||||
| * | hsclient state: Split off MultikeyIsolatedMap | Ian Jackson | 2023-03-01 | 4 | -82/+190 | |
| | | ||||||
| * | hsclient state: Move all the data fields into the table | Ian Jackson | 2023-03-01 | 1 | -28/+37 | |
| | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2881576 This is a singificant simplification, in fact. | |||||
| * | hsclient: Clarify period task handle TODO | Ian Jackson | 2023-03-01 | 1 | -1/+1 | |
| | | ||||||
| * | hsclient: Document sharing rules | Ian Jackson | 2023-03-01 | 2 | -0/+15 | |
| | | | | | | Text largely from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2881638 | |||||
| * | hsclient state: rustfmt | Ian Jackson | 2023-03-01 | 1 | -241/+244 | |
| | | | | | | | Autogenerated with rustfmt; no code changes. This tidies up the bizarre formatting. | |||||
| * | hsclient state: Lots more doc comments about barriers, structure, etc. | Ian Jackson | 2023-03-01 | 1 | -2/+74 | |
| | | ||||||
| * | hsclient state: Break `obtain` out into a fn | Ian Jackson | 2023-03-01 | 1 | -61/+82 | |
| | | | | | | | | | | | This is getting rather confusing; simply reformtting it won't do, I think. Also there would be much rightward drift. So move the meat out into the new function. (And introduce a convenience alias for its captures.) Docs and reformatting will follow in a moment. | |||||
| * | hsclient state: Demonstrate that our future is now Send | Ian Jackson | 2023-03-01 | 1 | -3/+9 | |
| | | ||||||
| * | hsclient state: Restructure using a scope to drop the mutex guard | Ian Jackson | 2023-03-01 | 2 | -20/+45 | |
| | | | | | | | | | | | | | Explicit drops don't work. Instead, introduce a scope. We need two scopes, actually: one where we do the initial table wrangling, and one for the retries after relock. So we must put the meat in a closure so we can reuse it. And we must return the flow control as an enum. Bah, etc. Avoid reformatting this for the moment. This makes the delta legible... | |||||
| * | hsclient state: Break out ServiceState::blank | Ian Jackson | 2023-03-01 | 1 | -5/+12 | |
| | | | | | | We're going to have another function which will want this. Leave a convenience closure to capture the runtime. | |||||
| * | hsclient state: Move error inspection before guard re-lock. | Ian Jackson | 2023-03-01 | 1 | -4/+5 | |
| | | | | | | | This is still correct from a lock hierarchy pov. It moves the guard relock to the end, which is going to be necessary since it is going to have to move right outside the loop. | |||||
| * | hsclient keys: Add a todo to remove spurious Option | Ian Jackson | 2023-03-01 | 1 | -0/+3 | |
| | | ||||||
| * | hsclient keys: Compare all empty sets of keys as equal | Ian Jackson | 2023-03-01 | 1 | -1/+5 | |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2881575 | |||||
| * | hsclient keys: Fix non-equal keys test to provide a (dummy) key (fmt) | Ian Jackson | 2023-03-01 | 1 | -1/+4 | |
| | | ||||||
| * | hsclient keys: Fix non-equal keys test to provide a (dummy) key | Ian Jackson | 2023-03-01 | 1 | -4/+10 | |
| | | | | | | We're about to fix the comparison to treat all empty key sets as equal. | |||||
| * | hsclient keys: Provide :none() and Default and .is_empty() | Ian Jackson | 2023-03-01 | 1 | -1/+22 | |
| | | ||||||
| * | hsclient keys: Fix a missing full stop | Ian Jackson | 2023-03-01 | 1 | -1/+1 | |
| | | ||||||
| * | hsclient state: Test most important code paths | Ian Jackson | 2023-03-01 | 3 | -18/+149 | |
| | | ||||||
| * | hsclient: Provide some missing debug impls and trace messages | Ian Jackson | 2023-03-01 | 2 | -2/+25 | |
| | | ||||||
| * | Apply rustfmt | Ian Jackson | 2023-03-01 | 2 | -43/+71 | |
| | | ||||||
| * | hsclient state: Provide one test | Ian Jackson | 2023-03-01 | 2 | -0/+106 | |
| | | ||||||
| * | hsclient: Use a generic to provide a mock for connect() | Ian Jackson | 2023-03-01 | 4 | -21/+77 | |
| | | | | | This will allow us to test state.rs. | |||||
| * | hsclient: Apply standard lint block | Ian Jackson | 2023-03-01 | 1 | -1/+37 | |
| | | ||||||
| * | hsclient: Move dead code allows to specific locations | Ian Jackson | 2023-03-01 | 3 | -1/+4 | |
| | | ||||||
| * | hsclient: Add vacuous comments as demanded by clippy | Ian Jackson | 2023-03-01 | 3 | -0/+7 | |
| | | ||||||
| * | hsclient state: Bind a variable to stop rustfmt doing a terrible thing | Ian Jackson | 2023-03-01 | 1 | -5/+7 | |
| | | ||||||
| * | hsclient: Provide a constructor for HsClientConnector | Ian Jackson | 2023-03-01 | 2 | -10/+25 | |
| | | ||||||
| * | hsclient: Implement connection attempt tracking state machine | Ian Jackson | 2023-03-01 | 5 | -42/+394 | |
| | | | | | This compiles, but it cannot work yet. Nor can it conveniently be tested. | |||||
| * | HS secret keys: Move aggregate/config to tor-hsclient | Ian Jackson | 2023-03-01 | 2 | -0/+80 | |
| | | | | | | | | | Provide a more cookied "secret keys for use to connecting to a particular HS" type, with a builder. This wants to use config stuff, so oughtn't to be in tor-*crypto. The individual types remain there. | |||||
| * | hsclient API: Remove notion of ambient keys fromk this layer | Ian Jackson | 2023-03-01 | 2 | -14/+5 | |
| | | ||||||
| * | HS API: Remove HS client keys from circmgr API | Ian Jackson | 2023-03-01 | 1 | -2/+1 | |
| | | | | | | | | | *If* we're going to retain any HS knowledge in circmgr, it definitely doesn't need to know about per-operation client secrets. (Maybe there might be ambient secrets, used for .onion diversion, but they don't need to be in this API.) | |||||
| * | HS planning: Discuss whether to remove all HS code from circmgr | Ian Jackson | 2023-03-01 | 1 | -1/+2 | |
| | | ||||||
| * | Patchlevel bumps for remaining changed crates. | Nick Mathewson | 2023-02-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have had small code changes, but no API additions: tor-config tor-socksproto tor-cert tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr arti tor-hsservice tor-congestion These crates have had API extensions: fs-mistrust tor-llcrypto tor-bytes tor-checkable tor-linkspec tor-netdoc tor-persist arti-client | |||||
| * | Bump patch-versions for breaking changes in tor-hs{crypto,client} | Nick Mathewson | 2023-02-28 | 1 | -2/+2 | |
| | | | | | | | These are API breaks, but the crates themselves are currently 100% experimental, so there's no need to bump the minor versions according to our semver rules. | |||||
| * | Bump minor versions for significant breaking changes. | Nick Mathewson | 2023-02-28 | 1 | -2/+2 | |
| | | | | | This includes tor-cell, tor-proto, and tor-netdir. | |||||
| * | Rename onion-* cargo features to hs-* in tor-* crates | Ian Jackson | 2023-02-28 | 1 | -1/+1 | |
| | | | | | Fixes #756 | |||||
| * | tor-hscrypto: Rename key types to correspond to new spec names. | Nick Mathewson | 2023-02-08 | 3 | -6/+6 | |
| | | ||||||
| * | Bump the patch version of every crate that had API additions | Nick Mathewson | 2023-02-01 | 1 | -2/+2 | |
| | | | | | | | These crates had API or behavior changes that may affect downstream crates. Fortunately, they're all version 0.x, and don't need minor bumps for this. | |||||
| * | Bump the patch-level version of crates with _minor_ changes. | Nick Mathewson | 2023-02-01 | 1 | -3/+3 | |
| | | | | | | | | These changes influence behavior, but not effect compatibility. (If I messed up, and any crate except for `arti` has non-breaking API changes, that's still fine, since they are all version 0.x.) | |||||
| * | Note a needed isolation API. | Nick Mathewson | 2023-01-24 | 1 | -0/+6 | |
| | | ||||||
| * | Add a new stub hsclient module to connect to onion services. | Nick Mathewson | 2023-01-24 | 5 | -0/+171 | |
