<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc, branch arti-v1.1.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.1.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-04-17T21:09:58Z</updated>
<entry>
<title>netdoc: Document that particular bit values for flags are not part of our API.</title>
<updated>2023-04-17T21:09:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-17T21:09:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=543e089b82a05a935783be333384f931debc67ce'/>
<id>urn:sha1:543e089b82a05a935783be333384f931debc67ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netstatus: re-number routerstatus flags to go in order.</title>
<updated>2023-04-17T20:50:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-17T20:50:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11945e8b4e2acaf900e7a4f16bc964af812f3dfe'/>
<id>urn:sha1:11945e8b4e2acaf900e7a4f16bc964af812f3dfe</id>
<content type='text'>
Otherwise there is too much risk of accidentally adding in another
1&lt;&lt;12 when we meant to add a 1&lt;&lt;13.

(It would be neat to have an alternative to bitflags here that would
auto-number our bitflags for us.)
</content>
</entry>
<entry>
<title>netdir: more documentation on MIDDLE_ONLY flag.</title>
<updated>2023-04-17T20:48:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-17T20:44:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39857002168cfc206a6c136ac92cad4d10f3d255'/>
<id>urn:sha1:39857002168cfc206a6c136ac92cad4d10f3d255</id>
<content type='text'>
Clarify that it isn't anything that most users will need to check.
</content>
</entry>
<entry>
<title>netdoc: Add MiddleOnly flag to RelayFlags</title>
<updated>2023-04-17T09:53:04Z</updated>
<author>
<name>juga</name>
<email>juga@riseup.net</email>
</author>
<published>2023-04-17T09:46:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eee1dbee7a1d993c06cc9e933993514ab6dea093'/>
<id>urn:sha1:eee1dbee7a1d993c06cc9e933993514ab6dea093</id>
<content type='text'>
Closes #833
</content>
</entry>
<entry>
<title>Merge branch 'remove-hsdesc-todo' into 'main'</title>
<updated>2023-04-12T16:52:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-04-12T16:52:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=835480e98f50a3901e02d532d23d55ad690eda46'/>
<id>urn:sha1:835480e98f50a3901e02d532d23d55ad690eda46</id>
<content type='text'>
Remove misleading TODO.

See merge request tpo/core/arti!1130</content>
</entry>
<entry>
<title>Remove misleading TODO.</title>
<updated>2023-04-11T18:44:50Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-11T18:40:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=631a1e1a86a2f8d90402f599db6815d454e51777'/>
<id>urn:sha1:631a1e1a86a2f8d90402f599db6815d454e51777</id>
<content type='text'>
The `superencrypted` blob is, in fact, followed by a newline.

See [core/torspec!122].

[core/torspec!122]: https://gitlab.torproject.org/tpo/core/torspec/-/merge_requests/122

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-netdoc: Tidy up and fix some broken intra-doc links</title>
<updated>2023-04-11T18:31:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-11T15:22:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24efbf4df7aabe8209174ea2f49eded04000cae1'/>
<id>urn:sha1:24efbf4df7aabe8209174ea2f49eded04000cae1</id>
<content type='text'>
1. Abbreviate the link text, and don't have it contain `crate`
   which is not really great in docs.

2. Use `super::` for the link target, to find the right thing.
   (`crate` doesn't seem to work in rustdoc, perhaps deliberately,
   although the error messages are ridiculous and claim the
   nonexistence of intermediate modules.)

3. Wrap the lines a bit more.
</content>
</entry>
<entry>
<title>tor-netdoc: Expose test data under new "testing" feature flag</title>
<updated>2023-04-05T10:02:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-03T15:55:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=38805f53b2c79df7e50a11157acc12807b1f1da3'/>
<id>urn:sha1:38805f53b2c79df7e50a11157acc12807b1f1da3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Fix feature builds</title>
<updated>2023-04-05T10:02:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-03T16:15:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=646e291f969a6b9357c921ace403ff81f2ffef0b'/>
<id>urn:sha1:646e291f969a6b9357c921ace403ff81f2ffef0b</id>
<content type='text'>
Fixes
  cargo +stable test --locked --offline F -p tor-netdoc
  cargo +stable clippy -p tor-netdoc F --all-targets
for values of F including
  --all-features
  --features=hs-client
  --features=hs-common
  --features=hs-service
  (nothing)
</content>
</entry>
<entry>
<title>Generate a new KP_hss_desc_enc keypair for each new descriptor.</title>
<updated>2023-03-31T14:04:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-31T11:25:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d0bf0d6ab3ee6f6248055eeaf060102c5895a76'/>
<id>urn:sha1:3d0bf0d6ab3ee6f6248055eeaf060102c5895a76</id>
<content type='text'>
Previously, to build descriptors for hidden services with client auth
enabled, in addition to the list of authorized clients, users of
`HsDescBuilder` were required to also provide a descriptor encryption
keypair and a descriptor cookie. This was potentially dangerous and/or
error-prone, because the ephemeral encryption key and the descriptor
cookie are expected to be randomly generated and unique for each
descriptor.

This change makes `ClientAuth` private to the `hsdesc::build` module and
updates `HsDescBuilder` to build `ClientAuth`s internally. Users now
only need to provide the list of authorized client public keys.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
</feed>
