<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/publish/descriptor.rs, branch arti-v1.4.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-05-27T18:05:01Z</updated>
<entry>
<title>tor-hsservice: Refactor PoW error handling.</title>
<updated>2025-05-27T18:05:01Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-05-06T20:45:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f957b396065e5d77bfd942fb2e9fd88e0f646680'/>
<id>urn:sha1:f957b396065e5d77bfd942fb2e9fd88e0f646680</id>
<content type='text'>
This adds a error type for internal errors, and in error cases where we
previously panicked, returns a Result instead. The publisher then simply
doesn't publish the pow_params line and warns the user.
</content>
</entry>
<entry>
<title>tor-hsservice: Initial parts of PowManager.</title>
<updated>2025-05-27T17:51:27Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-01-08T18:07:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1402316fa8771e027fa2743664f3f137c764c13'/>
<id>urn:sha1:c1402316fa8771e027fa2743664f3f137c764c13</id>
<content type='text'>
This adds PowManager, as described in doc/dev/notes/service-side-pow.md,
hooks it into IptManager and Publisher, and adds code to publish and
rotate seeds, and to keep a updated list of Verifier instances for
currently active seeds.
</content>
</entry>
<entry>
<title>Use an EntropicRng trait to enforce key generation rules.</title>
<updated>2025-03-24T19:11:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-20T15:09:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a33afe155e9bd29d9302b4b44dd5843d00866db'/>
<id>urn:sha1:8a33afe155e9bd29d9302b4b44dd5843d00866db</id>
<content type='text'>
We want to require that whenever we generate a key that's persistent
(stored in KeyMgr), it's going to be made from a stronger-than-usual
Rng.  This trait helps us enforce that.

We also add a FakeEntropicRng struct to use for testing.

Note that this turned up a case that we'd missed, which required
an internal change in tor-hsservice.
</content>
</entry>
<entry>
<title>tor-hsservice: Remove the anonymity setting from the config.</title>
<updated>2024-09-12T10:42:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-12T10:39:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=742dc71f53d164398d7cf2c3e13a9822f4f7071b'/>
<id>urn:sha1:742dc71f53d164398d7cf2c3e13a9822f4f7071b</id>
<content type='text'>
As mentioned in #727, this is not supported yet.
</content>
</entry>
<entry>
<title>Merge branch 'publisher-svc-status' into 'main'</title>
<updated>2024-09-10T13:29:21Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-09-10T13:29:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f2872c18165e139fccf45a1e48855dfc5a52569'/>
<id>urn:sha1:3f2872c18165e139fccf45a1e48855dfc5a52569</id>
<content type='text'>
tor-hsservice: Improve descriptor publisher status reporting

Closes #1216 and #1572

See merge request tpo/core/arti!2397</content>
</entry>
<entry>
<title>tor-hsservice: Validate the authorized clients before publishing.</title>
<updated>2024-09-09T17:26:37Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-29T18:05:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3f6fde0defcdc2bf6e5907d488b70dc91e87325'/>
<id>urn:sha1:f3f6fde0defcdc2bf6e5907d488b70dc91e87325</id>
<content type='text'>
This enables us to report a "broken" service status if restricted
discovery is enabled but the authorized_clients list is empty.
</content>
</entry>
<entry>
<title>tor-hsservice: Store the authorized_clients in the mutable state of the reactor.</title>
<updated>2024-09-09T17:26:37Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-29T17:40:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fc9a58209bfe5574410893bc7caaafa4b797cc29'/>
<id>urn:sha1:fc9a58209bfe5574410893bc7caaafa4b797cc29</id>
<content type='text'>
Previously, these were stored in the immutable state behind a mutex, but
since they're not really immutable (we update them if the config
changes), it makes more sense to put them in `State`.
</content>
</entry>
<entry>
<title>tor_hsservice use get::&lt;HsIdKey&gt; rather than get::&lt;HsIdKeypair&gt;</title>
<updated>2024-09-09T16:08:11Z</updated>
<author>
<name>Adam Joseph F0B74D717CDE8412A3E0D4D5F29AC8080DA8E1E0</name>
<email>3587-amjoseph@gitlab.torproject.org</email>
</author>
<published>2024-09-07T07:30:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4423132aff748f90bddc05b5c1dc21d887713040'/>
<id>urn:sha1:4423132aff748f90bddc05b5c1dc21d887713040</id>
<content type='text'>
There are three places where we query the KeyMgr for an `HsIdKeypair` but all
we really need is the public part.  This commit changes those three callsites
to instead use `get::&lt;HsIdKey&gt;`.

This relies on the previous commit, which makes sure that a request for an
`HsIdKey` will always succeed if the keystore has a `HsIdKeypair` with the
same service nickname.
</content>
</entry>
<entry>
<title>tor-hsservice: Use OnionServiceConfigPublisherView in the publisher.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-13T11:57:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c5b757d0c2f95efa02a9c2a852ccea5f0fae6fe4'/>
<id>urn:sha1:c5b757d0c2f95efa02a9c2a852ccea5f0fae6fe4</id>
<content type='text'>
Resolves the TODO prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1603#note_2944902
</content>
</entry>
<entry>
<title>tor-hsservice: Log the client nicknames the descriptor is encrypted for.</title>
<updated>2024-08-21T18:54:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-16T10:13:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8894b91d19244e72a65677645c39b1522a924915'/>
<id>urn:sha1:8894b91d19244e72a65677645c39b1522a924915</id>
<content type='text'>
Knowing the nicknames can be useful when debugging.
</content>
</entry>
</feed>
