| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | tor-hsclient: Expire old data eventually | Ian Jackson | 2023-06-23 | 4 | -6/+101 | |
| | | | | | | | | | | | | | | | | | | | | | Otherwise we'll fill up our RAM with junk. | |||||
| * | | | | | Merge branch 'keymgr-error-trait' into 'main' | gabi-250 | 2023-06-26 | 9 | -174/+225 | |
| |\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | keymgr: Create a KeystoreError trait for the `KeyMgr` and `KeyStore`s See merge request tpo/core/arti!1284 | |||||
| | * | | | | keymgr: Document why we need the StdError impl for tor_keymgr::Error. | Gabriela Moldovan | 2023-06-26 | 1 | -0/+5 | |
| | | | | | | ||||||
| | * | | | | keymgr: Remove AsRef<dyn StdError> trait bound and unneeded impls. | Gabriela Moldovan | 2023-06-26 | 5 | -28/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't really need the `AsRef<dyn StdError>` impls if we make `StdError` a supertrait of `KeystoreError` (and remove the `AsRef<dyn StdError>` trait bound). | |||||
| | * | | | | keymgr: Add the file path to SshKeyError context. | Gabriela Moldovan | 2023-06-26 | 2 | -9/+29 | |
| | | | | | | ||||||
| | * | | | | keymgr: Add the path to ArtiNativeKeystoreError Display impl. | Gabriela Moldovan | 2023-06-26 | 1 | -3/+3 | |
| | | | | | | ||||||
| | * | | | | keymgr: Replace Error with Box<dyn KeystoreError>. | Gabriela Moldovan | 2023-06-26 | 6 | -189/+74 | |
| | | | | | | | | | | | | | | | | | | | | | Part of #901 | |||||
| | * | | | | keymgr: Add helper for boxing SshKeyError. | Gabriela Moldovan | 2023-06-26 | 1 | -0/+7 | |
| | | | | | | ||||||
| | * | | | | keymgr: Implement KeystoreError for SshKeyError. | Gabriela Moldovan | 2023-06-26 | 1 | -2/+18 | |
| | | | | | | ||||||
| | * | | | | keymgr: Add some initial variants to SshKeyError. | Gabriela Moldovan | 2023-06-26 | 1 | -1/+20 | |
| | | | | | | ||||||
| | * | | | | keymgr: Define an error type for the ssh module. | Gabriela Moldovan | 2023-06-26 | 1 | -0/+8 | |
| | | | | | | ||||||
| | * | | | | keymgr: Define an error type for ArtiNativeKeyStore. | Gabriela Moldovan | 2023-06-26 | 2 | -0/+75 | |
| | | | | | | | | | | | | | | | | | | | | | Part of #901 | |||||
| | * | | | | keymgr: Implement KeystoreError for Bug. | Gabriela Moldovan | 2023-06-26 | 2 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also implements `AsRef<StdError>` for `Bug` to satisfy the `KeystoreError: AsRef<dyn StdError>` trait bound. Part of #901 | |||||
| | * | | | | keymgr: Create a KeyStoreError trait for keystore errors. | Gabriela Moldovan | 2023-06-26 | 4 | -1/+36 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | The new `BoxedError` type will replace `tor_keymgr::Error`. Part of #901 | |||||
| * | | | | Merge branch 'stabilize-ll-crates' into 'main' | Nick Mathewson | 2023-06-23 | 5 | -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-api | Nick Mathewson | 2023-06-23 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | The relevant ErrorKinds and macros are now stable. | |||||
| | * | | | | hscrypto: remove "tor-error/experimental-api" dependency | Nick Mathewson | 2023-06-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | The ErrorKinds that we use here are now non-experimental. | |||||
| | * | | | | tor-error: Mark define_asref_dyn_std_error as non-experimental | Nick Mathewson | 2023-06-23 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (I see no problems with this macro. In the worst case, we deprecate it someday.) | |||||
| | * | | | | hscrypto: downgrade a comment to HSS | Nick Mathewson | 2023-06-22 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'random-idx-where' into 'main' | Ian Jackson | 2023-06-23 | 1 | -20/+40 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | random_idx_where: Fix bias See merge request tpo/core/arti!1301 | |||||
| | * | | | | | random_idx_where: Ensure uniform distribution of choice | Jim Newsome | 2023-06-23 | 1 | -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_where | Jim Newsome | 2023-06-23 | 1 | -0/+10 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'circuit-bis' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -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 !1299 | Ian Jackson | 2023-06-23 | 1 | -0/+6 | |
| | | | | | | | | ||||||
| * | | | | | | | Merge branch 'expire' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -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 dirtiness | Ian Jackson | 2023-06-23 | 1 | -0/+2 | |
| | | |_|/ / / | |/| | | | | ||||||
| * | | | | | | Merge branch 'idx' into 'main' | Ian Jackson | 2023-06-23 | 1 | -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 slice | Ian Jackson | 2023-06-23 | 1 | -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 range | Ian Jackson | 2023-06-23 | 1 | -0/+3 | |
| | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Fixes #918. | |||||
| * | | | | | | Merge branch 'circuit' into 'main' | Alexander Færøy | 2023-06-23 | 1 | -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 counters | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | And delete the corresponding TODO. | |||||
| | * | | | | tor-hsclient: Downgrade multi-ipt TODO | Ian Jackson | 2023-06-23 | 1 | -3/+4 | |
| | | | | | | ||||||
| | * | | | | tor-hsclient: Downgrade rend/ipt parallelism TODOs and add links | Ian Jackson | 2023-06-23 | 1 | -5/+8 | |
| | | | | | | ||||||
| | * | | | | tor-hsclient: Downgrade ipt parallelism to a note | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | | ||||||
| | * | | | | tor-hsclient: Downgrade hsdir fetch parallelism to a note | Ian Jackson | 2023-06-23 | 1 | -2/+4 | |
| | | | | | | ||||||
| | * | | | | tor-hsclient: Drop intro circuit after ack | Ian Jackson | 2023-06-23 | 1 | -7/+5 | |
| | |/ / / | ||||||
| * | | | | Merge branch 'data2' into 'main' | Nick Mathewson | 2023-06-23 | 1 | -0/+32 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | tor-hsclient: Expire old IPT data See merge request tpo/core/arti!1295 | |||||
| | * | | | tor-hsclient: Write a test plan for IPT state management | Ian Jackson | 2023-06-23 | 1 | -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 data | Ian Jackson | 2023-06-23 | 1 | -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 Mathewson | 2023-06-23 | 2 | -6/+8 | |
| |\ \ \ | | | | | | | | | | | | | (This is !1294, minus a redundant merge.) | |||||
| | * | | | Corrected the order of imports in order to make the 'rust-checks' job ↵ | Andy | 2023-06-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | complete successfully. | |||||
| | * | | | Provided a fix for #831 - 'Unused import' warnings on Windows | Andy | 2023-06-23 | 2 | -6/+8 | |
| | | |/ | |/| | ||||||
| * | | | Merge branch 'expire' into 'main' | Ian Jackson | 2023-06-23 | 3 | -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, ticket | Ian Jackson | 2023-06-22 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | tor-hsclient: Expand explanation of `last_used` (for Open) | Ian Jackson | 2023-06-22 | 1 | -1/+20 | |
| | | | | ||||||
| | * | | tor-hsclient: Make comment about circuit expiry more accurate | Nick Mathewson | 2023-06-22 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | tor-hsclient: linkify a URL in a doc comment | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Apply broken formatting as demanded by rustfmt | Ian Jackson | 2023-06-22 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsclient: Test circuit expiry | Ian Jackson | 2023-06-22 | 1 | -1/+46 | |
| | | | | ||||||
| | * | | tor-hsclient: Expire HS circuits that we don't want to reuse | Ian Jackson | 2023-06-22 | 1 | -4/+128 | |
| | | | | ||||||
