<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/err.rs, branch arti-v1.1.11</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.11</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.11'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-11-29T18:38:24Z</updated>
<entry>
<title>tor-keymgr: Remove unnecessary impls for KeystoreCorruptionError.</title>
<updated>2023-11-29T18:38:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-29T18:37:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfed96e3bf054b41638d89f14133630ed699162c'/>
<id>urn:sha1:cfed96e3bf054b41638d89f14133630ed699162c</id>
<content type='text'>
These impl only exist because they were needed back when we didn't
have the `tor_keymgr::Error` enum and all errors _had_ to implement
`KeystoreError`. They are not used or required anymore, so let's remove
them.
</content>
</entry>
<entry>
<title>tor-keymgr: Fix some broken docs links</title>
<updated>2023-11-28T12:29:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-11-28T12:29:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=74ec98af5fb02d1f5d7d63adeed4fb393b3f5abd'/>
<id>urn:sha1:74ec98af5fb02d1f5d7d63adeed4fb393b3f5abd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Remove a TODO that is no longer relevant.</title>
<updated>2023-11-21T12:49:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-20T19:19:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dc5276e8940b21479bb59b19ac6760e56cd7e45b'/>
<id>urn:sha1:dc5276e8940b21479bb59b19ac6760e56cd7e45b</id>
<content type='text'>
`KeystoreCorruptionError` is now part of `tor_keymgr::Error` and no
longer implements `KeystoreError` (the `KeystoreError` trait is now only
for keystore-specific errors).
</content>
</entry>
<entry>
<title>tor-keymgr: Remove unnecessary trait function.</title>
<updated>2023-11-21T12:49:09Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-20T18:49:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aac82f0f1f15987dec50e7918fd491ae703c43ea'/>
<id>urn:sha1:aac82f0f1f15987dec50e7918fd491ae703c43ea</id>
<content type='text'>
We don't use this anymore.
</content>
</entry>
<entry>
<title>tor-keymgr: Add a top-level error type (fmt).</title>
<updated>2023-11-21T12:49:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-21T12:49:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=556a2a35289053e90185a5d2032b0143608bca44'/>
<id>urn:sha1:556a2a35289053e90185a5d2032b0143608bca44</id>
<content type='text'>
</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: Move ArtiPathError, KeystoreCorruptionError to err.rs.</title>
<updated>2023-11-21T11:54:00Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-20T17:50:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7450e4a86b6a75f44e62b8a8346d1e68c70c8b6'/>
<id>urn:sha1:a7450e4a86b6a75f44e62b8a8346d1e68c70c8b6</id>
<content type='text'>
KeystoreCorruptionError is about to become a variant of the top-level
keymgr Error enum (which doesn't exist yet but will be introduced in a
future commit).
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Add a convenience function for boxing keystore errors.</title>
<updated>2023-07-20T18:24:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-19T16:07:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6ec1b55938cad68cdff78be1d9172ddf747e2029'/>
<id>urn:sha1:6ec1b55938cad68cdff78be1d9172ddf747e2029</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
</feed>
