summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | maint: Fix python lintsWesley Aptekar-Cassels2025-03-051-2/+2
| | |
| * | maint: Add note to matrix-check CLI about assumed invariants.Wesley Aptekar-Cassels2025-03-051-1/+2
| | |
| * | maint: Add docs to matrix-check and sort list of cratesWesley Aptekar-Cassels2025-03-051-2/+9
| | |
| * | maint: Make matrix-check run in parallel in CI.Wesley Aptekar-Cassels2025-03-042-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should ideally do this for every-crate as well, but since that's written in bash, it's a little more annoying to do. The options there are either to rewrite it in python (probably good to do anyways) or to modify the list_crates script to move the parallelization in there (useful since it lets us reuse code, but doing that with a generator is likely not possible). For now I'm just going to file a ticket to do that and go back to working on stuff i actually should be doing :) Fixes: #1625
* | | Merge branch 'cargo-audit' into 'main'Alexander Hansen Færøy2025-03-102-2/+12
|\ \ \ | | | | | | | | | | | | | | | | cargo_audit: Ignore RUSTSEC-2024-0436 and fix RUSTSEC-2025-0009 See merge request tpo/core/arti!2847
| * | | cargo_audit: Bump ring to 0.17.13.Gabriela Moldovan2025-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ring` versions < 0.17.12 are affected by [RUSTSEC-2025-0009] (potential panic when overflow checks are enabled). I don't believe we are affected, because * we don't use `ring::aead::quic::HeaderProtectionKey::new_mask` * operations using `ring::aead::{AES_128_GCM, AES_256_GCM}` can panic only in very specific circumstances, namely when encrypting/decrypting 64 gigabytes of data in one go, if overflow checks are enabled (and Arti never buffers that much data) [RUSTSEC-2025-0009]: https://rustsec.org/advisories/RUSTSEC-2025-0009
| * | | cargo_audit: Ignore paste deprecation notice.Gabriela Moldovan2025-03-101-0/+10
|/ / /
* | | Merge branch 'fix-deprecation-warning-in-hsc' into 'main'gabi-2502025-03-102-2/+1
|\ \ \ | | | | | | | | | | | | | | | | Remove incorrect deprecation warning in hsc See merge request tpo/core/arti!2845
| * | | arti: Remove incorrect deprecation warning in hschjrgrn2025-03-102-2/+1
|/ / /
* | | Merge branch 'patch-2' into 'main'gabi-2502025-03-071-4/+6
|\ \ \ | | | | | | | | | | | | | | | | Edit connecting-to-onion.md See merge request tpo/core/arti!2844
| * | | docs: Fix arti path in example usage.vijayabhaskar_782025-03-071-4/+6
|/ / /
* | | Merge branch 'deprecate-old-time' into 'main'Ian Jackson2025-03-0613-9/+74
|\ \ \ | |_|/ |/| | | | | | | | tor-rtmock: Actually decorate MockSleepProvider with `#[deprecated]` See merge request tpo/core/arti!2843
| * | tor-rtmock: Add since= to deprecateds (formatting)Ian Jackson2025-03-061-1/+2
| | |
| * | tor-rtmock: Add since= to deprecatedsIan Jackson2025-03-062-2/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2843#note_3169975
| * | tor-rtmock: Fiddle with a comment formatIan Jackson2025-03-061-2/+3
| | | | | | | | | | | | For some reason rustfmt wants to mess with this. Forestall it.
| * | tor-rtmock: Actually apply deprecated attr to deprecated time.rsIan Jackson2025-03-065-5/+36
| | |
| * | tor-rtmock: allow-Decorate every use of MockSleepProviderIan Jackson2025-03-068-3/+35
|/ / | | | | | | | | | | | | MockSleepProvider and MockSleepRuntime have been declared deprecated by the docs for some time. We're about to mark them `#[deprecated]`. This commit has been split out for clarity of review.
* | Merge branch 'move-circ' into 'main'gabi-2502025-03-069-1312/+1400
|\ \ | | | | | | | | | | | | tor-proto: Move Circuit to its own module. See merge request tpo/core/arti!2837
| * | tor-proto: s/note/warning in function docs about locking stream map mutex.Gabriela Moldovan2025-03-061-1/+1
| | |
| * | tor-proto: s/has_first_hop/has_hops (fmt).Gabriela Moldovan2025-03-061-5/+1
| | |
| * | tor-proto: s/has_first_hop/has_hops.Gabriela Moldovan2025-03-063-3/+3
| | |
| * | tor-proto: Fix up docs post-refactoring (fmt).Gabriela Moldovan2025-03-061-4/+1
| | |
| * | tor-proto: Fix up docs post-refactoring.Gabriela Moldovan2025-03-061-3/+3
| | |
| * | tor-proto: Move Circuit to its own module.Gabriela Moldovan2025-03-069-1325/+1393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly code motion + some visibility adjustments. Moving all of these outside of `reactor` makes it easier to see which parts are internal vs which are accessed by the reactor. It also helps us enforce/audit invariants such as 'there should be no contention on the `CircHop::map` mutex' (the stream map is now private to `reactor::circuit`, and therefore nothing inside `reactor` will be directly accessing it).
| * | tor-proto: Avoid accessing CircHop internals from the reactor.Gabriela Moldovan2025-03-063-2/+16
| | | | | | | | | | | | This will enable us to move `CircHop` out of `reactor.rs`.
| * | tor-proto: Avoid accessing Circuit internals from the reactor.Gabriela Moldovan2025-03-062-3/+16
|/ / | | | | | | This will enable us to factor `Circuit` out of `reactor.rs`.
* | Merge branch 'fix-nightly' into 'main'Nick Mathewson2025-03-061-1/+0
|\ \ | | | | | | | | | | | | tor-dirmgr: Remove `dbg!` See merge request tpo/core/arti!2838
| * | tor-dirmgr: remove `dbg!`Steven Engler2025-03-051-1/+0
|/ /
* | Merge branch 'extdocs-pruning' into 'main'Nick Mathewson2025-03-053-102/+473
|\ \ | | | | | | | | | | | | | | | | | | dirmgr: When expiring a consensus, remove its blob from disk. Closes #1655 See merge request tpo/core/arti!2504
| * | sqlite: Handle vanished blobs during consensus loadingNick Mathewson2025-03-053-16/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Here we move the responsibility for removing ExtDoc entries for vanished blobs into the _caller_ of read_blob(): we want to tidy all such entries in one go. Unlike a (reverted) previous approach, this time we don't need a retry loop.
| * | sqlite: add a method to tidy extdocs for vanished blobsNick Mathewson2025-03-051-1/+93
| | |
| * | sqlite.rs: Let read_blob signal whether it cleaned up.Nick Mathewson2025-03-051-8/+28
| | | | | | | | | | | | We'll want to use this information to tell us whether to retry.
| * | sqlite: Extract body of latest_consensus into a new methodNick Mathewson2025-03-051-23/+33
| | | | | | | | | | | | I'm about to add a retry mechanism.
| * | sqlite: Stop ignoring any errors.Nick Mathewson2025-03-051-3/+22
| | | | | | | | | | | | | | | We've already stopped ignoring any DB errors, so we may as well make sure that any FS errors we encounter are also reported.
| * | sqlite: Add a comment about O(n) query.Nick Mathewson2025-03-051-0/+2
| | |
| * | sqlite.rs: Rustfmt.Nick Mathewson2025-03-051-86/+87
| | |
| * | sqlite.rs: Put SavedBlobHandle into its own moduleNick Mathewson2025-03-051-13/+30
| | | | | | | | | | | | | | | | | | | | | This will help us keep its members private from the rest of sqlite.rs, and ensure that things are kept consistent. (This violates rust formatting for clarity. I'll reindent after.)
| * | sqlite.rs: More comments about blob rollback.Nick Mathewson2025-03-051-1/+7
| | |
| * | sqlite.rs: Give SavedBlobHandle more methods.Nick Mathewson2025-03-051-24/+47
| | | | | | | | | | | | | | | This is in preparation for making it opaque from the rest of the code, so that we can more easily reason about it.
| * | sqlite.rs: add comments about consistencyNick Mathewson2025-03-051-2/+14
| | |
| * | sqlite.rs: Add a note on blob consistency (or lack thereof)Nick Mathewson2025-03-051-0/+77
| | |
| * | sqlite.rs: Rename dtype to digest_type to avoid further confusion.Nick Mathewson2025-03-051-6/+6
| | |
| * | dirmgr: Propagate row-conversion failure from expire_all.Nick Mathewson2025-03-051-5/+4
| | | | | | | | | | | | | | | This can only happen because of a bug or because of db corruption, and we probably shouldn't ignore it.
| * | dirmgr: When expiring a consensus, remove its blob.Nick Mathewson2025-03-051-2/+68
| | | | | | | | | | | | | | | | | | | | | Previously, we would leave the ExtDocs blob to expire on its own, and it would hang out for up to a week. Closes #1655.
| * | dirmgr: Store the correct value in ExtDocs.typeNick Mathewson2025-03-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, document that old values will be kicking around for a little while. Fortunately: - Nothing actually looked at these values before. - All elements in this table have an expiration date, so once a new version of Arti has been running for a week or two, the old erroneous values will go away.
* | | Merge branch 'test-all-features' into 'main'Alexander Hansen Færøy2025-03-051-0/+16
|\ \ \ | |/ / |/| | | | | | | | docs: Add perl and C compiler as build dependencies to 'CONTRIBUTING.md' See merge request tpo/core/arti!2836
| * | docs: add "C compiler" as a build dependency to 'CONTRIBUTING.md'Steven Engler2025-03-041-0/+2
| | |
| * | docs: add perl as a build dependency to 'CONTRIBUTING.md'Steven Engler2025-03-041-0/+14
| |/
* | Merge branch 'x509-signature-yeet' into 'main'Nick Mathewson2025-03-058-165/+257
|\ \ | | | | | | | | | | | | | | | | | | Switch from x509-signature to rustls-webpki when using rustls. Closes #1824 and #1854 See merge request tpo/core/arti!2816
| * | Add permissions for aws-lc-* licensesNick Mathewson2025-03-041-0/+7
| | |