summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | keymgr: Create a KeyStoreError trait for keystore errors.Gabriela Moldovan2023-06-264-1/+36
|/ / / / | | | | | | | | | | | | | | | | | | | | The new `BoxedError` type will replace `tor_keymgr::Error`. Part of #901
* | | | Merge branch 'stabilize-ll-crates' into 'main'Nick Mathewson2023-06-235-5/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove final "experimental" status from tor-hscrypto and tor-error. See merge request tpo/core/arti!1291
| * | | | arti, hsclent: remove dependencies on tor-error/experimental-apiNick Mathewson2023-06-232-2/+2
| | | | | | | | | | | | | | | | | | | | The relevant ErrorKinds and macros are now stable.
| * | | | hscrypto: remove "tor-error/experimental-api" dependencyNick Mathewson2023-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | The ErrorKinds that we use here are now non-experimental.
| * | | | tor-error: Mark define_asref_dyn_std_error as non-experimentalNick Mathewson2023-06-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | (I see no problems with this macro. In the worst case, we deprecate it someday.)
| * | | | hscrypto: downgrade a comment to HSSNick Mathewson2023-06-221-1/+1
| | | | |
* | | | | Merge branch 'random-idx-where' into 'main'Ian Jackson2023-06-231-20/+40
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | random_idx_where: Fix bias See merge request tpo/core/arti!1301
| * | | | | random_idx_where: Ensure uniform distribution of choiceJim Newsome2023-06-231-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this was more likely to select elements that occurred after other elements that didn't satisfy the predicate.
| * | | | | Add more tests for random_idx_whereJim Newsome2023-06-231-0/+10
| | | | | |
* | | | | | Merge branch 'circuit-bis' into 'main'Nick Mathewson2023-06-231-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add TODO SPEC for issues dealt with in !1299 See merge request tpo/core/arti!1303
| * | | | | | tor-hsclient: Add TODO SPEC for issues dealt with in !1299Ian Jackson2023-06-231-0/+6
| | | | | | |
* | | | | | | Merge branch 'expire' into 'main'Nick Mathewson2023-06-231-0/+2
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | tor-hsclient: Add a TODO SPEC re circuit dirtiness See merge request tpo/core/arti!1302
| * | | | | | tor-hsclient: Add a TODO SPEC re circuit dirtinessIan Jackson2023-06-231-0/+2
| | |_|/ / / | |/| | | |
* | | | | | Merge branch 'idx' into 'main'Ian Jackson2023-06-231-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-circmgr: Fix random_idx_where with empty slice Closes #918 See merge request tpo/core/arti!1296
| * | | | | | tor-circmgr: Test random_idx_where with empty sliceIan Jackson2023-06-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have verified that this test fails, as expected, when applied without the corresponding bugfix.
| * | | | | | tor-circmgr: random_idx_where: Don't panic on empty rangeIan Jackson2023-06-231-0/+3
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Fixes #918.
* | | | | | Merge branch 'circuit' into 'main'Alexander Færøy2023-06-231-21/+29
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | | Drop intro circuit after ack, and deal with TODOs See merge request tpo/core/arti!1299
| * | | | tor-hsclient: Discuss HS descriptor expiry and revision countersIan Jackson2023-06-231-2/+4
| | | | | | | | | | | | | | | | | | | | And delete the corresponding TODO.
| * | | | tor-hsclient: Downgrade multi-ipt TODOIan Jackson2023-06-231-3/+4
| | | | |
| * | | | tor-hsclient: Downgrade rend/ipt parallelism TODOs and add linksIan Jackson2023-06-231-5/+8
| | | | |
| * | | | tor-hsclient: Downgrade ipt parallelism to a noteIan Jackson2023-06-231-2/+4
| | | | |
| * | | | tor-hsclient: Downgrade hsdir fetch parallelism to a noteIan Jackson2023-06-231-2/+4
| | | | |
| * | | | tor-hsclient: Drop intro circuit after ackIan Jackson2023-06-231-7/+5
| |/ / /
* | | | Merge branch 'data2' into 'main'Nick Mathewson2023-06-231-0/+32
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | tor-hsclient: Expire old IPT data See merge request tpo/core/arti!1295
| * | | tor-hsclient: Write a test plan for IPT state managementIan Jackson2023-06-231-0/+23
| | | | | | | | | | | | | | | | | | | | This won't be trivial. Put it in as a TODO HS rather than as part of this fix MR.
| * | | tor-hsclient: Expire old IPT dataIan Jackson2023-06-231-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | If we don't use it for a whole, the whole of `Data` will be expired by the new machinery in !1290. However, we also need to expire individual IPTs. This bug doesn't seem to have had a relevant TODO.
* | | Merge commit '3105f99a'.Nick Mathewson2023-06-232-6/+8
|\ \ \ | | | | | | | | | | | | (This is !1294, minus a redundant merge.)
| * | | Corrected the order of imports in order to make the 'rust-checks' job ↵Andy2023-06-231-1/+1
| | | | | | | | | | | | | | | | complete successfully.
| * | | Provided a fix for #831 - 'Unused import' warnings on WindowsAndy2023-06-232-6/+8
| | |/ | |/|
* | | Merge branch 'expire' into 'main'Ian Jackson2023-06-233-21/+215
|\ \ \ | |/ / |/| | | | | | | | tor-hsclient: Expire circuits when they get too old See merge request tpo/core/arti!1287
| * | tor-hsclient: Add a note about circuit expiry uncertainty, ticketIan Jackson2023-06-221-0/+3
| | |
| * | tor-hsclient: Expand explanation of `last_used` (for Open)Ian Jackson2023-06-221-1/+20
| | |
| * | tor-hsclient: Make comment about circuit expiry more accurateNick Mathewson2023-06-221-1/+2
| | |
| * | tor-hsclient: linkify a URL in a doc commentIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Apply broken formatting as demanded by rustfmtIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Test circuit expiryIan Jackson2023-06-221-1/+46
| | |
| * | tor-hsclient: Expire HS circuits that we don't want to reuseIan Jackson2023-06-221-4/+128
| | |
| * | tor-hsclient: Introduce helper function for locking services tableIan Jackson2023-06-222-14/+17
| | |
| * | tor-hsclient: Abolish an obsolete commentIan Jackson2023-06-221-1/+0
| |/ | | | | | | | | | | We don't now handle inability to store by panicking. Like the previous comment says, such situations end up with Err in stored, and that's handled by logging, below.
* | Merge branch 'desc-error' into 'main'Nick Mathewson2023-06-229-129/+142
|\ \ | | | | | | | | | | | | Clean up HsDesc error types and stabilize onion-service ErrorKinds See merge request tpo/core/arti!1289
| * | hsdescerror: Add paragraph breaks to docs.Nick Mathewson2023-06-221-3/+11
| | |
| * | netdoc: Use a dev-dependency on anyhow to fix a doc exampleNick Mathewson2023-06-223-1/+3
| | |
| * | tor-error: Stabilize OnionService error kindsNick Mathewson2023-06-221-7/+0
| | |
| * | tor-error: typo fix in a comment.Nick Mathewson2023-06-221-1/+1
| | |
| * | Remove onion service descriptor-related errorkinds.Nick Mathewson2023-06-223-52/+2
| | | | | | | | | | | | | | | | | | | | | | | | These have been subsumed by other errorkinds, mostly OnionServiceProtocolViolation and TorProtocolViolation. In particular please review the change in tor-hsclient closely; I am not sure about the new errorkinds for the error there.
| * | netdoc: Introduce HsDescErrorNick Mathewson2023-06-225-68/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For higher-level HsDesc-related functions, this type indicates where exactly an error occurred. It lets us distinguish decryption errors from parsing errors, and attribute responsibility to the hsdir, the onion service, or the user's lack of encryption. This lets us remove some just-introduced complexity in tor-hsclient.
* | | Merge branch 'circmgr-timeout-est' into 'main'Nick Mathewson2023-06-224-7/+35
|\ \ \ | | | | | | | | | | | | | | | | circmgr: New API to expose estimate-based timeouts. See merge request tpo/core/arti!1281
| * | | circmgr: Now that Action is public, clean it up a little.Nick Mathewson2023-06-221-3/+2
| | | |
| * | | circmgr: New API to expose estimate-based timeouts.Nick Mathewson2023-06-224-4/+33
| | | | | | | | | | | | | | | | | | | | This will help create good timeout values for various onion-service operations.
* | | | Merge branch 'move-dummy-keymgr-impl' into 'main'gabi-2502023-06-2213-146/+159
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | keymgr: Move dummy keymgr impl from arti-client to tor-keymgr See merge request tpo/core/arti!1269