<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/hsdesc/build, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-18T18:18:53Z</updated>
<entry>
<title>netdoc, hsclient: Update remaining ed25519::SecretKey users</title>
<updated>2023-05-18T18:18:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T15:09:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=82801d9963b654dec27d8deff58910caa9f3f7c8'/>
<id>urn:sha1:82801d9963b654dec27d8deff58910caa9f3f7c8</id>
<content type='text'>
Fortunately, these are all in experimental code.

Closes #798
</content>
</entry>
<entry>
<title>Use non-deprecated *Secret::random_from_rng.</title>
<updated>2023-05-13T20:52:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-13T20:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfda3082d454e1ce6cbf62974b82395fff254c80'/>
<id>urn:sha1:bfda3082d454e1ce6cbf62974b82395fff254c80</id>
<content type='text'>
The `new` function is deprecated in x25519-dalek 2.0.0-rc.2
</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>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>
<entry>
<title>Remove unnecessary test constant.</title>
<updated>2023-03-31T14:04:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-31T11:20:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94a4d2ea43b5a74c21c82cbc3224cda96f23f3e7'/>
<id>urn:sha1:94a4d2ea43b5a74c21c82cbc3224cda96f23f3e7</id>
<content type='text'>
It's not really needed, it can just be generated at (test) runtime.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Stop requiring the caller to supply `AuthClient`s.</title>
<updated>2023-03-31T14:04:15Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-27T17:02:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d9d16aabc34a06596a98e1309a3a7b6f82c01f7'/>
<id>urn:sha1:2d9d16aabc34a06596a98e1309a3a7b6f82c01f7</id>
<content type='text'>
`AuthClient`s were originally meant to represent parsed `auth-client`
lines. In !1070, this struct was repurposed for representing individual
authorized clients in the HS descriptor encoder. However, hidden
services will likely use a list of public keys to represent the
authorized clients rather than a list of `AuthClient`s, as the
information from an `AuthClient` (`client_id`, `iv`, `encrypted_cookie`)
likely won't be immediately available to the hidden service.

This change updates the HS descriptor encoder to represent authorized
clients as a list of `curve25519::PublicKey`s. As such, it is now the
responsibility of the encoder to create the `client_id`, `iv`, and
`encrypted_cookie` using the available keys, the unencrypted descriptor
cookie, and HS subcredential.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix-broken-doc-links' into 'main'</title>
<updated>2023-03-30T19:12:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-30T19:12:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=626f47a5cc9aa13825c9aede4a2516dab9e52530'/>
<id>urn:sha1:626f47a5cc9aa13825c9aede4a2516dab9e52530</id>
<content type='text'>
Fix broken doc link.

See merge request tpo/core/arti!1082</content>
</entry>
</feed>
