<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/publish.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-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>tor-dirclient: Avoid copying bytes that we want to POST.</title>
<updated>2026-05-12T12:10:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-04-25T21:13:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f6d57019a4b2a1e5955e6b89e066d58718902d5'/>
<id>urn:sha1:1f6d57019a4b2a1e5955e6b89e066d58718902d5</id>
<content type='text'>
This required a change to the hsservice tests, which previously
assumed that we'd perform one write per request.
</content>
</entry>
<entry>
<title>tor-hssrvice: port to web-time-compat.</title>
<updated>2026-03-26T19:20:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T15:52:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e5b0b4bcfb7b9fbdc66d359a193582cb3031c51b'/>
<id>urn:sha1:e5b0b4bcfb7b9fbdc66d359a193582cb3031c51b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-hsservice: Fix clippy.</title>
<updated>2025-08-13T18:32:36Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-08-11T16:51:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=018cd9f8250dc55e778f7110c924f41ad7a2c146'/>
<id>urn:sha1:018cd9f8250dc55e778f7110c924f41ad7a2c146</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Implement enable_pow option.</title>
<updated>2025-08-13T18:30:34Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-07-29T15:33:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba0c417801d1f50e51f9f1198776ea79f852b20f'/>
<id>urn:sha1:ba0c417801d1f50e51f9f1198776ea79f852b20f</id>
<content type='text'>
This does not currently allow this option to be changed at runtime,
although the code is structured so that allowing it to be changed at
runtime won't be too hard. This is tracked by #2082.
</content>
</entry>
<entry>
<title>tor-hsservice: Reenable publisher test in hs-pow-full.</title>
<updated>2025-08-13T18:28:25Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-07-31T20:28:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99860b9b532c9d68f382c413913c4635394e7d29'/>
<id>urn:sha1:99860b9b532c9d68f382c413913c4635394e7d29</id>
<content type='text'>
MockExecutor now supports the features needed for this test to work.
</content>
</entry>
<entry>
<title>tor-hsservice: Add PowManager to OnionServiceStatus.</title>
<updated>2025-08-13T18:28:20Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-07-31T18:18:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e478c3ca6c0b4a3598246a38d63b1823ef04076'/>
<id>urn:sha1:0e478c3ca6c0b4a3598246a38d63b1823ef04076</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>tor-hsservice: Add consensus params for Prop 362.</title>
<updated>2025-08-05T23:50:24Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-07-24T20:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=817d7c75960eecc298e55ec1f051b62e123925cd'/>
<id>urn:sha1:817d7c75960eecc298e55ec1f051b62e123925cd</id>
<content type='text'>
This adds the three new parameters specified in Prop 362 [0].

Two of these replace hardcoded defaults in the code.

The third, HiddenServiceProofOfWorkV1ServiceIntroTimeoutSeconds, is not
implemented yet, but will be in a future commit.

[0]: https://spec.torproject.org/proposals/362-update-pow-control-loop.html
</content>
</entry>
</feed>
