<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/lib.rs, branch arti-v1.3.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.3.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-11-20T14:32:30Z</updated>
<entry>
<title>tor-keymgr: Remove now-unnecessary cfg_attr.</title>
<updated>2024-11-20T14:32:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-11-20T14:21:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e046d73586362daaf64f068c3cf664bea2dde68'/>
<id>urn:sha1:4e046d73586362daaf64f068c3cf664bea2dde68</id>
<content type='text'>
This doesn't seem to be needed anymore.
</content>
</entry>
<entry>
<title>Disable a lot of dead code warnings (fmt)</title>
<updated>2024-10-17T10:25:33Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-17T10:25:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=731adee5ad984dd1226eb917b20bb1380065aa09'/>
<id>urn:sha1:731adee5ad984dd1226eb917b20bb1380065aa09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable a lot of dead code warnings</title>
<updated>2024-10-17T10:25:24Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-16T14:27:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=107ad43db8b7d619f5076ab37c92dcce7a25c223'/>
<id>urn:sha1:107ad43db8b7d619f5076ab37c92dcce7a25c223</id>
<content type='text'>
Now
  cargo check --workspace --no-default-features --all-targets
  cargo build -p arti --no-default-features --features=memquota,tokio,native-tls
are both clean.
</content>
</entry>
<entry>
<title>arti-client: Use the configured C Tor client keystores.</title>
<updated>2024-10-08T13:25:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-27T16:14:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed2581a60625796cc77755eb1503ca1e78fcba73'/>
<id>urn:sha1:ed2581a60625796cc77755eb1503ca1e78fcba73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-client: Use the configured C Tor keystores, if any.</title>
<updated>2024-10-08T13:25:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-24T18:30:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3265567c74af8f147686dec80be15d06ea1f5623'/>
<id>urn:sha1:3265567c74af8f147686dec80be15d06ea1f5623</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Rename KeyPathRange to ArtiPathRange (fmt).</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-25T18:25:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d85e43f4581af70ea8d2ba3df30b4b98e8ebf2ba'/>
<id>urn:sha1:d85e43f4581af70ea8d2ba3df30b4b98e8ebf2ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Rename KeyPathRange to ArtiPathRange.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-25T18:23:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=05066b0ebfc769cb54018d9633646ace70456ee3'/>
<id>urn:sha1:05066b0ebfc769cb54018d9633646ace70456ee3</id>
<content type='text'>
This is only used for representing portions of `ArtiPath`s, so let's
rename it accordingly.
</content>
</entry>
<entry>
<title>tor-keymgr: Reimagine CTorPath as an enum.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-20T15:39:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=971304d31bdb38fd9e6133941d2e021d4bb7dd6d'/>
<id>urn:sha1:971304d31bdb38fd9e6133941d2e021d4bb7dd6d</id>
<content type='text'>
C Tor's client restricted discovery keys don't have the service hsid
encoded in the filename (the hsid of the service each key is associated
with is encoded in contents of the key file). This means that given a
key specifier like `HsClientDescEncKeypairSpecifier` (which is a wrapper
over an HsId), we can't actually compute the relative path of the key in
its `KeySpecifier::ctor_path()` implementation. To do so we would need
to access the keystore to figure out which path contains the requested
HsId, which we can't (and shouldn't!) do from within the `KeySpecifier`
impl.

This suggests the String newtype (representing a relative path) we
previously had is not a good abstraction for `CTorPath`s. Moreover,
`CTorPath` are static (they don't have dynamic components like
`ArtiPath`), so it makes more sense to model `CTorPath` as an enum.

The new `CTorPath::ClientHsDescEncKey(HsId)` variant will be used to
instruct the C Tor client keystore to find the file that contains the
specified `HsId`, while the `Service` variant will be used for hidden
service keys.
</content>
</entry>
<entry>
<title>tor-keymgr: Rename the primary keystore for clarity.</title>
<updated>2024-09-23T13:17:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-20T10:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80095da1aa47978cdba26c2b3d254a99c075cf53'/>
<id>urn:sha1:80095da1aa47978cdba26c2b3d254a99c075cf53</id>
<content type='text'>
Previously, arti's primary keystore was referred to as its "default"
keystore. However, "default" is inaccurate here: there is no way to
meaningfully override this "default" (the "default" store acts as the
main keystore). Throughout the codebase, we query all keystores for keys
(including the secondary ones), but only ever write to the
default/primary keystore. This is OK for now, because it enables us to
have one mutable keystore, and multiple secondary, read-only stores.
</content>
</entry>
<entry>
<title>tor-keymgr: put ephemeral keystore behind experimental feature</title>
<updated>2024-09-17T19:05:31Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-09-17T18:54:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06e78a1f71f6ee4c24094a17fef557790500e0d0'/>
<id>urn:sha1:06e78a1f71f6ee4c24094a17fef557790500e0d0</id>
<content type='text'>
Feature is named "ephemeral-keystore".
</content>
</entry>
</feed>
