summaryrefslogtreecommitdiff
path: root/crates/tor-keymgr/src
Commit message (Expand)AuthorAgeFilesLines
* keymgr: Add TODO regarding generate() being racy.Gabriela Moldovan2023-07-271-0/+3
* keymgr: Document the TOCTOU issue with generate().Gabriela Moldovan2023-07-271-0/+16
* keymgr: Make the return value of generate() indicate if a new key was created.Gabriela Moldovan2023-07-271-3/+5
* keymgr: Make Keystore::generate() return a Result.Gabriela Moldovan2023-07-272-8/+8
* keymgr: Move duplicated match block to KeyMgr::select_keystore().Gabriela Moldovan2023-07-241-22/+14
* keymgr: Add KeyMgr::generate() for generating new keys.Gabriela Moldovan2023-07-241-1/+69
* keymgr: Add function for generating EncodableKeys.Gabriela Moldovan2023-07-243-1/+35
* keymgr: Test whether insert() creates the missing directories.Gabriela Moldovan2023-07-241-9/+21
* keymgr: Return an unimplemented error instead of panicking.Gabriela Moldovan2023-07-241-2/+2
* keymgr: Create the parent directories as neededGabriela Moldovan2023-07-241-1/+12
* keymgr: Add a Keystore::contains accessor.Gabriela Moldovan2023-07-243-0/+33
* Fix typosDimitris Apostolou2023-07-222-2/+2
* Merge branch 'keymgr-api-updates-minor-fixes' into 'keymgr-api-updates'gabi-2502023-07-211-9/+1
|\
| * keymgr: Use std::cfg instead of if_cfg.Gabriela Moldovan2023-07-201-9/+1
* | keymgr: Use KeystoreId instead of a static string.Gabriela Moldovan2023-07-214-30/+50
* | keymgr: Add a newtype for keystore identifiers.Gabriela Moldovan2023-07-211-0/+22
* | keymgr, tor-error: Remove unused error type and HasKind.Gabriela Moldovan2023-07-211-20/+2
* | keymgr: Use BadApiUsage instead of KeystoreMisuse.Gabriela Moldovan2023-07-211-9/+7
* | keymgr: Remove unused KeystoreSelector::All variant.Gabriela Moldovan2023-07-212-30/+0
* | Revert "keymgr: Require callers to be explicit about which keystore to get ke...Gabriela Moldovan2023-07-211-16/+7
* | Revert "keymgr: Require callers to be explicit about which keystore to get ke...Gabriela Moldovan2023-07-212-34/+23
|/
* keymgr: Require callers to be explicit about where to remove keys from.Gabriela Moldovan2023-07-201-15/+66
* keymgr: Add tests for KeyMgr.Gabriela Moldovan2023-07-201-0/+213
* keymgr: Add EncodableKey::to_bytes for encoding keys.Gabriela Moldovan2023-07-201-0/+12
* keymgr: Add some extra derives to ArtiPath and KeyType.Gabriela Moldovan2023-07-202-4/+3
* keymgr: Require callers to be explicit about which keystore to get keys from.Gabriela Moldovan2023-07-202-7/+20
* keymgr: Move KeyMgr::get impl to Keymgr::get_from_store.Gabriela Moldovan2023-07-201-26/+36
* keymgr: Remove unimplemented/unnecessary has_key_bundle function.Gabriela Moldovan2023-07-202-16/+0
* keymgr: Require callers to specify which keystore to insert keys in.Gabriela Moldovan2023-07-202-28/+32
* keymgr: Add a convenience function for boxing keystore errors.Gabriela Moldovan2023-07-202-7/+7
* keymgr: Add an error type for misuse errors.Gabriela Moldovan2023-07-201-2/+28
* keymgr: Add type for specifying which keystore to access.Gabriela Moldovan2023-07-201-0/+13
* keymgr: Add a function for looking keystores up by ID.Gabriela Moldovan2023-07-201-0/+5
* keymgr: Add an `id` function to `Keystore`.Gabriela Moldovan2023-07-202-0/+12
* keymgr: Iterate over all the stores, not just the secondary ones.Gabriela Moldovan2023-07-201-1/+7
* keymgr: Explicitly specify the default keystore for `KeyMgr`.Gabriela Moldovan2023-07-202-5/+12
* keymgr: Add a type alias for `Box<dyn Keystore>`.Gabriela Moldovan2023-07-201-2/+5
* keymgr-config: Make fields private, add function for checking if keystore is ...Gabriela Moldovan2023-07-201-2/+17
* tor-keymgr: Add ArtiNativeKeystoreConfig.Gabriela Moldovan2023-07-133-0/+73
* Merge branch 'clippy-allow' into 'main'Ian Jackson2023-07-115-0/+5
|\
| * Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-105-0/+5
* | keymgr: Use Box<dyn EncodableKey> instead of Box<dyn Any>.Gabriela Moldovan2023-07-103-10/+19
|/
* Remove explicit allows for missing_panics_docs.Nick Mathewson2023-07-061-1/+0
* Run add_warning to remove `missing_panics_doc` deny.Nick Mathewson2023-07-061-1/+0
* keymgr: Explain why the TODO regarding EncodableKey can't be addressed.Gabriela Moldovan2023-07-051-1/+12
* Merge branch 'arti-path-bug' into 'main'gabi-2502023-06-301-9/+22
|\
| * keymgr: Update ArtiPath and ArtiPathComponent docs.Gabriela Moldovan2023-06-301-2/+2
| * keymgr: Allow periods in ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-301-9/+22
* | keymgr: Downgrade "TODO hs" to "TODO HSS"Gabriela Moldovan2023-06-301-0/+3
|/
* keymgr: Rename KeyStore to Keystore globally.Gabriela Moldovan2023-06-298-35/+35