<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hscrypto/src/pk.rs, branch arti-v1.4.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-12-11T16:13:10Z</updated>
<entry>
<title>tor-hscrypto: Move encodable key trait impls from tor-key-forge.</title>
<updated>2024-12-11T16:13:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-11T16:11:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf6998c7e8fa42d29847759d96af3c5fe02ab5f0'/>
<id>urn:sha1:cf6998c7e8fa42d29847759d96af3c5fe02ab5f0</id>
<content type='text'>
This enables us to get rid of the tor-key-forge -&gt; tor-hscrypto
dependency, partially addressing the TODO from `tor_key_forge::traits`.

This commit is mostly code motion. Best reviewed with `--color-moved`.

See also #1778
</content>
</entry>
<entry>
<title>tor-hscrypto: Abolish the HasKind impl of HsIdParseError.</title>
<updated>2024-11-04T10:48:47Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-11-04T10:38:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30b98a843510caecdac18da01ad4dfa1ddc68886'/>
<id>urn:sha1:30b98a843510caecdac18da01ad4dfa1ddc68886</id>
<content type='text'>
Also changes the `ErrorKind` of `BadOnionAddress` to
`ForbbiddenStreamTarget`.

See context in
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045683

Closes #1483
</content>
</entry>
<entry>
<title>tor-hscrypto: Use the new "restricted discovery" terminology.</title>
<updated>2024-10-03T11:42:29Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-10-03T11:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f7f78634399c79e3df0725d6fa0e7a8cb68b594'/>
<id>urn:sha1:0f7f78634399c79e3df0725d6fa0e7a8cb68b594</id>
<content type='text'>
Part of #1476
</content>
</entry>
<entry>
<title>tor_hsservice: add `impl From&lt;&amp;FooPublicKeySpecifier&gt; for FooKeypairSpecifier` instances</title>
<updated>2024-09-09T16:08:10Z</updated>
<author>
<name>Adam Joseph F0B74D717CDE8412A3E0D4D5F29AC8080DA8E1E0</name>
<email>3587-amjoseph@gitlab.torproject.org</email>
</author>
<published>2024-09-07T07:24:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2c60baee2ca6aa6c76f19d150c77d119f0d6ece4'/>
<id>urn:sha1:2c60baee2ca6aa6c76f19d150c77d119f0d6ece4</id>
<content type='text'>
This adds the following trivial `From` instances:

- tor_hsservice: impl From&lt;&amp;HsIdPublicKeySpecifier&gt; for HsIdKeypairSpecifier
- tor_hsservice: impl From&lt;&amp;BlindIdPublicKeySpecifier&gt; for BlindIdKeypairSpecifier
- tor_hscrypto::pk: impl From&lt;HsBlindIdKeypair&gt; for HsBlindIdKey
- tor_llcrypto::pk::ed25519: impl From&lt;ExpandedKeypair&gt; for PublicKey
- tor_keymgr::mgr: impl From&lt;TestKey&gt; for TestPublicKey
- tor::hscrypto::pk: impl From&lt;HsIdKeypair&gt; for HsIdKey
</content>
</entry>
<entry>
<title>tor-hscrypto: Implement Eq for HsClientDescEncKey.</title>
<updated>2024-08-05T16:41:15Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T15:27:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e818088b7b111d566ce447809142ef7b24ec0191'/>
<id>urn:sha1:e818088b7b111d566ce447809142ef7b24ec0191</id>
<content type='text'>
Needed because such keys will be stored in the `OnionServiceConfig`.
</content>
</entry>
<entry>
<title>tor-hscrypto: Use collect_tuple to avoid unnecessary Vec allocation.</title>
<updated>2024-07-08T17:25:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T16:23:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=437eba59d26b19a6587c7c69b3138e1ebb5bde6f'/>
<id>urn:sha1:437eba59d26b19a6587c7c69b3138e1ebb5bde6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hscrypto: Remove HsClientDescKeyParseError's HasKind impl.</title>
<updated>2024-07-08T17:25:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T16:19:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01d83207c82f9261bd1fe0b1091b64fe069e6854'/>
<id>urn:sha1:01d83207c82f9261bd1fe0b1091b64fe069e6854</id>
<content type='text'>
Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045656
</content>
</entry>
<entry>
<title>tor-hscrypto: Implement FromStr for HsClientDescEncKey.</title>
<updated>2024-07-08T17:25:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T11:05:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=813ea994174aaea2759d20633d03a381d03a09ce'/>
<id>urn:sha1:813ea994174aaea2759d20633d03a381d03a09ce</id>
<content type='text'>
We will use this impl for parsing the authorized clients of a hidden
service running in "restricted discovery" mode.

NB: "Restricted discovery" is the new terminology for "services that
require client authorization", i.e. services that implement "client
authorization" as described in rend-spec HS-DESC-ENC[0]. Note we haven't
fully transitioned to the new terminology yet (see #1476).

Part of #1292

[0]: https://spec.torproject.org/rend-spec/hsdesc-encrypt.html#HS-DESC-SECOND-LAYER
</content>
</entry>
<entry>
<title>tor-hscrypto: Remove unnecessary Display wrapper.</title>
<updated>2024-07-08T17:25:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T13:57:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=626148b9865c68f6aaef8d8b3188693f81532596'/>
<id>urn:sha1:626148b9865c68f6aaef8d8b3188693f81532596</id>
<content type='text'>
I don't think we need a separate wrapper type for displaying
`HsClientDescEncKey` keys in the "C Tor format"
(`&lt;auth-type&gt;:&lt;key-type&gt;:&lt;base32-encoded-public-key&gt;`).

I think this should be the canonical string representation of
`HsClientDescEncKey`, so I'm removing the `display_authorized_client`
function and corresponding `DisplayAuthorizedHsClientDescEncKey` wrapper
type.
</content>
</entry>
<entry>
<title>tor-hscrypto: Add helper for encoding client auth keys in C Tor format.</title>
<updated>2024-06-27T17:13:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-18T14:12:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f97692c1a6fa2e7ee05f15ea61b6fca34ff34e0'/>
<id>urn:sha1:1f97692c1a6fa2e7ee05f15ea61b6fca34ff34e0</id>
<content type='text'>
This will enable us to implement the `arti hsc` client subcommand for
generating client auth keys (#1281).

Closes #1291
</content>
</entry>
</feed>
