<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/keystore/arti.rs, branch arti-v1.3.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-08T13:25:17Z</updated>
<entry>
<title>tor-keymgr: Add tests for CTorClientKeystore.</title>
<updated>2024-10-08T13:25:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-30T18:16:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f4733cecfd78c54a91a86d042621f1c1a3b4e125'/>
<id>urn:sha1:f4733cecfd78c54a91a86d042621f1c1a3b4e125</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Move assert_found helper to test_utils.</title>
<updated>2024-10-08T13:25:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-30T17:51:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf0b8292f71c1239ec728b6b5b9f86a0bbe1859d'/>
<id>urn:sha1:cf0b8292f71c1239ec728b6b5b9f86a0bbe1859d</id>
<content type='text'>
This moves `assert_found` out of the `keystore::arti::test` so we can
reuse it for testing other keystore implementations too.
</content>
</entry>
<entry>
<title>tor-keymgr: Rename Filesystem variant to Io for clarity (fmt).</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-26T11:43:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd5418c706bc4a6a27d18e8eca4a05c6bf8bfeea'/>
<id>urn:sha1:fd5418c706bc4a6a27d18e8eca4a05c6bf8bfeea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Rename Filesystem variant to Io for clarity.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-25T11:36:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78a8dd2cfc267f37912c9e69980aaaa0f69faf8f'/>
<id>urn:sha1:78a8dd2cfc267f37912c9e69980aaaa0f69faf8f</id>
<content type='text'>
The `FilesystemError::Filesystem` variant was actually just for IO
errors.
</content>
</entry>
<entry>
<title>tor-keymgr: Refactor common fs errors into a separate error enum.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-25T11:32:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9fa5593d3c92f4a3b82ee4abbd62a0aebf9c5db6'/>
<id>urn:sha1:9fa5593d3c92f4a3b82ee4abbd62a0aebf9c5db6</id>
<content type='text'>
This will be reused by other on-disk key stores (such as the C Tor ones
we're about to add).

I recommend reviewing this commit using
`git diff --color-moved=zebra  --ignore-space-change`
</content>
</entry>
<entry>
<title>tor-keymgr: Rename RelKeyPath::new to RelKeyPath::arti.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-20T18:15:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a261a177f896083574b8ed97af0ad45975bd557'/>
<id>urn:sha1:2a261a177f896083574b8ed97af0ad45975bd557</id>
<content type='text'>
We're about to add a separate constructor for CTor paths.
</content>
</entry>
<entry>
<title>tor-keymgr: Move the checked_op utils out of the arti module.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-20T18:13:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf0e37207caf4dbce983fcb3544b51c38a018aec'/>
<id>urn:sha1:bf0e37207caf4dbce983fcb3544b51c38a018aec</id>
<content type='text'>
We are about to use this for the ctor keystore implementation too.
</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>Rename tor-keys crate to tor-key-forge</title>
<updated>2024-09-04T18:26:37Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-09-04T18:24:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a28902e3d0c34375e64cbc067eb9cf2e4a55142'/>
<id>urn:sha1:6a28902e3d0c34375e64cbc067eb9cf2e4a55142</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-keymgr: Use tor-keys crate and remove dead code</title>
<updated>2024-09-04T18:25:55Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-08-22T17:41:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=803ede5806999264a8379daa96fcdf9177338981'/>
<id>urn:sha1:803ede5806999264a8379daa96fcdf9177338981</id>
<content type='text'>
Everything copied in the previous commits to tor-keys is now removed and
tor-keys crate is used accross the code.

Minor changes to tor-keys to accomodate this change.

Part of #1137

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
