<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/conn/auth.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-12-01T10:38:17Z</updated>
<entry>
<title>rpc-client-core: Add missing CookieBeginReply docs</title>
<updated>2025-12-01T10:38:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-01T10:38:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e59048d8b015e998e2c96f150b203436a7769ab4'/>
<id>urn:sha1:e59048d8b015e998e2c96f150b203436a7769ab4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T13:01:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f8993c22c2b86010e4fd8b5169ef0ab83f8c754'/>
<id>urn:sha1:2f8993c22c2b86010e4fd8b5169ef0ab83f8c754</id>
<content type='text'>
- `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
</content>
</entry>
<entry>
<title>arti-rpc-client-core: Rename Authentication{Rejected=&gt;Failed}</title>
<updated>2025-01-23T18:06:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-23T17:37:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d4872c41eec4d4ec27f022ede306b68d1583492'/>
<id>urn:sha1:2d4872c41eec4d4ec27f022ede306b68d1583492</id>
<content type='text'>
Also change corresponding message.

This way, it will be clear that we're just reporting that Arti
gave us an error—not that the error necessarily means that the
authentication itself was "wrong".
</content>
</entry>
<entry>
<title>rpclib: Avoid overuse of execute_internal_ok.</title>
<updated>2025-01-23T18:06:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-22T17:31:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d9ebbfacb4636597f661f89bfc5f24975aa7cb7'/>
<id>urn:sha1:0d9ebbfacb4636597f661f89bfc5f24975aa7cb7</id>
<content type='text'>
The execute_internal_ok method converts every error response into an
internal error; as such, it's only appropriate when there is no way
for a well-behaved Arti instance to give an error response.
But we had been using it in a few places where errors were possible
under other circumstances.

This commit fixes that behavior, and adds documentation to help
avoid it.
</content>
</entry>
<entry>
<title>rpclib: Rename params/reply structs for consistency.</title>
<updated>2025-01-21T17:33:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-21T17:07:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5261146a20385d575f815533c2b92f4f34035799'/>
<id>urn:sha1:5261146a20385d575f815533c2b92f4f34035799</id>
<content type='text'>
Our now convention here in rpclib is that a struct holding a
request's parameters is called `FooParams`, and a struct holding
that request's reply is called `FooReply`.

Closes #1586
</content>
</entry>
<entry>
<title>rpclib: Add a note about where cookie auth is documented.</title>
<updated>2025-01-15T20:11:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-15T20:11:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43d379f3a4a288e9f7dcb5df43cfe206d30fc5f8'/>
<id>urn:sha1:43d379f3a4a288e9f7dcb5df43cfe206d30fc5f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: Clean up after performing cookie auth</title>
<updated>2025-01-15T19:58:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-15T19:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=794da10e7c485a9e962f7496d1a0b7344b92fb39'/>
<id>urn:sha1:794da10e7c485a9e962f7496d1a0b7344b92fb39</id>
<content type='text'>
Previously we never released the intermediary cookie-auth object,
which would have left it kicking around on the RPC server side
until we finally closed our connection.
</content>
</entry>
<entry>
<title>rpc: Tweak cookie protocol to bind both nonces.</title>
<updated>2025-01-15T14:18:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-09T19:55:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3fcd71f218595402175c2530a09dabb7ed10f9d'/>
<id>urn:sha1:f3fcd71f218595402175c2530a09dabb7ed10f9d</id>
<content type='text'>
Previously participants in the cookie protocol only bound the peer
nonce in their MACs.  With this change, they bind both nonces.

This change is _probably_ not necessary for security, but it can't
hurt.  It follows a general principle that Adam Langley told me a
long time ago: you won't regret binding more, but you might regret
binding less.
</content>
</entry>
<entry>
<title>arti-rpc-client-core: Client side of cookie authentication.</title>
<updated>2025-01-15T14:18:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-01-09T19:08:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08e9de49b3a0f9d428b4e28e1eefceaba9fe74a8'/>
<id>urn:sha1:08e9de49b3a0f9d428b4e28e1eefceaba9fe74a8</id>
<content type='text'>
</content>
</entry>
</feed>
