<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/chancell/msg.rs, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-24T17:09:18Z</updated>
<entry>
<title>tor-cell: remove `derive_more::Into` for `RelayEarly`</title>
<updated>2026-06-24T17:09:18Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-06-24T16:49:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c322cb64c54538efd486055f050dd924e9ff357'/>
<id>urn:sha1:6c322cb64c54538efd486055f050dd924e9ff357</id>
<content type='text'>
We don't use this anymore, and it can lead to subtle bugs since we lose
the original channel message command.
</content>
</entry>
<entry>
<title>tor-cell: document that destroy reason should be NONE</title>
<updated>2026-06-12T18:23:58Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-06-10T15:07:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c6abf9de08d673c84cb7f6f642764b1ace9c95b9'/>
<id>urn:sha1:c6abf9de08d673c84cb7f6f642764b1ace9c95b9</id>
<content type='text'>
The spec was recently updated in [1],
so we should make this clearer in our code comments.

[1]: https://gitlab.torproject.org/tpo/core/torspec/-/merge_requests/490
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>cell: Add Authenticate::BODY_LEN as a public const</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-30T14:41:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a2b21032adefbf3a4ffac0f51c714b9070d0102'/>
<id>urn:sha1:0a2b21032adefbf3a4ffac0f51c714b9070d0102</id>
<content type='text'>
We use this constant value when building the AUTHENTICATE cell to
optimize the memory allocation as this won't ever change.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'build_certs_refactor' into 'main'</title>
<updated>2026-03-23T14:33:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-23T14:33:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a2d2c1b8cae94fd1c1c2cfd2602ae91e0599456f'/>
<id>urn:sha1:a2d2c1b8cae94fd1c1c2cfd2602ae91e0599456f</id>
<content type='text'>
cell, proto, cert: Simplify CERTS cell building.

See merge request tpo/core/arti!3795</content>
</entry>
<entry>
<title>cell: Feature-gate API using the possibly absent EncodedCert type.</title>
<updated>2026-03-23T12:08:59Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-23T12:08:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a4c94ee51e05b2952db23411968534b463fd6bf'/>
<id>urn:sha1:4a4c94ee51e05b2952db23411968534b463fd6bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Check the AUTHENTICATE auth type that we support it</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-19T18:20:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0443baf5eaf7ab7214576125eb3a1844f076e13'/>
<id>urn:sha1:a0443baf5eaf7ab7214576125eb3a1844f076e13</id>
<content type='text'>
As a responder, we should check the AUTHENTICATE auth type and make sure
we support it. We were not doing that, we were simply putting in our max
version.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Use Error::MissingData if Authenticate fields length is wrong</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-19T17:38:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=912353f9eed551390e8b4509b832d03c11faf427'/>
<id>urn:sha1:912353f9eed551390e8b4509b832d03c11faf427</id>
<content type='text'>
Proper error to use and better code to use checked_sub().

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Simplify the Authenticate API</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-11T17:28:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19a53b48dbe67c8c44f53cf3f170cee3b07eb0f0'/>
<id>urn:sha1:19a53b48dbe67c8c44f53cf3f170cee3b07eb0f0</id>
<content type='text'>
Remove the is_equal_no_sig() and instead add a getter that returns a
reference to the body without the random part so it can be used to
verify the signature.

The caller now checks the equality with what it is expected.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Fix AUTHENTICATE equality check and signature check</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-11T17:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a93e0cd699e583152f25cb6e13845eac632a1be3'/>
<id>urn:sha1:a93e0cd699e583152f25cb6e13845eac632a1be3</id>
<content type='text'>
This fixes two things.

1. The "is_equal_no_sig()", if true, was going into the error path.

2. The signature verification is done against the body of the
   AUTHENTICATE cell that is all fields except the signature.

Next commit will change the is_equal_no_sig() to make more sense with
the "body" semantic.

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