<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/safelog/src, branch arti-v1.1.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.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-11-30T17:00:17Z</updated>
<entry>
<title>safelog: Apply #[serial] to test_redacted()</title>
<updated>2022-11-30T17:00:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-30T17:00:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4688ee916547175a1a42237e9aff45fb76c14f4b'/>
<id>urn:sha1:4688ee916547175a1a42237e9aff45fb76c14f4b</id>
<content type='text'>
Closes #675.
</content>
</entry>
<entry>
<title>Fix a logic error in Redacted.</title>
<updated>2022-11-30T14:07:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-30T14:07:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0084e3fd4d76d48fed9fce4730367263d18805c'/>
<id>urn:sha1:f0084e3fd4d76d48fed9fce4730367263d18805c</id>
<content type='text'>
Previously it was redacting exactly when safelogging was _disabled_,
which obviously isn't correct.

Fixes #671. Regression test included.
</content>
</entry>
<entry>
<title>safelog: Make MaybeRedacted&lt;T&gt; opaque.</title>
<updated>2022-11-28T13:01:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-27T19:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a77172e20dd1a7d3c59aabd888a3485313f75282'/>
<id>urn:sha1:a77172e20dd1a7d3c59aabd888a3485313f75282</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a default debug_redacted impl to save space.</title>
<updated>2022-11-28T13:01:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-23T18:04:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c62958c76f57a2aa4b63769d752799d8ef524d62'/>
<id>urn:sha1:c62958c76f57a2aa4b63769d752799d8ef524d62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>safelog: Add a MaybeRedacted wrapper too.</title>
<updated>2022-11-28T13:01:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-21T19:07:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f2c91ef56e64b3523746cf14f956c84dde834a3f'/>
<id>urn:sha1:f2c91ef56e64b3523746cf14f956c84dde834a3f</id>
<content type='text'>
This is super helpful for cases where we want to write two nearly
identical implementations to format a type.
</content>
</entry>
<entry>
<title>safelog: implement Redactable for network addr types.</title>
<updated>2022-11-28T13:01:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-21T18:27:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f91218c78d11fd738d995dba1fca3abe867a01a9'/>
<id>urn:sha1:f91218c78d11fd738d995dba1fca3abe867a01a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>safelog: Define a "Redactable" trait</title>
<updated>2022-11-28T13:01:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-21T18:23:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d3f495672835c87366f17c20ea2741b971852eda'/>
<id>urn:sha1:d3f495672835c87366f17c20ea2741b971852eda</id>
<content type='text'>
A "redactable" object is one that can be _partially_ scrubbed in
sensitive contexts.  This can be very helpful for UX, but is not
risk-free: see comments.
</content>
</entry>
<entry>
<title>safelog: Provide BoxSensitive</title>
<updated>2022-11-23T18:28:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-23T14:50:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bbc84bf9f447b8310591554b9a6191fe64421b0d'/>
<id>urn:sha1:bbc84bf9f447b8310591554b9a6191fe64421b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>safelog: Remove type argument from `impl_display_traits`</title>
<updated>2022-11-23T18:28:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-23T14:58:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f193f1017cf98a89aa1ca294e3df69f3f645c63'/>
<id>urn:sha1:4f193f1017cf98a89aa1ca294e3df69f3f645c63</id>
<content type='text'>
We're going to have this same macro implement the same traits for a
second type.  And its function is specific to `Sensitive`, so have it
know that.
</content>
</entry>
<entry>
<title>safelog: Provide some more accessors</title>
<updated>2022-11-23T18:28:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-23T15:16:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b77fd893a42996d653c7a9a4c88aca40816c86b8'/>
<id>urn:sha1:b77fd893a42996d653c7a9a4c88aca40816c86b8</id>
<content type='text'>
We're about to use `.as_inner()` in a few places, and `.as_ref()` (by
analogy with `Option`) seems obviously necessary.
</content>
</entry>
</feed>
