<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-21T13:46:14Z</updated>
<entry>
<title>tor-cell: impl Eq, PartialEq, Hash for est_intro::DosParams</title>
<updated>2024-02-21T13:46:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-21T13:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3eada5293f138bc2b53483528918aa815bd65e2a'/>
<id>urn:sha1:3eada5293f138bc2b53483528918aa815bd65e2a</id>
<content type='text'>
We only need Eq and PartialEq but given those we should have Hash too.

(We're going to want to be able to compare parameters for equality.)
</content>
</entry>
<entry>
<title>tor_cell: never construct empty DATA messages.</title>
<updated>2024-02-13T14:37:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-13T14:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5c70dad02124549a13e25f62c8073fef4a063fe'/>
<id>urn:sha1:b5c70dad02124549a13e25f62c8073fef4a063fe</id>
<content type='text'>
We never actually constructed these before, but now we enforce it at
the API level.

Part of #1269.
</content>
</entry>
<entry>
<title>tor_cell: Reject empty DATA messages</title>
<updated>2024-02-13T14:23:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-13T14:23:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dbe8623356b673cfe716e00fef654ca8bf8a1153'/>
<id>urn:sha1:dbe8623356b673cfe716e00fef654ca8bf8a1153</id>
<content type='text'>
If we don't reject these, they are a way to inject an undetected
traffic signal.  (This is LOW severity, since we only accept DATA
when a stream is open, since DATA messages are rate-limited,
and since using length==1 is nearly as effective.)

Closes #1269.

This is TROVE-2024-001.
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: Fix ambitious certtype</title>
<updated>2023-12-28T13:12:43Z</updated>
<author>
<name>Emil Engler</name>
<email>me@emilengler.com</email>
</author>
<published>2023-12-28T13:12:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6601f8a6ea5007187170891e7ffb43f482ed46f0'/>
<id>urn:sha1:6601f8a6ea5007187170891e7ffb43f482ed46f0</id>
<content type='text'>
When using the `arti-client` crate in other contexes, the Rust compiler
sometimes has difficulties with determining the current type in this
particular case, due to a collision with the popular serde json crate,
which also provides an implementation for converting u8.
</content>
</entry>
<entry>
<title>tor-cell: Stop using deprecated name in doctest</title>
<updated>2023-12-14T20:11:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T20:11:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b735e7e00576a8f893f33a8c232a6d7ca4948eef'/>
<id>urn:sha1:b735e7e00576a8f893f33a8c232a6d7ca4948eef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add deprecated aliases for old RelayCell names</title>
<updated>2023-12-14T17:07:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T17:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97196065afeb9ad1df4e76c45f5f7c66cd863dca'/>
<id>urn:sha1:97196065afeb9ad1df4e76c45f5f7c66cd863dca</id>
<content type='text'>
We should remove these once we do our final renaming here,
but for now we may as well avoid a breaking change.
</content>
</entry>
<entry>
<title>Fix documentation that referred to RelayCell.</title>
<updated>2023-12-14T17:04:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T17:04:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93c2d6429f1af0522669200a69397c8bd9c298f0'/>
<id>urn:sha1:93c2d6429f1af0522669200a69397c8bd9c298f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix documentation for {Any}RelayMsgOuter</title>
<updated>2023-12-14T16:58:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:58:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4984ff865eefaf80147d54bd2840d14eeb3118dd'/>
<id>urn:sha1:4984ff865eefaf80147d54bd2840d14eeb3118dd</id>
<content type='text'>
</content>
</entry>
</feed>
