summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Install systemd filessyphyr2025-04-045-4/+50
| | | |
| | * | Create unprivileged user for systemdsyphyr2025-04-042-0/+69
| | | |
| | | * Address review - revert lint changes other than MD012hashcatHitman2025-04-081-48/+41
| | | | | | | | | | | | | | | | | | | | A lot of these lints are better off agreed upon through policy and enforced globally.
| | | * dev doc: Replaced outdated referenced to KeystoreSweeperhashcatHitman2025-04-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of commit `0db0b6ede6ddba88e9a270a3e07587fefaab6fb4`, `crates/tor-hsservice/src/svc/keystore_sweeper.rs` was deleted and the key deletion was moved to `crates/tor-hsservice/src/svc/publish/reactor.rs`. As of commit `bebb6bdc6e15f42a3e1de7b3a4a68aa16f815294`, `crates/tor-hsservice/src/svc/publish/reactor.rs` was moved to `crates/tor-hsservice/src/publish/reactor.rs`, which is where it resides as of writing this. Whoever ends up being the one to work on this will probably appreciate having a more relevant reference point.
| | | * dev doc: Respect Markdown lints in state-management-cli.mdhashcatHitman2025-04-061-45/+47
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Fixes all the lints caught by the markdownlint extension in the file `doc/dev/notes/state-management-cli.md`, with the exception that MD024 is set to have `siblings_only` enabled, since it makes sense to allow here. It would be nice to set up a global markdownlint configuration some time, but that might be tricky.
* | | Merge branch 'android-build' into 'main'wesleyac2025-04-033-3/+32
|\ \ \ | |/ / |/| | | | | | | | fix builds for Android See merge request tpo/core/arti!2824
| * | fix builds for AndroidYaksh Bariya2025-03-033-3/+32
| | | | | | | | | | | | | | | | | | | | | This does fix builds for both the arti binary and the tests. Most tests seem to be passing, some are failing. I will try to investigate them and send fixes/create issue to highlight them. Hopefully this helps arti in being production ready fast.
* | | Merge branch 'readme-tweak' into 'main'wesleyac2025-04-031-6/+2
|\ \ \ | | | | | | | | | | | | | | | | README: Remove duplicate link to CONTRIBUTING.md See merge request tpo/core/arti!2889
| * | | README: Remove duplicate link to CONTRIBUTING.mdhashcatHitman2025-03-261-6/+2
| | | | | | | | | | | | | | | | We already link to CONTRIBUTING.md near the top of the README in the "Links" section. There's no real need to add two additional links beyond that, especially if they're going to be in very similar looking sections. So we remove one and modify the other to look a little nicer. I've opted to keep the one closer to the end of the README since the top of the README is already covered by the "Links" section.
* | | | Merge branch 'main' into 'main'Ian Jackson2025-04-031-4/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove outdated TODO See merge request tpo/core/arti!2900
| * | | | Remove outdated TODOCocytusDEDI2025-04-031-4/+0
| | | | |
* | | | | Merge branch 'item-type-validation' into 'main'gabi-2502025-04-032-12/+77
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: ephemeral type validation Closes #1917 See merge request tpo/core/arti!2917
| * | | | | tor-keymgr: ephemeral type validationhashcatHitman2025-04-032-12/+77
|/ / / / /
* | | | | Merge branch 'todo3' into 'main'gabi-2502025-04-027-106/+37
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: BREAKING: Fix TODO: Refactor API: Keystore::insert See merge request tpo/core/arti!2902
| * | | | | tor-keymgr: BREAKING: Refactor API: Keystore::insertplaybahn2025-04-027-65/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop redundant/unused param item_type: &KeystoreItemType from keystore::Keystore::insert. Method now uses param key: &dyn EncodableItem to obtain a KeystoreItemType
| * | | | | tor-keymgr: keystore::ephemeral::insert: Drop item type validationplaybahn2025-04-021-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: Param _item_type is redundant since prev commit. No point in checking if key_data's item type and _item_type are the same, we do things as per key_data's item type from now on. - Removes a test for item type validation.
| * | | | | tor-keymgr: Fix TODO: Refactor API: Keystore::insertplaybahn2025-04-024-28/+17
| | | | | | | | | | | | | | | | | | | | | | | | Makes param item_type redundant. Renames item_type -> _item_type.
* | | | | | Merge branch 'dev/cve/arti_rpc_demo' into 'main'Nick Mathewson2025-04-021-9/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc: Remove dead reference to rpc_demo.py See merge request tpo/core/arti!2913
| * | | | | | doc: Remove dead reference to rpc_demo.pyClara Engler2025-04-011-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was removed in 08847ab290a8d554ccf18e49b3de3abe7d6be9f2.
* | | | | | | Merge branch 'dev/cve/python_gitignore' into 'main'Nick Mathewson2025-04-021-0/+175
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python: Add .gitignore See merge request tpo/core/arti!2914
| * | | | | | | python: Add .gitignoreClara Engler2025-04-011-0/+175
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a Python .gitignore to the `python/` directory, taking from the public domain gitignore file provided by GitHub[1]. Previously, I saw a `__pycache__` in my `git status` which was not nice. [1]: https://github.com/github/gitignore/blob/main/Python.gitignore
* | | | | | | Merge branch 'todo1' into 'main'opara2025-04-021-10/+68
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | arti: Fix TODO: Add test for onion_proxy::build_list See merge request tpo/core/arti!2896
| * | | | | | arti: Fix TODO: Rework test: onion_proxy::build_listplaybahn2025-04-012-72/+32
| | | | | | |
| * | | | | | arti: onion_proxy::build_list: fix TODO: Add testplaybahn2025-04-012-7/+105
| | | | | | |
* | | | | | | Merge branch 'smaller-pcap' into 'main'opara2025-04-011-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shadow: Capture only 40 bytes of packets See merge request tpo/core/arti!2916
| * | | | | | | shadow: capture only 40 bytes of packetsSteven Engler2025-04-011-0/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pcaps are only used to check for leaks by reading the packet source/destination, so we don't need the entire packet. This should make CI artifacts a bit smaller. The fixed-size portion of an IP header is 20 bytes for IPv4 and 40 bytes for IPv6. Shadow doesn't support IPv6, but used the IPv6 header size anyways.
* | | | | | | Merge branch 'remove-ntor-v3-feat' into 'main'opara2025-04-0111-63/+18
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | tor-proto/tor-circmgr: remove "ntor_v3" feature flag (and always enable) See merge request tpo/core/arti!2907
| * | | | | | tor-circmgr: clean up after "ntor_v3" feature flag removalSteven Engler2025-04-011-21/+13
| | | | | | |
| * | | | | | tor-proto: clean up after "ntor_v3" feature flag removalSteven Engler2025-04-011-2/+1
| | | | | | |
| * | | | | | tor-circmgr: removed "ntor_v3" feature flagSteven Engler2025-04-014-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ntor v3 is now always enabled.
| * | | | | | tor-proto: removed "ntor_v3" feature flagSteven Engler2025-04-017-25/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | ntor v3 is now always enabled.
* | | | | | Merge branch 'semver-cleanup' into 'main'gabi-2502025-04-0112-60/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove semver.md files post-release. See merge request tpo/core/arti!2911
| * | | | | | Remove semver.md files post-release.Gabriela Moldovan2025-04-0112-60/+0
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'bump-shadow' into 'main'David Goulet2025-04-014-4/+74
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | CI: shadow ci: reproducibility improvements and notes See merge request tpo/core/arti!2905
| * | | | | | integration-e2e-shadow: add CLI arg for shadow simulation seedJim Newsome2025-03-311-0/+11
| | | | | | |
| * | | | | | integration-chutney-shadow: save tor logsJim Newsome2025-03-311-0/+4
| | | | | | |
| * | | | | | shadow ci README: add notes about reproducibilityJim Newsome2025-03-311-0/+22
| | | | | | |
| * | | | | | shadow ci: add CLI option to run with specified seedJim Newsome2025-03-311-0/+31
| | | | | | |
| * | | | | | shadow test README: update with latest feature setJim Newsome2025-03-311-1/+1
| | | | | | |
| * | | | | | CI: bump shadow versionJim Newsome2025-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump to today's latest - 24343d0ef1da38e2e9fe6684bdffe3cf32c1153d. Primarily to get determinism fix https://github.com/shadow/shadow/pull/3542.
| * | | | | | integration-e2e-shadow: tell chutney to disable tor sandboxJim Newsome2025-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously shadow would report a platform of "shadowsys" in the uname syscall, which would cause chutney to disable sandboxing by default. As of https://github.com/shadow/shadow/pull/3442, shadow now returns "Linux", which causes the chutney default to enable sandboxing. When sandboxing is enabled, the tor processes abort with error, since shadow doesn't support the seccomp syscall.
* | | | | | | Merge branch 'unused' into 'main'Ian Jackson2025-04-013-0/+9
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | Add some allow(unused) See merge request tpo/core/arti!2893
| * | | | | | Add some allow(unused)Ian Jackson2025-03-273-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes several warnings from cargo check --workspace --no-default-features
* | | | | | | Merge branch 'hex-star' into 'main'arti-v1.4.2gabi-2502025-04-011-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-rtcompat: Avoid wildcard dependency requirements. See merge request tpo/core/arti!2910
| * | | | | | | tor-rtcompat: Avoid wildcard dependency requirements.Gabriela Moldovan2025-04-011-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is preventing us from publishing `tor-rtcompat`: > error: failed to publish to registry at https://crates.io > > Caused by: > the remote server responded with an error (status 400 Bad Request): wildcard (`*`) dependency constraints are not allowed on crates.io. Crate with this problem: `hex` See https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies for more information
* | | | | | | Merge branch 'version-bumps-arti-v1.4.2' into 'main'gabi-2502025-04-0157-570/+570
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | Version bumps for the 1.4.2 release See merge request tpo/core/arti!2906
| * | | | | | Bump arti crate to 1.4.2Gabriela Moldovan2025-03-314-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
| * | | | | | Bump all the unstable tor- and arti- crates to 0.29.0.Gabriela Moldovan2025-03-3149-485/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.29.0 done ```
| * | | | | | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2025-03-3133-51/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error ``` We split them in the following categories: * crates with no changes (no version bumps): ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' oneshot-fused-workaround: No change. slotmap-careful: No change. fslock-guard: No change. caret: No change. retry-error: No change. ``` * crates that only have non-functional changes (bump the patch version): - test-temp-dir - equix - fs-mistrust - safelog * crates where APIs were broken (bump minor): - hashx (`RngCore` impl for `SipRand`) The bumps from this commit were created using this script: ``` PATCH=" test-temp-dir equix fs-mistrust safelog " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done MINOR=" hashx " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
| * | | | | | Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2025-03-312-30/+30
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```