aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-proto: reactor tests: Use debug fmt on an errorIan Jackson2022-12-121-1/+1
| |/ | | | | | | | | | | | | In tests, debug fmt is usually appropriate. Found while looking for a candidate for https://gitlab.torproject.org/tpo/core/arti/-/issues/680
* | Tackling issue #663 (Use humantime in tests)coral2022-12-128-13/+20
| |
* | Rename Sensitive::into_inner() from ::unwrap()Ian Jackson2022-12-122-5/+21
|/ | | | | | | | | | By analogy with similar methods on Mutex, Cell, BufReader, etc. etc. Discussed here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/890#note_2856885 Make it a method, as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/928
* Fix typosDimitris Apostolou2022-12-092-2/+2
|
* Merge branch 'doc-config-must' into 'main'Nick Mathewson2022-12-071-0/+60
|\ | | | | | | | | | | | | tor-config: Document how to reject compiled-out features Closes #654 See merge request tpo/core/arti!929
| * tor-config: Document how to reject compiled-out featuresIan Jackson2022-12-061-0/+49
| | | | | | | | Fixes #654
| * tor-config: Add "particular situations" sections and mention list_builderIan Jackson2022-12-061-0/+11
| |
* | Merge branch 'shewllexpand' into 'main'Nick Mathewson2022-12-072-3/+9
|\ \ | | | | | | | | | | | | tor-config: Update to shellexpand 3.x See merge request tpo/core/arti!927
| * | tor-config: Update to shellexpand 3.xIan Jackson2022-12-062-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the new upstream version (published by me, recently). It has the same MSRV and one breaking change: The caller who specifies a home dir function for substituting into strings, must now supply a string, not Path. Previously shellexpand would allow the caller to supply non-unicode data, and then simply not substitute it. That was an infelicity in the shellexpand API. Now this infelicity is pushed into our code. The overall behaviour of Arti hasn't changed as a result. And it seems reasonable to me. shellexpand 3.x also has a module for expanding Paths instead, in response to requests for this filed as upstream tickets. We *could* use that but I am not sanguine about that approach: the Pathness would spread throughout much of our config and file handling code. I think we should at the very least postpone trying to work with invalid-unicode-paths as long as we can.
| * | tor-config: home dir handling: fmt pre-patchIan Jackson2022-12-061-1/+3
| |/
* | Merge branch 'spelling-20221206' into 'main'Ian Jackson2022-12-064-15/+15
|\ \ | | | | | | | | | | | | A few spelling fixes for bridgedescmgr code See merge request tpo/core/arti!925
| * | arti-client: spelling fix.Nick Mathewson2022-12-061-1/+1
| | |
| * | dirmgr: Spelling fixes and normali[sz]ationsNick Mathewson2022-12-063-14/+14
| | |
* | | Merge branch 'persist_err_test' into 'main'Ian Jackson2022-12-062-8/+29
|\ \ \ | | | | | | | | | | | | | | | | Test a couple more error cases in tor-persist, and lightly refactor See merge request tpo/core/arti!930
| * | | Test a couple more error cases in tor-persist.Nick Mathewson2022-12-062-8/+29
| |/ /
* | | Merge branch 'safelog_tests' into 'main'Ian Jackson2022-12-062-3/+69
|\ \ \ | | | | | | | | | | | | | | | | More unit tests for safelog crate See merge request tpo/core/arti!928
| * | | safelog: tests for accessors.Nick Mathewson2022-12-061-0/+2
| | | |
| * | | safelog: tests for BoxSensitive.Nick Mathewson2022-12-061-0/+17
| | | |
| * | | safelog: more tests for Redacted.Nick Mathewson2022-12-062-3/+50
| |/ /
* | | Merge branch 'faravahar-removal' into 'main'Ian Jackson2022-12-061-1/+0
|\ \ \ | |_|/ |/| | | | | | | | dirauth: Remove Faravahar See merge request tpo/core/arti!924
| * | dirauth: Remove FaravaharDavid Goulet2022-12-061-1/+0
| | | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/tor/-/issues/40688 Signed-off-by: David Goulet <[email protected]>
* | | dirauth: New v3 identity key for moria1David Goulet2022-12-061-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | We are rotating moria1's key due to a break-in few weeks ago. See https://gitlab.torproject.org/tpo/core/tor/-/issues/40722 for more details. The original MR for C-tor (tor.git) done by Roger Dingledine, moria1's operator, is here: https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/662 Signed-off-by: David Goulet <[email protected]>
* | Merge branch 'optional-deps-static' into 'main'eta2022-12-053-5/+5
|\ \ | |/ |/| | | | | | | | | make use of 1.60 weak dependancy features Closes #434 See merge request tpo/core/arti!920
| * make use of 1.60 opt dependancy featurestrinity-1686a2022-11-303-5/+5
| |
* | Remove semver.md files now that 1.1.0 is released.Nick Mathewson2022-11-3017-46/+0
| |
* | Merge branch 'version_bump' into 'main'Nick Mathewson2022-11-3037-237/+237
|\ \ | | | | | | | | | | | | Bump the minor version of every crate. See merge request tpo/core/arti!918
| * | Bump the minor version of every crate.Nick Mathewson2022-11-3037-237/+237
| |/ | | | | | | | | We made this job easy this time around: by incrementing our MSRV, we have forced ourselves to do at least a minor bump everywhere.
* / Hang onto a PT object after it is launchedNick Mathewson2022-11-301-0/+1
|/ | | | | | | If we don't do this, then snowflake's stdin will get closed and it will exit immediately. Found while investigating #333.
* Merge branch 'renaming' into 'main'Nick Mathewson2022-11-307-13/+13
|\ | | | | | | | | | | | | Renaming a couple of items for arti 1.1.0 Closes #623 See merge request tpo/core/arti!916
| * Rename for_circuit_usage => as_relay_with_descNick Mathewson2022-11-302-2/+2
| |
| * Rename TransportHelper => TransportImplHelper.Nick Mathewson2022-11-305-11/+11
| |
* | Downgrade a "TODO pt-client" commentNick Mathewson2022-11-301-1/+3
|/
* Merge branch 'redacted_test_serial' into 'main'Ian Jackson2022-11-301-0/+1
|\ | | | | | | | | | | | | safelog: Apply #[serial] to test_redacted() Closes #675 See merge request tpo/core/arti!914
| * safelog: Apply #[serial] to test_redacted()Nick Mathewson2022-11-301-0/+1
| | | | | | | | Closes #675.
* | Merge branch 'ptmgr-todos' into 'main'eta2022-11-301-7/+2
|\ \ | | | | | | | | | | | | Dispose of ptmgr TODOs (and remove a dead variable) See merge request tpo/core/arti!912
| * | ptmgr todo: Remove dead code allowIan Jackson2022-11-301-2/+0
| | |
| * | ptmgr: No need for state_dir in PtMgrIan Jackson2022-11-301-4/+1
| | | | | | | | | | | | This is used exclusively by the reactor.
| * | ptmgr todo: Tolerate exposing the Vec for nowIan Jackson2022-11-301-1/+1
| |/ | | | | | | | | We may want to change this later, but this API is in a low level crate, so this isn't a blocker.
* | Merge branch 'bridge-addr-2' into 'main'Nick Mathewson2022-11-306-67/+254
|\ \ | | | | | | | | | | | | Separate BridgeAddr and PtTargetAddr See merge request tpo/core/arti!904
| * | bridge config: Add a TODO about a redundant cloneIan Jackson2022-11-301-0/+3
| | |
| * | bridge config: Rename accessorsIan Jackson2022-11-302-4/+4
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/904#note_2858480
| * | bridge config: Use unreachable, not None.expectIan Jackson2022-11-301-2/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/904#note_2858479
| * | BridgeAddr tests: dedupe slightlyIan Jackson2022-11-301-12/+11
| | |
| * | Separate BridgeAddr and PtTargetAddrIan Jackson2022-11-306-67/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/668#note_2858220 This commit is difficult to split up. The innards of BridgeAddr and PtTargetAddr are still a bit entangled.
* | | Merge branch 'fix_pt_protocol' into 'main'eta2022-11-301-11/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve two bugs in our pt-socks implementation Closes #676 See merge request tpo/core/arti!913
| * | | PT protocol: pt-spec conformance with password fieldNick Mathewson2022-11-301-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pt-spec says: ``` If the encoded argument list is less than 255 bytes in length, the "PLEN" field must be set to "1" and the "PASSWD" field must contain a single NUL character. ``` This is a very silly thing to say, but some PTs enforce it. Fixes #676.
| * | | connect_via_proxy: Actually send initial handshake.Nick Mathewson2022-11-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Our previous code would make a TCP connection to the proxy, then wait forever for it to say something. Whoops! Part of a fix for #676.
| * | | PT SOCKS tests: add a few more testsIan Jackson2022-11-301-1/+6
| | | |
| * | | PT SOCKS tests: test name that only fits in V4Ian Jackson2022-11-301-3/+7
| | | |
* | | | Merge branch 'abolish-set-default-transport' into 'main'Ian Jackson2022-11-302-19/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Abolish ChanMgr::set_default_transport See merge request tpo/core/arti!910