<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirserver/src/err.rs, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-24T16:04:08Z</updated>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>tor-dirserver: Add `StaticEngine::send_request()`</title>
<updated>2026-03-09T08:13:29Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-09T11:10:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab0d321569fa1fd05e5cd0d954408bde40aef764'/>
<id>urn:sha1:ab0d321569fa1fd05e5cd0d954408bde40aef764</id>
<content type='text'>
This commit adds a new method to static engine that serves as a
convenience wrapper around `tor_dirclient::send_request`.

The reason for that is, that fetch_consensus is not the only method that
requires performing download requests, so it makes sense to generalize
it.

Besides, it also adds support for parsing multiple netdocs alongside
storing their raw variant, which is required for inserting them into the
database at one point eventually.
</content>
</entry>
<entry>
<title>tor-dirserver: Add IsFatal trait</title>
<updated>2026-03-09T08:13:29Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-05T14:55:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0318962b9311a7368281d7ce9878f450ee0ed279'/>
<id>urn:sha1:0318962b9311a7368281d7ce9878f450ee0ed279</id>
<content type='text'>
This commit adds the IsFatal trait to the err module for having a
generic signature for the fatality of certain error variants.
</content>
</entry>
<entry>
<title>tor-dirservert: Implement FetchConsensus state</title>
<updated>2026-03-09T08:13:12Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-05T13:22:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4aec28488c1c86cb1088ad09321f50435c6e91d0'/>
<id>urn:sha1:4aec28488c1c86cb1088ad09321f50435c6e91d0</id>
<content type='text'>
This commit implements the `FetchConsensus` state by adding a method to
`StaticEngine` called `fetch_consensus`, which retrieves the consensus
from an upstream directory authority.

Likewise, it also implements a new error type called
`AuthorityRequestError`.

The retry logic is handled externally which will be done in later
commits.
</content>
</entry>
<entry>
<title>tor-dirserver: Remove unused error variants</title>
<updated>2026-03-09T08:04:53Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-05T09:14:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4fa543b805d9ad59c3411da332e98c6edfeb41d9'/>
<id>urn:sha1:4fa543b805d9ad59c3411da332e98c6edfeb41d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirserver: Remove serve function</title>
<updated>2026-03-09T08:03:02Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-28T13:07:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a5a938009b51d68495d3a6d34f56da820d10e30'/>
<id>urn:sha1:4a5a938009b51d68495d3a6d34f56da820d10e30</id>
<content type='text'>
This commit removes the operation serve function because it no longer
fits into the new model of operation using a FSM.
</content>
</entry>
<entry>
<title>tor-dirserver: Scratch out the FSM</title>
<updated>2026-03-09T08:03:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-21T17:32:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57b1b470f1ea25a4262ade0d57836ba0299b2470'/>
<id>urn:sha1:57b1b470f1ea25a4262ade0d57836ba0299b2470</id>
<content type='text'>
This commit scratches out the FSM for the dirmirror operation.

Right now, there are still lots of TODO, lots of code warnigns, and
such.  It should model the rough concept.
</content>
</entry>
<entry>
<title>tor-dirserver: Make compression failures a bug</title>
<updated>2026-01-22T16:25:15Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-21T17:53:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc59f1ef133eab5c70426388deb2bc95b8c6b8a4'/>
<id>urn:sha1:bc59f1ef133eab5c70426388deb2bc95b8c6b8a4</id>
<content type='text'>
This commit removes `DatabaseError::Compression` because it does not fit
in.  Right now, this single variant makes the error to be call-site
oriented which is not nice for error handling.  Instead, this error
should indicate that something was truly wrong with the database in
itself, such as an invalid schema, a low-level SQLite bug, etc.

Instead, we now map a compression error to `DatabaseError::Bug` because
there is no good reason on why it should fail, given that we compress
memory data to memory data.  Probably because it uses the
`std::io::Writer` interface which itself demands use of
`std::io::Result`.
</content>
</entry>
<entry>
<title>tor-dirserver: Implement authcert retrieval logic</title>
<updated>2026-01-15T10:49:44Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-12-18T13:48:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=61109d1b834cc8a3c5ca32c5011733ef2a25f6b8'/>
<id>urn:sha1:61109d1b834cc8a3c5ca32c5011733ef2a25f6b8</id>
<content type='text'>
This commit implements the logic necessary to retrieve the (missing)
directory authority certificates from an upstream directory authority.

In order to do so, this commit implements three new functions:
1. `download_authority_certificates()`
2. `parse_authority_certificates()`
3. `verify_authority_certificates()`
4. `insert_authority_certificates()`
</content>
</entry>
<entry>
<title>tor-dirserver: Support for inserting into store</title>
<updated>2026-01-15T10:49:12Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-12-18T11:51:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2770569e0b23da07b543c0c9719e17beaf2e1162'/>
<id>urn:sha1:2770569e0b23da07b543c0c9719e17beaf2e1162</id>
<content type='text'>
This commit implements support for adding arbitrary documents into the
store table.

It is non-trivial because the relevant data has to be compressed into
various formats, so it can be retrieved without delays.
</content>
</entry>
</feed>
