<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/keys.rs, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<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>hsclient, hsservice: Use unquoted paths in ctor_path attr</title>
<updated>2026-04-16T09:22:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-15T13:13:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ddddac1f5be762cdb954114f130aad8e6915ecba'/>
<id>urn:sha1:ddddac1f5be762cdb954114f130aad8e6915ecba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsservice: Use unquoted type in keypair_specifier attr</title>
<updated>2026-04-16T09:22:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-15T13:06:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06e9a5dee1b423110a000428f90e857e70f85191'/>
<id>urn:sha1:06e9a5dee1b423110a000428f90e857e70f85191</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsclient, hsservice: Remove no longer needed conversion functions</title>
<updated>2026-01-06T15:25:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-06T11:47:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a20fb9b96ab7512c23d75f56c23693c288faa5c1'/>
<id>urn:sha1:a20fb9b96ab7512c23d75f56c23693c288faa5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Use d-d to generate CTorPath&lt;-&gt;KeySpecifier conversions</title>
<updated>2026-01-06T15:25:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-06T11:47:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0221cb64c93d4b9767cb78346e6d2f9d505efba6'/>
<id>urn:sha1:0221cb64c93d4b9767cb78346e6d2f9d505efba6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Make CTorPath more like the client/service specifiers (fmt)</title>
<updated>2026-01-06T15:25:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-06T10:45:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf0267f8e4b6182448963949cfeebe35f949eb0f'/>
<id>urn:sha1:cf0267f8e4b6182448963949cfeebe35f949eb0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Make CTorPath more like the client/service specifiers</title>
<updated>2026-01-06T15:25:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-06T10:43:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71178a54dc8c3c3ed75b14ecbca3197feb22accc'/>
<id>urn:sha1:71178a54dc8c3c3ed75b14ecbca3197feb22accc</id>
<content type='text'>
This will make it easier to see the correspondence between CTorPaths
and the HS client/service key specifiers.

Initially, I was hoping this would make it easier to write a d-d macro
that automatically derives a `CTorPath` variant (e.g.
`HsClientDescEncKeypair`) from the KeySpecifier type name
(`HsClientDescEncKeypairSpecifier`), but alas, I don't think d-d can
"chop off" name suffixes ("Specifier", in this case).
`from_ctor_path()`/`ctor_path()` implementations for converting
`CTorPath`s to and from key specifiers.
</content>
</entry>
<entry>
<title>keymgr: Push error handling into the from_ctor_path() functions</title>
<updated>2026-01-06T15:25:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-05T12:24:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4b817a9450566d7b81b77ba6f4c7c16adffe6d5d'/>
<id>urn:sha1:4b817a9450566d7b81b77ba6f4c7c16adffe6d5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Specify ctor conversion functions as module</title>
<updated>2026-01-06T15:25:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-23T20:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab4418cb841f7634ffe9827dbf23737cdc068a91'/>
<id>urn:sha1:ab4418cb841f7634ffe9827dbf23737cdc068a91</id>
<content type='text'>
This is similar to `#[serde(with = "...")]`, and feels a bit nicer than
having to specify two separate functions for the conversions (because
with two separate functions, you *can* technically only specify one of
them, which shouldn't be allowed).
</content>
</entry>
<entry>
<title>keymgr: Extend KeySpecifier macro to support CTorPath conversions</title>
<updated>2026-01-06T15:25:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-15T15:18:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=11684e062a84bc191843e4111755ea248e5b22af'/>
<id>urn:sha1:11684e062a84bc191843e4111755ea248e5b22af</id>
<content type='text'>
This enables us to implement `KeyMgr::describe()`, which relies on the
ability to extract the key specifier of the key from its `KeyPath`.
</content>
</entry>
</feed>
