<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/impls, branch arti-v2.5.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<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>tor-rtcompat: manually create and connect() socket</title>
<updated>2026-06-08T16:55:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-27T05:09:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d47fecdb1f2f660e9a2bda1d13319e93b6981a5e'/>
<id>urn:sha1:d47fecdb1f2f660e9a2bda1d13319e93b6981a5e</id>
<content type='text'>
This will allow us in the future to set custom sockopts on the socket
before calling connect().

I tested an arti proxy with tokio and async-std manually. Arti doesn't
yet support smol so I was not able to test it, but it's using the same
code as async-std so I would expect it to work.
</content>
</entry>
<entry>
<title>tor-rtcompat+misc: add `NetStreamProvider::ConnectOptions`</title>
<updated>2026-06-08T16:55:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-26T20:57:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=926c7a5449e29e2d652431a2406e7acae59bed50'/>
<id>urn:sha1:926c7a5449e29e2d652431a2406e7acae59bed50</id>
<content type='text'>
This adds the trait type `ConnectOptions` to `NetStreamProvider` and adds
this `ConnectOptions` as an argument to `NetStreamProvider::connect()`.

You probably want to look at the changes in tor-rtcompat first, then the
rest of this commit is updating the various places we use
`NetStreamProvider`.
</content>
</entry>
<entry>
<title>tor-rtcompat+misc: add `NetStreamProvider::ListenOptions`</title>
<updated>2026-05-07T15:05:57Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-06T23:05:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89790050b66f4eed80b9215b18c893ab7adba298'/>
<id>urn:sha1:89790050b66f4eed80b9215b18c893ab7adba298</id>
<content type='text'>
This adds the trait type `ListenOptions` to `NetStreamProvider` and adds
this `ListenOptions` as an argument to `NetStreamProvider::listen()`.

You probably want to look at the changes in tor-rtcompat first, then the
rest of this commit is updating the various places we use
`NetStreamProvider`.
</content>
</entry>
<entry>
<title>rtcompat: document choice of aws_lc_rs provider</title>
<updated>2026-04-08T20:10:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-02T14:30:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d76dc4ee37a76eae9718e47738a9903f1f4237a8'/>
<id>urn:sha1:d76dc4ee37a76eae9718e47738a9903f1f4237a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Stop installing backup CryptoProvider.</title>
<updated>2026-04-02T13:23:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-02T13:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a69a6ac4738d62da7c388a1f85eb92e405acd986'/>
<id>urn:sha1:a69a6ac4738d62da7c388a1f85eb92e405acd986</id>
<content type='text'>
When using rustls, previously we'd check to see whether the
application had installed a CryptoProvider (as it is required to
do).  If not, we'd log a warning and install a Ring provider.

But now, we want to enable other kinds of providers,
so this behavior isn't practical any more.
(See #2448 for discussion.)

Closes #2448.
</content>
</entry>
<entry>
<title>rtcompat: Allocate the zeroed vector for export_keying_material()</title>
<updated>2026-02-26T14:07:40Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-26T14:07:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=05359881863aeca27d21b730d8c92c5cd46dc86f'/>
<id>urn:sha1:05359881863aeca27d21b730d8c92c5cd46dc86f</id>
<content type='text'>
Reason is that Vec::with_capacity(len) doesn't actually allocate and the
Rustls export_keying_material() does a .is_empty() check which is under
".len() == 0".

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'resume' into 'main'</title>
<updated>2026-02-24T15:47:45Z</updated>
<author>
<name>opara</name>
<email>opara@torproject.org</email>
</author>
<published>2026-02-24T15:47:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d4cec0d36a7206ff9d94b5131e479c7dd30a4568'/>
<id>urn:sha1:d4cec0d36a7206ff9d94b5131e479c7dd30a4568</id>
<content type='text'>
tor-rtcompat: Disable rustls session resumption

See merge request tpo/core/arti!3710</content>
</entry>
<entry>
<title>tor-rtcompat: disable rustls session resumption</title>
<updated>2026-02-24T15:31:34Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-02-23T18:56:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=727b07d5a555717817ee082a8d613559fd20d527'/>
<id>urn:sha1:727b07d5a555717817ee082a8d613559fd20d527</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: unfold for smol incoming streams</title>
<updated>2026-02-20T01:55:14Z</updated>
<author>
<name>moumenalaoui</name>
<email>moumenalaoui@proton.me</email>
</author>
<published>2026-02-20T01:55:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=336a6b1d3742d5c3e9dd886460d5b04bf5bee3d7'/>
<id>urn:sha1:336a6b1d3742d5c3e9dd886460d5b04bf5bee3d7</id>
<content type='text'>
</content>
</entry>
</feed>
