<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hscrypto/src, 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>hscrypto: Remove an incorrect comment.</title>
<updated>2023-05-18T18:18:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T15:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9773633a848b97aebbdb8a221914b3eacc035a17'/>
<id>urn:sha1:9773633a848b97aebbdb8a221914b3eacc035a17</id>
<content type='text'>
(It said that we want to deprecate all unescorted secret keys; in
fact, only unescorted EdDSA secrets are bad.)
</content>
</entry>
<entry>
<title>hscrypto: Replace ed25519 secret keys with keypairs</title>
<updated>2023-05-18T18:18:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T15:08:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66c06ecc9c3e6a5342074684feab0aa2a04ca187'/>
<id>urn:sha1:66c06ecc9c3e6a5342074684feab0aa2a04ca187</id>
<content type='text'>
Part of #798: We no longer use unescorted ed25519 secret keys.
</content>
</entry>
<entry>
<title>hscrypto: Add comment about impl that will be removed after we address #798.</title>
<updated>2023-05-03T16:25:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-03T14:45:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b168fd36de4d57f9dae42e88c0b7e85ab70d4248'/>
<id>urn:sha1:b168fd36de4d57f9dae42e88c0b7e85ab70d4248</id>
<content type='text'>
Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>hscrypto: Add From impl for deriving KP_hsc_desc_enc out of KS_hsc_desc_enc.</title>
<updated>2023-05-03T16:25:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-26T12:32:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18cb1671c4135b3d875dd0a296f5d2ae19c3d0c5'/>
<id>urn:sha1:18cb1671c4135b3d875dd0a296f5d2ae19c3d0c5</id>
<content type='text'>
The `HsClientSecretKeys` stored in the HS client connection context only
have the secret keys. Certain APIs (such as `HsDesc::parse`) expect a
keypair (both `HsClientDescEncKey` and `HsClientDescEncSecretKey`). This
`From` impl makes it possible to get a `HsClientDescEncKey` out of
`HsClientDescEncSecretKey`.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Debug as hex strings for HsBlindId and HsDirIndex</title>
<updated>2023-03-31T18:10:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T17:33:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aafdf755c0f105dfbca0c2c120a8f4c60c104da5'/>
<id>urn:sha1:aafdf755c0f105dfbca0c2c120a8f4c60c104da5</id>
<content type='text'>
</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>tor-hscrypto: key blinding: Use consistent terminology</title>
<updated>2023-03-28T11:47:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-28T11:46:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c2a9332db55a660f9e725c0a0f20f2d8dd79d18'/>
<id>urn:sha1:4c2a9332db55a660f9e725c0a0f20f2d8dd79d18</id>
<content type='text'>
* Don't ever use the words "parameter" or "param".
  These doesn't appear in the spec anywhere.

* Use `h` as the variable name for the unclamped blinding factor,
  and `blinding_factor` in function names.
</content>
</entry>
<entry>
<title>Use the type system to enforce use of blinded keys.</title>
<updated>2023-03-27T10:45:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-22T19:09:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d4069cc7f233c40c079a6dfbc7f5d93f350c555'/>
<id>urn:sha1:1d4069cc7f233c40c079a6dfbc7f5d93f350c555</id>
<content type='text'>
Hidden services use blinded singing keys derived from the identity key
to sign descriptor signing keys.

Before this patch, the hidden descriptor builder represented its blinded
signing keys (`blinded_id`) as plain `ed25519::Keypair`s. This was not
ideal, as there was nothing preventing the caller from accidentally
initializing `blinded_id` with an unblinded keypair.

This introduces a new `HsBlindKeypair` type to represent blinded
keypairs.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Add builder for encoding hidden service descriptors.</title>
<updated>2023-03-24T18:57:49Z</updated>
<author>
<name>Gabi Moldovan</name>
<email>gabi@gotpcrel.net</email>
</author>
<published>2023-03-16T13:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1074c00276b3f009444a9af0ee06a0f2d08d721'/>
<id>urn:sha1:a1074c00276b3f009444a9af0ee06a0f2d08d721</id>
<content type='text'>
This introduces the `NetdocBuilder` trait described in
`netdoc-builder.md` and a new `tor-netdoc::doc::hsdesc::build` module,
which exports the `HsDescBuilder`. Hidden services will use
`HsDescBuilder` to build and encode hidden service descriptors.

There are several TODOs in the code that I'm planning to address
separately.

Partially addresses #745.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Improve error from HsId parse of "www.B32.onion"</title>
<updated>2023-03-09T18:09:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-09T13:24:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=654f6689cf9ebaa1137dd86fa71005a93f84cd23'/>
<id>urn:sha1:654f6689cf9ebaa1137dd86fa71005a93f84cd23</id>
<content type='text'>
And add some clarity and todos about address errors.
</content>
</entry>
</feed>
