<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/impls/rustls.rs, branch arti-v1.4.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-03-04T19:45:18Z</updated>
<entry>
<title>rustls: move provider-installer to its own function.</title>
<updated>2025-03-04T19:45:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-03T15:17:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d206e9b70ddfce0083546d4f1836129985b9abfc'/>
<id>urn:sha1:d206e9b70ddfce0083546d4f1836129985b9abfc</id>
<content type='text'>
We do this so that we can make sure there's a provider installed
when we run the tests.
</content>
</entry>
<entry>
<title>rustls.rs: Replace x509-signature with rustls-webpki</title>
<updated>2025-03-04T19:45:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-26T22:02:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ede6d75567c1ee81812478e6137032dd568ddb91'/>
<id>urn:sha1:ede6d75567c1ee81812478e6137032dd568ddb91</id>
<content type='text'>
The x509-signature crate is archived, and won't see any more
releases.  Using it is tying us to ring 0.16 internally,
which means we depend on two ring versions.

Fortunately, rustls-webpki relaxes some of the earlier restrictions
from the vanilla webpki crate, which means that its certificate parser
now accepts C tor's oddball x509 certificates as valid.

With this change, we can delegate to rustls's built-in
signature-checking code, and we only have to override its
certificate validation.  (We still override it with a pile of
comments about how we don't validate link certificates much.)

I've had to include a few certificates: two are for tests,
but one is needed as a placeholder, since we can't construct
a rustls certificate validator without a root cert,
even if we'll never use it.

Closes #1824.
Closes #1854.
</content>
</entry>
<entry>
<title>rtcompat: Un-rename CertificateDer type.</title>
<updated>2025-03-04T19:45:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-02-26T21:20:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=170edfe9aa912ea9f1977475d2a2a8904c62224a'/>
<id>urn:sha1:170edfe9aa912ea9f1977475d2a2a8904c62224a</id>
<content type='text'>
(We had added this rename when rustls renamed it originally.)
</content>
</entry>
<entry>
<title>tor-rtcompat: Big invasive change adding StreamOps bound everywhere.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T19:08:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f04709c16d0ebf039779c404cf0c907f13965852'/>
<id>urn:sha1:f04709c16d0ebf039779c404cf0c907f13965852</id>
<content type='text'>
This is unfortunately necessary, because after the channel handshake, we
need to give the channel reactor a `StreamOps` handle to the underlying
stream.
</content>
</entry>
<entry>
<title>tor-rtcompat: Implement StreamOps for TLS stream types.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T19:07:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1569a9d0d224659158cb87586f8d2c65f28183b0'/>
<id>urn:sha1:1569a9d0d224659158cb87586f8d2c65f28183b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tls: Support export keying material (RFC 5705)</title>
<updated>2024-06-18T14:18:58Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-06-04T18:56:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=144522a38a511ee0dd1f5bcee9bec01c971d1f6b'/>
<id>urn:sha1:144522a38a511ee0dd1f5bcee9bec01c971d1f6b</id>
<content type='text'>
Add a function to get the keying material as detailed by RFC 5705.
Because native-tls doesn't have such support, there is a place holder
panic!() for now.

This means that for the forseable future, relay would only work with
rustls until we figure out a solution for native-tls.

Closes #1432

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Add a note about CryptoProvicder.</title>
<updated>2024-04-22T15:25:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T14:51:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8009b323e192ed380ada8b7da2fc52974b942331'/>
<id>urn:sha1:8009b323e192ed380ada8b7da2fc52974b942331</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade to futures-rustls 0.26.0, rustls 0.23.5.</title>
<updated>2024-04-22T15:25:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T14:00:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f035cb5cbcb11bcdf0467667ad51a53bcdbce85'/>
<id>urn:sha1:5f035cb5cbcb11bcdf0467667ad51a53bcdbce85</id>
<content type='text'>
The rustls upgrade will solve #1377 and CVE-2024-32650.

Note that we've had to patch our RustlsProvider impl a bit in order
to keep the tests passing. See comments.

Closes #1377.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Fix a rustdoc link.</title>
<updated>2024-01-30T18:17:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-30T18:17:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8942fecd037a1d6c7c377043d379afda598881e7'/>
<id>urn:sha1:8942fecd037a1d6c7c377043d379afda598881e7</id>
<content type='text'>
</content>
</entry>
</feed>
