Commit Graph

7591 Commits

Author SHA1 Message Date
Gabriela Moldovan 258dd195e0 keymgr: Explain why the TODO regarding EncodableKey can't be addressed. 2023-07-05 22:21:47 +01:00
Nick Mathewson afa51fd5ca Add TODO comments about possibly migrating away from the backtrace crate. 2023-07-05 16:39:11 -04:00
Nick Mathewson 9c4de185e9 arti: Install a panic hook that sends messages to `tracing`
(Also leaves installed the default handler that sends messages to
stderr.)

Closes #921.
2023-07-05 16:37:10 -04:00
Nick Mathewson 877c480bfe Merge branch 'shadow-onion' into 'main'
CI: extend shadow test to test an onion service connection

See merge request tpo/core/arti!1292
2023-07-05 19:50:53 +00:00
Ian Jackson 0003a632de Merge branch 'unpublishing' into 'main'
Mark several crates with `publish=false`.

Closes #944

See merge request tpo/core/arti!1371
2023-07-05 16:49:41 +00:00
Saksham Mittal c94b1b6574
Remove now unnecessary lines for import 2023-07-05 19:03:53 +05:30
Saksham Mittal 68948e9677
Import CompoundFactory regardless of feature level 2023-07-05 18:59:54 +05:30
Saksham Mittal 58df83dcde
Create new method to expose CompoundFactory 2023-07-05 18:53:22 +05:30
Saksham Mittal 7600200f15
Expose CompoundFactory for later exposure in API 2023-07-05 18:39:44 +05:30
gabi-250 d0c9140bb2 Merge branch 'faster-ci' into 'main'
try making CI faster

See merge request tpo/core/arti!1373
2023-07-04 23:56:10 +00:00
trinity-1686a 7c797d822e fix audit 2023-07-04 20:57:25 +02:00
trinity-1686a 25f4eb1dc5 try making CI faster 2023-07-04 20:53:38 +02:00
Alexander Færøy b77a7280f5 Merge branch 'bridge-pt-docs' into 'main'
Additional documentation around bridges/PT configuration

Closes #706

See merge request tpo/core/arti!1370
2023-07-03 21:56:48 +00:00
Jim Newsome 0b33969030 CI: enable onion-service-client in rust-latest build
The shadow test needs this to use this build when testing onion
services.
2023-07-03 14:44:33 -05:00
Jim Newsome 3eda3a7936 articlient-onion: don't filter onion addresses 2023-07-03 14:15:23 -05:00
Jim Newsome 3b01f3ba61 Dedupe arti configs and match TestingTorNetworks HS config 2023-07-03 14:15:23 -05:00
Nick Mathewson 517bf1cf03 Mark arti-bench with "publish = false"
This crate is only useful for development; earlier we published it,
but I believe that was in error.
2023-07-03 13:52:20 -04:00
Nick Mathewson 2c5b81e872 Mark vestigial crates as "publish=false"
These crates were started, but they aren't integrated into
Arti (yet?).  As such it doesn't make sense to keep publishing
updated versions of them every time we tweak our standard
lints.
2023-07-03 13:49:51 -04:00
Jim Newsome 2b895f4de3 shadow test: disable trace-level logging
Some hosts were configured to log at trace level instead of the global
default (debug level). This was resulting in quite large shadow log
output.
2023-07-03 12:49:14 -05:00
Jim Newsome 5755add5e0 shadow test: disable worker spinning
This optimization doesn't seem to help much for this test; disable it to
avoid burning CI runner CPU.
2023-07-03 12:49:14 -05:00
Jim Newsome 3dc90f03ec shadow test: enable arti's `log_sensitive_information` option 2023-07-03 12:49:14 -05:00
Jim Newsome e773d2c44a shadow test: fix hidden service dir permissions 2023-07-03 12:49:14 -05:00
Jim Newsome 1baa1193ce shadow test: add 2 more relays
Without this, the onion client was failing to find a guard.
We recently made this change in shadow's "tor minimal" test as well.
2023-07-03 12:49:14 -05:00
Jim Newsome c846898406 shadow test: fail the test if streams didn't succeed 2023-07-03 12:49:14 -05:00
Jim Newsome 9c3bb8dcbb shadow test: add and validate arti onion client 2023-07-03 12:49:14 -05:00
Jim Newsome e850654afb shadow test: add onion server 2023-07-03 12:49:14 -05:00
Nick Mathewson 19b1d3bba5 Additional documentation around bridges/PT configuration
This tries to flesh out some of the details for users who may be new
to bridges and PTs.

Closes #706.
2023-07-03 13:00:25 -04:00
Nick Mathewson f626bcd7f1 Finish a sentence in the documentation for TorClient::netdir() 2023-07-03 12:35:31 -04:00
Nick Mathewson 1f49be1a77 tor-config: Use next_back() instead of rev().next()
This is a new warning^Wsuggestion from clippy nightly.
2023-07-03 08:34:54 -04:00
Alexander Færøy 1ae06399d0 Merge branch 'what-we-do-in-the-release-process' into 'main'
Update Release.md to describe our current process

Closes #942

See merge request tpo/core/arti!1366
2023-06-30 20:06:35 +00:00
Ian Jackson 27ad9ca249 tor-proto: run rustfmt 2023-06-30 18:43:20 +01:00
Ian Jackson a97cb2af6a tor-proto conversations: semver 2023-06-30 18:43:20 +01:00
Ian Jackson 2a67468d27 tor-proto conversations: Update a TODO
The feature name is wrong now.
2023-06-30 18:43:20 +01:00
Ian Jackson 78e4f9e86b tor-proto conversations: Drop a TODO
I think this name is fine.
2023-06-30 18:43:20 +01:00
Ian Jackson 226bca984b tor-proto conversation API: Provide ConversationInHandler 2023-06-30 18:43:20 +01:00
Ian Jackson 800f390a9d tor-proto circuit: Plumb async Context through
handle_msg is going to want this in a moment.
2023-06-30 18:28:41 +01:00
Ian Jackson c599258b85 tor-proto conversation API: Soften a warning
If the circuit is just being used by us (which is likely, if we're
using this API) then the only reactor we're blocking is our own.
2023-06-30 18:28:41 +01:00
Ian Jackson 287c458731 tor-proto conversation API: Implement Conversation
Now, after you call start_conversation_last_hop, you can send more
messages if you like.
2023-06-30 18:28:41 +01:00
Ian Jackson 77903a295f tor-proto: Make the handler in SendMsgAndInstallHandler optional
We're going to want to do almost-the-same thing but without installing
a new handler.
2023-06-30 18:14:34 +01:00
Ian Jackson 20f1e065b3 tor-proto conversation API: Return a Conversation
This is just a placeholder for now, but it'll be a thing you can send
more messages with.
2023-06-30 18:03:17 +01:00
Ian Jackson 2882e3a93e tor-proto conversation API: Rename to start_conversation_last_hop
Was send_control_message.
2023-06-30 18:02:56 +01:00
Ian Jackson 3812e3ccdd tor-proto conversation API: Make starting message optional
We're going to let people start a conversation and either expect to
receive first, or send messages ad-hoc later.
2023-06-30 18:02:15 +01:00
Ian Jackson b162d005a7 tor-proto conversation API: Rename to ConversationFinished
Was UninstallHandler.  We are going to talk more about conversations
and less about handlers (although, the fact of there being a handler
will still be visible).
2023-06-30 18:02:04 +01:00
Ian Jackson 408c8f30ad tor-proto circuit: Make reactor::run_once modulae-private
Nothing else wants this and having it pub(super) is confusing.
2023-06-30 17:34:50 +01:00
Ian Jackson 21c564fa01 tor-hsclient: Mock traits: Work around an async boobytrap 2023-06-30 17:34:01 +01:00
Nick Mathewson 92daa577c2 Release.md: Add an extra semver-checks to the process.
(We didn't do this previously, but it is a good idea.)
2023-06-30 12:30:44 -04:00
Nick Mathewson 2f005a1047 Release.md: Revise the release sections
* Remove instructions to sleep
* Explain how to tag
* Remind myself about the workaround for
  Fedora's delightful gpg/yubikey configuration.
* Note that we should update "pages" till the blog post is up.
2023-06-30 12:21:48 -04:00
Nick Mathewson d0e00e4f4e Release.md: document preparation sections
I've split this into
"what I do in the days leading up to the release" and
"what I do right before the release".

There's a lot more detail now, including:

* up-to-date invocations for `cargo upgrade`
* up-to-date changelog instructions
* our current version-bumping instructions
* possible side-effects from version bumps.
2023-06-30 12:18:57 -04:00
Nick Mathewson 451306df72 Release.md: Write a tools section. 2023-06-30 12:18:00 -04:00
Nick Mathewson a8dffab1d1 Release.md: Write the "are we ready to release" section.
* Remove references to a couple of things
  that our CI now does for us
  (`cargo_audit` and `check_licenses`).
* Mention ~Blocker issues and MRs.
* Mention that some of our CI steps are allowed-to-fail,
  but failures should be examined.
* Mention that some of our tools have exception lists
  that should get reviewed.
* Mention `semver-checks` and `fixup-features`.
2023-06-30 12:17:39 -04:00