<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/response.rs, branch tor-llcrypto-v0.4.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-llcrypto-v0.4.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-llcrypto-v0.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>tor-dirclient: Replace OwnedChanTarget with LoggedChanTarget in SourceInfo</title>
<updated>2022-11-23T18:28:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-23T15:13:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ef5a58e1585b478e26fd7c18b61cdf7b1e069e93'/>
<id>urn:sha1:ef5a58e1585b478e26fd7c18b61cdf7b1e069e93</id>
<content type='text'>
SourceInfo primarily appears in errors, here and in (indirectly)
tor-dirmgr.

This
 1. Makes the errors smaller
 2. Redacts (currently, scrubs) the chantarget when safe logging is enabled

This commit therefore deals with both tor-dirmgr and tor-dirclient
errors, from the pov of error information that should become sensitive
as part of bridge support.

The error pyaloads directly in tor_dirmgr/src/err.rs don't seem to
contain anything in that category.
</content>
</entry>
<entry>
<title>tor-dirclient: Response: Provide into_output_string</title>
<updated>2022-11-03T11:37:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-31T18:28:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fb535ba28f6fd10d62ff4fb3d89a9f5da8160d3'/>
<id>urn:sha1:0fb535ba28f6fd10d62ff4fb3d89a9f5da8160d3</id>
<content type='text'>
This is the missing one of the full set.  It turns out that I wanted
this rather than the non-consuming output_string.
</content>
</entry>
<entry>
<title>tor-dirclient::DirResponse: provide output_string</title>
<updated>2022-10-25T19:12:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-21T16:10:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b68f7af79bf438aedfeff775183d89c0d1b45699'/>
<id>urn:sha1:b68f7af79bf438aedfeff775183d89c0d1b45699</id>
<content type='text'>
This gives callers a nice error type with source and everything.
</content>
</entry>
<entry>
<title>tor-dirclient: Provide fallible DirResponse::output and into_output</title>
<updated>2022-10-20T16:24:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-19T11:20:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b2a0fbcb1ea8a3bed0277353728c25309879913'/>
<id>urn:sha1:7b2a0fbcb1ea8a3bed0277353728c25309879913</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Make DirResponse be Clone</title>
<updated>2022-10-20T16:24:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-19T15:14:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da3351ad49cda17db58115e2268853bbc44a860d'/>
<id>urn:sha1:da3351ad49cda17db58115e2268853bbc44a860d</id>
<content type='text'>
I want this for testing.  It seems friendly to provide it, though.
</content>
</entry>
<entry>
<title>tor-dirclient Response: Rename output methods</title>
<updated>2022-10-20T16:24:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-19T10:57:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b1af058519a1be1ea2ce893115f2664cb2d8a08'/>
<id>urn:sha1:3b1af058519a1be1ea2ce893115f2664cb2d8a08</id>
<content type='text'>
These don't check errors and are therefore quite hazardous.
I'm going to introduce a more cooked version in a moment.
</content>
</entry>
<entry>
<title>Improve display for tor-dircache errors.</title>
<updated>2022-07-07T18:07:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-07T18:00:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=82766e74e4db98491d962a356238a7d1a5c00cf3'/>
<id>urn:sha1:82766e74e4db98491d962a356238a7d1a5c00cf3</id>
<content type='text'>
These errors no longer use Debug to dump the `Option&lt;SourceInfo&gt;`, but
instead produce reasonable text.  Also, I've fixed the SourceInfo
Display implementation so that it now says that it got the error
"from $source via $circuit" rather than the other way around.
</content>
</entry>
<entry>
<title>Fix a portability issue with Rust 1.56</title>
<updated>2022-05-16T19:02:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-16T19:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f83146bef45653ab72a938f9f938b9bd01eb138c'/>
<id>urn:sha1:f83146bef45653ab72a938f9f938b9bd01eb138c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DirMgr: Improve display for DocSource</title>
<updated>2022-05-16T16:42:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-12T15:40:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f70ad60e6512da656d293b98e870ba21fdc491be'/>
<id>urn:sha1:f70ad60e6512da656d293b98e870ba21fdc491be</id>
<content type='text'>
(Also, implement Display for tor_dirclient::SourceInfo).
</content>
</entry>
</feed>
