<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/crypto/cell.rs, branch arti-v2.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-06T11:28:22Z</updated>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>proto: Fix typo in OutboundRelayLayer docs.</title>
<updated>2025-10-08T17:27:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-10-08T17:27:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cad1f81be6f8b966167a5754bd901afda72ae16e'/>
<id>urn:sha1:cad1f81be6f8b966167a5754bd901afda72ae16e</id>
<content type='text'>
`OutboundRelayLayer::decrypt_outbound()` is for decrypting cells moving
*away* from the client (in the "forward direction").
</content>
</entry>
<entry>
<title>proto: Consider the channel queue with "Replace" padding to hop 1.</title>
<updated>2025-09-16T12:36:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-15T15:52:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6abd7361dc69871d23c319506f43e4cc5e612b7'/>
<id>urn:sha1:e6abd7361dc69871d23c319506f43e4cc5e612b7</id>
<content type='text'>
When we want to send Replace padding (that is, padding that should
only be sent if nothing else is queued) to hop 1, we can allow it to
be replaced by cells from _any_ circuit being sent over the same
channel.  (Nobody but hop 1 can tell the difference.)

Closes #2169
</content>
</entry>
<entry>
<title>proto: derive Ord for HopNum.</title>
<updated>2025-09-10T14:40:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-10T14:35:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f2062e3f60a580272f4144a1e9a73b98aadf487'/>
<id>urn:sha1:8f2062e3f60a580272f4144a1e9a73b98aadf487</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>proto: Construct CGO instances if that is what is selected.</title>
<updated>2025-07-23T14:58:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-06-11T12:02:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca2eae597953483df799ca32452cf384d14c0236'/>
<id>urn:sha1:ca2eae597953483df799ca32452cf384d14c0236</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: remove bench pub wrappers</title>
<updated>2025-05-22T09:05:31Z</updated>
<author>
<name>Lionel Goffaux</name>
<email>lionel.goffaux@unamur.be</email>
</author>
<published>2025-05-22T09:05:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e5653df87971650d356dc9fa7e0e3570df44d504'/>
<id>urn:sha1:e5653df87971650d356dc9fa7e0e3570df44d504</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: extend benchmarks</title>
<updated>2025-05-08T09:34:11Z</updated>
<author>
<name>Lionel Goffaux</name>
<email>lionel.goffaux@unamur.be</email>
</author>
<published>2025-05-08T09:34:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d11b1556751c9e10850c9cad7c1f52aaeb2debec'/>
<id>urn:sha1:d11b1556751c9e10850c9cad7c1f52aaeb2debec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Apply type-specific wrappers for tor1 crypto</title>
<updated>2025-05-06T22:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-30T11:59:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=efcca717bd3b90fa29bb0421eeb936f247671549'/>
<id>urn:sha1:efcca717bd3b90fa29bb0421eeb936f247671549</id>
<content type='text'>
Now instead of using CryptState for everything, we have specific
types for each role and direction of crypto.

This turned up a harmless-so-far bug in our onion service code: as
an onion service, we were using _client_ crypto layers to respond to
a client request.  That's not correct, and wouldn't have worked
with CGO.  Instead, we need to use relay crypto layers, wrapped
as client layers.

Closes #1975.
</content>
</entry>
<entry>
<title>proto, cell: Remove RelayCellFormatTrait.</title>
<updated>2025-05-06T22:34:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-30T00:59:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=297aa8027f7528605fe5bf2097f3474d9ba3eef9'/>
<id>urn:sha1:297aa8027f7528605fe5bf2097f3474d9ba3eef9</id>
<content type='text'>
The purpose of the trait was to parameterize the tor1 cell crypto
on the different possible relay cell layouts.

It made sense to have this trait when we thought we would implement
the new cell layout for prop340 (packed-and-fragmented) well before
we implemented CGO.

But it now appears all but certain that CGO will land long before
we make any more headway on prop340.  Therefore,
it doesn't make sense to carry the ability to customize `tor1`
for other relay cell layouts.

Removing this trait saves a fair bit of complexity.
</content>
</entry>
</feed>
