aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-keymgr/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* keymgr: Update function names and docs to reflect reality.Gabriela Moldovan2023-06-201-2/+2
| | | | | | The functions that handle OpenSSH-formatted keys now no longer read or write from disk. This commit updates their names and doc strings to stop suggesting they do.
* keymgr: Create a temporary error type for the key types we don't support yet.Gabriela Moldovan2023-06-201-0/+5
|
* keymgr: Create a separate error source for key corruption errors.Gabriela Moldovan2023-06-201-29/+32
|
* keymgr: Fix broken docs.Gabriela Moldovan2023-06-201-1/+1
|
* keymgr: Add an error variant for fs_mistrust errors.Gabriela Moldovan2023-06-201-0/+13
| | | | | This will be useful later, when `KeyMgr` will start validating permissions and paths.
* keymgr: Add a FsErrorSource to Error::Fs.Gabriela Moldovan2023-06-201-1/+21
| | | | | | In the future, the potential causes of an `Error::Filesystem` error will include permission errors as well as other errors (not just `io::Error`s).
* keymgr: Add TODO regarding some error refactorings.Gabriela Moldovan2023-06-151-0/+14
|
* keymgr: Add ArtiNativeKeyStore implementation skeleton.Gabriela Moldovan2023-06-151-0/+74
This adds implementation stubs for `ArtiNativeKeyStore`, and introduces the traits needed to make the `KeyStore` APIs work.