<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/dummy.rs, branch arti-v1.1.12</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-12-05T17:24:47Z</updated>
<entry>
<title>tor-keymgr: Call inventory::collect in the dummy keymgr too.</title>
<updated>2023-12-05T17:24:47Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-12-05T10:48:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9edad5cef917d664f3fdf98fcba909334c64144f'/>
<id>urn:sha1:9edad5cef917d664f3fdf98fcba909334c64144f</id>
<content type='text'>
Not calling it results in an error (it instantiates the plugin
registry for our type).
</content>
</entry>
<entry>
<title>Merge branch 'keymgr-derive-builder' into 'main'</title>
<updated>2023-11-28T12:12:09Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-28T12:12:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=009533057f57b3c8e5e81a70314f2ead97db63e4'/>
<id>urn:sha1:009533057f57b3c8e5e81a70314f2ead97db63e4</id>
<content type='text'>
tor-keymgr: Derive Builder for KeyMgr.

Closes #1114

See merge request tpo/core/arti!1760</content>
</entry>
<entry>
<title>tor-keymgr: Write some KeyMgrBuilder functions by hand.</title>
<updated>2023-11-28T11:32:12Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-28T11:32:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a48d5be9d18d544d8c6508f74ac98c2e2259fb9'/>
<id>urn:sha1:8a48d5be9d18d544d8c6508f74ac98c2e2259fb9</id>
<content type='text'>
Eventually these will need to be auto-generated, but that is not
possible right now.

Context: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1760#note_2969841
</content>
</entry>
<entry>
<title>tor-keymgr: Abolish KeyMgr::new.</title>
<updated>2023-11-27T12:08:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-23T17:03:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d94b09e9491cea18d108e12eb82ff03fa325c1d'/>
<id>urn:sha1:0d94b09e9491cea18d108e12eb82ff03fa325c1d</id>
<content type='text'>
We don't use this now that we have a `KeyMgrBuilder`.
</content>
</entry>
<entry>
<title>tor-keymgr: Derive Builder for KeyMgr.</title>
<updated>2023-11-27T12:08:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-23T16:53:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1952cd845c170e022ef01dd05412df5b8979364a'/>
<id>urn:sha1:1952cd845c170e022ef01dd05412df5b8979364a</id>
<content type='text'>
`KeyMgr` is soon going to have more fields, so now is a good time to
derive `Builder` for it.

Closes #1114
</content>
</entry>
<entry>
<title>tor-keymgr: Add a top-level error type.</title>
<updated>2023-11-21T12:05:11Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-20T18:48:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93de4683e65c154f01938e98329ffaca986a8dad'/>
<id>urn:sha1:93de4683e65c154f01938e98329ffaca986a8dad</id>
<content type='text'>
Previously, the `tor_keymgr::Error` type was `Box&lt;dyn KeystoreError&gt;`.
This forced us to impl `KeystoreError` for any error returned by the
keymgr (including those that were not coming from a `Keystore` impl).

Now, `tor_keymgr::Error` is an non-exhaustive enum and the `Box&lt;dyn
KeystoreError&gt;` opaque error type is only returned from `Keystore` impls
The reason we're keeping the `dyn KeystoreError` error type is because
it enables `Keystore` implementors to use their own error types. Without
it, they would have to choose from our (closed) set of error variants,
which may not be suitable for their keystore. See #901.
</content>
</entry>
<entry>
<title>tor-keymgr: Add some derives for the dummy KeyType.</title>
<updated>2023-11-21T12:05:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-21T10:52:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3df738a03a08aae01339ebd1519974ac3d94a427'/>
<id>urn:sha1:3df738a03a08aae01339ebd1519974ac3d94a427</id>
<content type='text'>
We are about to add a top-level `tor_keymgr::Error` enum that has a
variant that contains a `KeyType`. The error enum needs to be `Clone`,
so we need `KeyType` (both the dummy version and the "real" one, because
the `err` module is not cfg'd behind the `keymgr` feature) to be
`Clone`.
</content>
</entry>
<entry>
<title>Revert "keymgr: Require callers to be explicit about which keystore to get keys from."</title>
<updated>2023-07-21T11:21:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-21T10:55:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98337afec991077c861c672d9dbd6e95efc0c9a2'/>
<id>urn:sha1:98337afec991077c861c672d9dbd6e95efc0c9a2</id>
<content type='text'>
This reverts commit 38a6c74c7894dc96b16c9039cacc2a4023977b05.

This also updates some tests to make them compile with the reverted
version of the code.
</content>
</entry>
<entry>
<title>keymgr: Require callers to be explicit about which keystore to get keys from.</title>
<updated>2023-07-20T18:24:57Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-19T13:24:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=38a6c74c7894dc96b16c9039cacc2a4023977b05'/>
<id>urn:sha1:38a6c74c7894dc96b16c9039cacc2a4023977b05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Require callers to specify which keystore to insert keys in.</title>
<updated>2023-07-20T18:24:29Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-18T13:21:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b208062139d85dfec161ee34fbe393bc5257e03'/>
<id>urn:sha1:0b208062139d85dfec161ee34fbe393bc5257e03</id>
<content type='text'>
The caller uses `KeystoreSelector` to specify which keystore to insert
the new key into (only `KeystoreSelector::Id` and
`KeystoreSelector::Default` are supported for `insert`).

The ability to insert keys in a particular keystore will come in handy
when we implement the key management CLI (the CLI will have an option
for specifying the keystore to access/modify).
</content>
</entry>
</feed>
