<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell, branch arti-v1.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-v1.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-08-28T16:28:38Z</updated>
<entry>
<title>Bump the minor version of every published crate except for `arti`.</title>
<updated>2025-08-28T16:28:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-28T16:28:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27d2e61733c617985284870002ded86dfb3b6cab'/>
<id>urn:sha1:27d2e61733c617985284870002ded86dfb3b6cab</id>
<content type='text'>
Per policy, we bump the minor version of every tor-*, arti-* crate
on each release.

We have updated our MSRV, so we're treating this as a breaking
change for our non-(arti/tor)-prefixed crates too.
</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>
<entry>
<title>proto: Make the OutboundClientHandshake use new cell handler</title>
<updated>2025-08-20T17:22:16Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-03T13:16:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d52396e8f6e68859508e1f8fbef7a62458857bc'/>
<id>urn:sha1:8d52396e8f6e68859508e1f8fbef7a62458857bc</id>
<content type='text'>
Use the ChannelFrame&lt;&gt; for the entirety of the outbound client handshake
that is the ClientInitiator channel type.

With this change, the codec.rs code is not needed anymore along its
CodecError as well which has been normalized onto the crate::Error
instead in order to simplify error handling and avoid duplication of
error types.

Unit tests have been modified to reflect this change of what can be done
with a channel frame. Also renamed to focus on client behavior.

Part of #1597

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Add helper functions</title>
<updated>2025-08-20T16:41:03Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-01T17:42:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ff5a44b21184d50902bbcf78b79bc75900feeca'/>
<id>urn:sha1:3ff5a44b21184d50902bbcf78b79bc75900feeca</id>
<content type='text'>
Add is_known_cmd() to the restricted_msg!() macro which can be used to
learn if a specific ChanCmd is part of the restricted set or not.

Then add a simple function to get the link protocol version from a
channel codec.

Part of #1597

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-hsservice: Change capping of PoW effort.</title>
<updated>2025-08-13T18:43:05Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-08-13T18:20:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e9e5a2f6ff20360816896b971408e8bf1b5c7ea'/>
<id>urn:sha1:8e9e5a2f6ff20360816896b971408e8bf1b5c7ea</id>
<content type='text'>
This caps the PoW effort during sorting, rather than at intake.

This allows us to record efforts that are capped in our metrics
histogram while only recording metrics after the PoW solve has actually
been verified.
</content>
</entry>
<entry>
<title>tor-cell: fix comment in `ChannelCodec::encode`</title>
<updated>2025-08-12T18:35:23Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-08-12T18:33:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f7a2b8c654bf6b3dcc5e87d21ff6cf6fc56deca'/>
<id>urn:sha1:3f7a2b8c654bf6b3dcc5e87d21ff6cf6fc56deca</id>
<content type='text'>
This comment isn't correct if the encode() was given a non-empty buffer
(for example if two cells were written to the same buffer, the second
encode() would be given a non-empty buffer, so `pos != 5`).
</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>Merge branch 'msrv-fixes' into 'main'</title>
<updated>2025-08-06T02:11:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T02:11:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=283da978ceb5dc50ff21ebaa4b823d04e14dd0c9'/>
<id>urn:sha1:283da978ceb5dc50ff21ebaa4b823d04e14dd0c9</id>
<content type='text'>
Resolve a few issues that had been waiting for an MSRV update.

See merge request tpo/core/arti!3129</content>
</entry>
<entry>
<title>Merge branch 'prop362-fixups' into 'main'</title>
<updated>2025-08-06T01:22:27Z</updated>
<author>
<name>wesleyac</name>
<email>wesleyac@torproject.org</email>
</author>
<published>2025-08-06T01:22:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4832b90b6c9e08d4c9ced537aaedff003783ed12'/>
<id>urn:sha1:4832b90b6c9e08d4c9ced537aaedff003783ed12</id>
<content type='text'>
Fix a few TODOs for PoW

See merge request tpo/core/arti!3106</content>
</entry>
<entry>
<title>tor-cell: Check strictly-ascending property more efficiently</title>
<updated>2025-08-06T00:44:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T00:44:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab75b509ffdbb2e826ad14c04d65894d8be17b43'/>
<id>urn:sha1:ab75b509ffdbb2e826ad14c04d65894d8be17b43</id>
<content type='text'>
I had been planning to use `[]::is_sorted` here, once we had
MSRV &gt;= 1.82, but it turns out that we wanted strictly ascending
sequence, whereas `is_sorted` checks for a non-descreasing sequence.
</content>
</entry>
</feed>
