Commit Graph

7526 Commits

Author SHA1 Message Date
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
Nick Mathewson de3d415a81 Release.md: Add subheadings for "how to release." 2023-06-30 11:23:49 -04:00
Nick Mathewson 27bd990a79 Remove semver.md files for 1.1.6 2023-06-30 10:28:53 -04:00
Nick Mathewson 6843093052 Merge branch 'keymgr-doc-fix' into 'main'
keymgr: Fix broken doc link.

See merge request tpo/core/arti!1363
2023-06-30 14:10:57 +00:00
Gabriela Moldovan 3afe810a3b keymgr: Fix broken doc link. 2023-06-30 14:41:33 +01:00
Nick Mathewson c48fa78b98 Merge branch 'bump_versions_116' into 'main'
Bump all versions in preparation for 1.1.6 release.

See merge request tpo/core/arti!1362
2023-06-30 13:33:04 +00:00
Nick Mathewson d1ab7844f8 Merge branch 'changelog4' into 'main'
Finish and copy-edit changelog

See merge request tpo/core/arti!1361
2023-06-30 12:48:09 +00:00
Nick Mathewson de13a7319b Bump patchlevel versions on crates with smaller changes
Done with the commands below.

The following crates have had various changes, and should get a
patchlevel bump. Since they are pre-1.0, we do not need to
distinguish new APIs from other changes.

```
cargo set-version --bump patch -p arti-client
cargo set-version --bump patch -p safelog
cargo set-version --bump patch -p tor-bytes
cargo set-version --bump patch -p tor-cert
cargo set-version --bump patch -p tor-circmgr
cargo set-version --bump patch -p tor-config
cargo set-version --bump patch -p tor-consdiff
cargo set-version --bump patch -p tor-dirclient
cargo set-version --bump patch -p tor-dirmgr
cargo set-version --bump patch -p tor-error
cargo set-version --bump patch -p tor-hsservice
cargo set-version --bump patch -p tor-linkspec
cargo set-version --bump patch -p tor-llcrypto
cargo set-version --bump patch -p tor-netdir
cargo set-version --bump patch -p tor-netdoc
cargo set-version --bump patch -p tor-proto
cargo set-version --bump patch -p tor-rpcbase
cargo set-version --bump patch -p tor-socksproto
```

This crate has new features, but no new non-experimental Rust APIs.
So even though it is post-1.0, it gets a patchlevel bump.

```
cargo set-version --bump patch -p arti
```
2023-06-30 08:42:21 -04:00
Nick Mathewson 65e81bf0ca Bump minor versions on crates with breaking changes
Done with:
```
cargo set-version --bump minor -p tor-hsclient
cargo set-version --bump minor -p arti-rpcserver
cargo set-version --bump minor -p tor-hscrypto
cargo set-version --bump minor -p tor-cell
```
2023-06-30 08:38:16 -04:00
Nick Mathewson 40768a9f61 Bump versions on crates with nonfunctional changes
These crates have had nonfunctional changes only, mostly due to !1271,
or ac90cb7500, or documentation changes: crates that depend on
them do not require a version bump.

```
arti-bench
arti-config
arti-hyper
arti-testing
caret
fs-mistrust
retry-error
tor-async-utils
tor-basic-utils
tor-chanmgr
tor-checkable
tor-congestion
tor-consdiff
tor-events
tor-guardmgr
tor-persist
tor-protover
tor-ptmgr
tor-rtcompat
tor-rtmock
tor-units
```
2023-06-30 08:30:55 -04:00
Nick Mathewson f8c7470a3a Changelog: Copy editing
(Thanks to seborn)
2023-06-30 08:19:04 -04:00
Nick Mathewson 9d18ffe6e0 Changelog: fill in links. 2023-06-30 08:04:26 -04:00
Nick Mathewson e96eb11cf3 Changelog: acknowledgements and (incomplete) links. 2023-06-30 08:02:12 -04:00
Nick Mathewson 8ccee46956 Remove "up-to-date-as-of" marker in changelog. 2023-06-30 08:00:05 -04:00
Nick Mathewson 80c1985e07 Write more changelog intro. 2023-06-30 07:58:01 -04:00
gabi-250 8c1e96a22c Merge branch 'arti-path-bug' into 'main'
keymgr: Allow periods in ArtiPath and ArtiPathComponent.

See merge request tpo/core/arti!1358
2023-06-30 11:30:45 +00:00