<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/net.rs, branch arti-v1.2.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-06-18T14:18:58Z</updated>
<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>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>clippy: Use Result::cloned in several places</title>
<updated>2024-01-31T14:35:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T14:27:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6fbc7e0ab48c5a424d13944f1103f18e3ec33913'/>
<id>urn:sha1:6fbc7e0ab48c5a424d13944f1103f18e3ec33913</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add exceptions for some cases of diverging_sub_expression</title>
<updated>2023-07-10T11:33:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-07T18:17:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b6cc7ba5ed6962bb6cf568a8bdc788de4c329f6'/>
<id>urn:sha1:0b6cc7ba5ed6962bb6cf568a8bdc788de4c329f6</id>
<content type='text'>
See here for documentation on the lint:
https://rust-lang.github.io/rust-clippy/master/index.html#/diverging_sub_expression

The issue here, from what I can tell, is that the lint triggers
whenever you use a diverging expression as a function body within an
</content>
</entry>
<entry>
<title>tor-rtmock: Net: Make UDP sockets un-constructable</title>
<updated>2023-07-06T14:14:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-06T11:56:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=55329fe85b204c86f182d94a20a2e112b7cf894a'/>
<id>urn:sha1:55329fe85b204c86f182d94a20a2e112b7cf894a</id>
<content type='text'>
This will hopefully mean anyone trying to use this will notice that
it's not implemented.

Prompted by:
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1375#note_2919925
</content>
</entry>
<entry>
<title>tor-rtmock: impl Default for MockNetProvider</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T10:34:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=70fdd920304a167cb21eb07ca9ee323582a98df9'/>
<id>urn:sha1:70fdd920304a167cb21eb07ca9ee323582a98df9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: impl Default for MockNetProvider (prep)</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T10:33:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24da490ef57faacf6d1eb066334bb0d189e08b0e'/>
<id>urn:sha1:24da490ef57faacf6d1eb066334bb0d189e08b0e</id>
<content type='text'>
We want MockNetProvider to be Default.

In this commit: impl Default for MockNetwork and use it in new().
</content>
</entry>
<entry>
<title>tor-rtmock: net: "Provide" a UDP "implementation" which doesn't work</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T11:28:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=395a616c9f1a513c2905548aa13d5345cd1b937c'/>
<id>urn:sha1:395a616c9f1a513c2905548aa13d5345cd1b937c</id>
<content type='text'>
Nothing in our tree actually *uses* the UDP in tests.

We want a mock UDP provider that isn't part of a real runtime, so that
we can make a totally-mock runtime for properly controlled testing.

It seems best to make this part of MockNetProvider rather than a
separate type.
</content>
</entry>
</feed>
