<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/mgr.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:23:17Z</updated>
<entry>
<title>tor-keymgr: Implement KeyPath::matches for CTorPaths.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-25T18:20:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b2170d7d8a680255e389a3600444b50bd9d3a363'/>
<id>urn:sha1:b2170d7d8a680255e389a3600444b50bd9d3a363</id>
<content type='text'>
`KeyPath::matches` now returns a boolean (because we can't return a
matching "range" for `CTorPaths`, because unlike ArtiPaths, they're not
represented as `String`s, and do not have variable parts that need to be
captured).
</content>
</entry>
<entry>
<title>tor-keymgr: Return an error if the keystore IDs are not unique.</title>
<updated>2024-10-08T13:23:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-28T23:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5ec392b2aa15fae6bd99315bd5f7824a1a2c5cfd'/>
<id>urn:sha1:5ec392b2aa15fae6bd99315bd5f7824a1a2c5cfd</id>
<content type='text'>
The `KeyMgrBuilder` now returns an error if the configured keystores
don't have pairwise unique IDs. This is needed because some keymgr
operations take a `KeystoreSelector` specifying the ID of the keystore
the operation should be performed on, and assume that the keystore ID
uniquely identifies a single keystore.
</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: add an overwrite flag to KeyMgr::insert()</title>
<updated>2024-09-10T02:56:14Z</updated>
<author>
<name>Morgan</name>
<email>morgan@torproject.org</email>
</author>
<published>2024-09-08T21:28:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09483af6a80b1a2100f67cf8051ff6dbf79e84d9'/>
<id>urn:sha1:09483af6a80b1a2100f67cf8051ff6dbf79e84d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename get_keypair_specifier() to keypair_specifier()</title>
<updated>2024-09-09T16:12:27Z</updated>
<author>
<name>Adam Joseph F0B74D717CDE8412A3E0D4D5F29AC8080DA8E1E0</name>
<email>3587-amjoseph@gitlab.torproject.org</email>
</author>
<published>2024-09-09T16:12:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6b6e56bb65f5395d4afe6922219f9b2dc6e110a1'/>
<id>urn:sha1:6b6e56bb65f5395d4afe6922219f9b2dc6e110a1</id>
<content type='text'>
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2393#note_3073480
</content>
</entry>
<entry>
<title>tor_keymgr: teach the KeyStore how to satisfy public key requests using a keypair</title>
<updated>2024-09-09T16:08:11Z</updated>
<author>
<name>Adam Joseph F0B74D717CDE8412A3E0D4D5F29AC8080DA8E1E0</name>
<email>3587-amjoseph@gitlab.torproject.org</email>
</author>
<published>2024-09-07T07:24:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a5339948755e0fa825061524f9a73260b3e40b8'/>
<id>urn:sha1:4a5339948755e0fa825061524f9a73260b3e40b8</id>
<content type='text'>
Now that:

- KeySpecifier::get_keypair_specifier() can be used to convert the
  KeySpecifier for a public key into the KeySpecifier for its secret key

- ToEncodableKey&lt;Key=PublicKey&gt; has a "type level pointer" to
  ToEncodableKey&lt;Key=KeyPair&gt;

We can use these two features together to automatically satisfy any request to
get a public key using the corresponding secret key (if available).
</content>
</entry>
<entry>
<title>tor_key_forge::traits::ToEncodableKey: add KeyPair associated type</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:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97ac26cf8c5fc4d33da64f86531488e58191f989'/>
<id>urn:sha1:97ac26cf8c5fc4d33da64f86531488e58191f989</id>
<content type='text'>
This comment adds a second associated type `KeyPair` to ToEncodableKey.  For a
`ToEncodableKey` which represents a (secret) KeyPair, this type is Self.  For
a `ToEncodableKey` which represents a public key, this is the `ToEncodableKey`
whose `Key` is the pair of which this is the public part.

This is essentially a "type level pointer" from the ToEncodableKey for a
public key to the ToEncodableKey for its secret key.
</content>
</entry>
<entry>
<title>tor_keymgr: add get_keypair_specifier() to KeySpecifier, and derive it</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:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dfec9e8e9106b470fe26b6a8307f098ec6d7ba99'/>
<id>urn:sha1:dfec9e8e9106b470fe26b6a8307f098ec6d7ba99</id>
<content type='text'>
This commit adds a new method `get_keypair_specifier()` to `KeySpecifier`.
This method is used to indicate when one KeySpecifier (e.g. `KP_hs_id`) is the
public part of another keypair (e.g. `KS_hs_id`).  It will return the
containing keypair in this case, and `None` otherwise.
</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>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>
</feed>
