<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-12T20:55:43Z</updated>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</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>cell: Derive PartialEq for Begin and BeginFlags</title>
<updated>2026-03-25T11:23:27Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-24T19:15:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68a02d69fa8671c7e55a97b21d9ab7924f2631ee'/>
<id>urn:sha1:68a02d69fa8671c7e55a97b21d9ab7924f2631ee</id>
<content type='text'>
</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>
<entry>
<title>proto: Responder channel properly validates the AUTHENTICATE cell</title>
<updated>2026-03-19T20:31:09Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-04T19:32:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bdda3ba7d82f8d4e856281175b87edcc6e187807'/>
<id>urn:sha1:bdda3ba7d82f8d4e856281175b87edcc6e187807</id>
<content type='text'>
It is now validated against the received KP_link_ed of the initiator
peer and we compare only the section of the AUTHENTICATE cell that we
can compare (minus random bytes and sig).

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