<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/authcert.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-23T17:24:20Z</updated>
<entry>
<title>tor-netdoc: Use encode_netdoc_unsigned in several places</title>
<updated>2026-07-23T17:24:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-23T16:06:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=523d395bd8f18a9c42229a0017136fbda6fecc31'/>
<id>urn:sha1:523d395bd8f18a9c42229a0017136fbda6fecc31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: Rename `TimeBound::check_valid_*` to `if_valid_*`</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T16:40:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca37f30a097696ce2ebd4e9945a4bdaebe086b31'/>
<id>urn:sha1:ca37f30a097696ce2ebd4e9945a4bdaebe086b31</id>
<content type='text'>
I find these names confusing.  To my mind "check" implies a function
returning `Result&lt;(), _&gt;`.

Some other APIs use `unwrap` here but I think `if` is good.
</content>
</entry>
<entry>
<title>tor-checkable: TimeRangeBound: Rename extend_tolerance to extend_end_bound</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T14:28:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ce9f5c34c3bdb95e87dac5c8348f6937256c5f5'/>
<id>urn:sha1:7ce9f5c34c3bdb95e87dac5c8348f6937256c5f5</id>
<content type='text'>
It was confusing that one of these functions had "which bound"
mentioned in its name, but the other didn't.  So add `end` and switch
from `tolerance` to `bound` (see previous commit message).

*This* commit should deal only in `extend_tolerance` and `end` and
shouldn't touch `extend_start_bound` or `extend_pre_tolerance`.
</content>
</entry>
<entry>
<title>tor-checkable: TimeRangeBound: Rename extend_pre_tolerance to extend_start_bound</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T10:09:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=306fffc11215201aa1b5d6baf84f985bb3fee1bf'/>
<id>urn:sha1:306fffc11215201aa1b5d6baf84f985bb3fee1bf</id>
<content type='text'>
Although it is often used to apply a tolerance, it doesn't make sense
to say that this is extending the "tolerance" of a `TimeRangeBound`.
A `TimeRangeBound` doesn't have a tolerance, only bounds.

Also we should be consistent in our terminology, and use `start`
rather than `pre`.

We'll rename the other method too.  Doing them one at a time will
makes it easier to spot any "pre/start" vs "&lt;nothing&gt;/end" slips:
*this* commit should deal only in `pre` and `start` and shouldn't
touch `extend_tolerance`.
</content>
</entry>
<entry>
<title>Use new TimeRangeBound name throughout the tree</title>
<updated>2026-07-16T15:47:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T14:35:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92c26c4c07be73c91890ed3d7d4e53a06f26d0a1'/>
<id>urn:sha1:92c26c4c07be73c91890ed3d7d4e53a06f26d0a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use new TimeBound name throughout the tree</title>
<updated>2026-07-16T15:47:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T14:32:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f57903ab4a8c280acf8a5bec274c50d5f544fd6'/>
<id>urn:sha1:5f57903ab4a8c280acf8a5bec274c50d5f544fd6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Stabilise votes and encoding of authcerts</title>
<updated>2026-07-15T12:00:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-01T11:48:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8638e53554781002cfef27dad8f879a0ee4cb289'/>
<id>urn:sha1:8638e53554781002cfef27dad8f879a0ee4cb289</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Replace string slices with str::get() in doc (fmt)</title>
<updated>2026-06-24T12:24:30Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-24T12:24:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=648117f59cd083736d7055e2399d87034bd47f11'/>
<id>urn:sha1:648117f59cd083736d7055e2399d87034bd47f11</id>
<content type='text'>
No functional change, just reformatting.
</content>
</entry>
<entry>
<title>tor-netdoc: Replace string slices with str::get() in doc</title>
<updated>2026-06-24T12:22:30Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-24T12:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9587e70a6f8155f15dc454a1d70d14d1fd774382'/>
<id>urn:sha1:9587e70a6f8155f15dc454a1d70d14d1fd774382</id>
<content type='text'>
This commit replaces the use of string slices with str::get() in all
document related code.

While this is not a perfect replacement for it, the relevant parts in
the code heavily depend upon the byte offsets returned by the low level
(legacy) parser where changing it would lead to a very big refactoring.

Nonetheless, this approach is better because returning a bug is better
than crashing.
</content>
</entry>
<entry>
<title>tor-netdoc: tests: Move poc authcert test to authcert.rs</title>
<updated>2026-06-17T09:33:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-11T14:42:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48aba6978c538ef4c16b9f2febc87223b8097b12'/>
<id>urn:sha1:48aba6978c538ef4c16b9f2febc87223b8097b12</id>
<content type='text'>
There is no separate poc authcert type any more.  This is a perfectly
fine test case.

Almost entirely code motion; review with
  git show --color-moved --color-moved-ws=allow-indentation-change
</content>
</entry>
</feed>
