<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel/handler.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>2026-05-27T17:41:26Z</updated>
<entry>
<title>tor-proto: remove `use asynchronous_codec as futures_codec` in `/channel/handler.rs`</title>
<updated>2026-05-27T17:41:26Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@momandpop.network</email>
</author>
<published>2026-05-27T17:12:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab968e231e920685c6d93408154d7fa157eb95c4'/>
<id>urn:sha1:ab968e231e920685c6d93408154d7fa157eb95c4</id>
<content type='text'>
Closes #1690.
</content>
</entry>
<entry>
<title>proto: Bring back AuthLogDigest and explicitly convert to SLOG/CLOG</title>
<updated>2026-04-08T18:40:52Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-08T17:26:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9801135cc0737e38a9e5da1ee478d5b2e6385057'/>
<id>urn:sha1:9801135cc0737e38a9e5da1ee478d5b2e6385057</id>
<content type='text'>
From opara's comment:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3844#note_3388789

Keep the low level AuthLogDigest type alias and return it. The callsite
is the one deciding if the returned digest is a Clog or a Slog.

Related to #2441

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add ClogDigest and SlogDigest types</title>
<updated>2026-04-08T18:40:14Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-31T16:26:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e777a8273bbac99990e7e2ecd224ea05c64dded'/>
<id>urn:sha1:4e777a8273bbac99990e7e2ecd224ea05c64dded</id>
<content type='text'>
Introduce those types in order to avoid mixing them up as the previous
AuthLogDigest was just a type alias over [u8; 32]

Fixes #2441

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add a type alias for SLOG/CLOG digest</title>
<updated>2026-03-30T14:58:43Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-23T18:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2c39ebce729c8eafe788ec47bf9d29e34896eea6'/>
<id>urn:sha1:2c39ebce729c8eafe788ec47bf9d29e34896eea6</id>
<content type='text'>
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3791#note_3374457

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>tor-proto: improve chan send/recv-log error messages</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-03-04T23:55:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34d55b7e0ecab71005a2b156199a162ec21fcd89'/>
<id>urn:sha1:34d55b7e0ecab71005a2b156199a162ec21fcd89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: rename 'SLOG'/'CLOG' and related code</title>
<updated>2026-03-02T17:36:42Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-03-02T17:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5b20f7dd75b590343bca4eca21d387c958c0c633'/>
<id>urn:sha1:5b20f7dd75b590343bca4eca21d387c958c0c633</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Use the channel codec channel type</title>
<updated>2026-01-22T16:16:44Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-01-21T16:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1da8fe2d546f2ad3693afeb5a13cb7b8a8ed0f13'/>
<id>urn:sha1:1da8fe2d546f2ad3693afeb5a13cb7b8a8ed0f13</id>
<content type='text'>
Remove the channel type from Unverified and Verified channels and
instead use the channel type in the underlying channel codec.

The codec requires such type in order to restrict messages sets. Instead
of duplicating it, this commit simply makes it that there is now only a
single channel type attached to a channel structure.

The resulting `struct Channel` in the end gets it copied from the
channel codec as the framed_tls gets split and given to the `Reactor`.

Down the line, we need a channel type attached to the `Channel` in order
to know if it is a client or not and authenticated or not.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Only allow VERSIONS cell for the new handshake state</title>
<updated>2025-08-27T15:04:24Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-08-26T17:03:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=afe97476d39bfb3db7387ed073e4bad350ea3c7e'/>
<id>urn:sha1:afe97476d39bfb3db7387ed073e4bad350ea3c7e</id>
<content type='text'>
Due to this, it is not possible to get a VPADDING before because it
requires a link protocol version to decideon the encoding:

https://gitlab.torproject.org/tpo/core/torspec/-/issues/366

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove the AUTHORIZE as a parsable cell</title>
<updated>2025-08-21T15:59:37Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-08-21T14:52:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eabd0c0bfe703337e338403949721ce57c87f32e'/>
<id>urn:sha1:eabd0c0bfe703337e338403949721ce57c87f32e</id>
<content type='text'>
The AUTHORIZE cell command is simply reserved but not defined. The tor
specification, at this point in time, is allowing such cell before the
handshake starts but it is very unclear on what ordering is allowed nor
how many can are allowed.

C-tor silents drop them like VPADDING and so clearly unused. Instead of
dealing with it, simply remove its support but keeping its reserved
number.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
