| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'mod-module-files' into 'main' | Nick Mathewson | 2025-01-07 | 1 | -0/+1 |
| |\ | | | | | | | | | clippy: deny `mod_module_files` See merge request tpo/core/arti!2689 | ||||
| | * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | | fix: fix typos | Dimitris Apostolou | 2025-01-06 | 4 | -4/+4 |
| |/ | |||||
| * | tor-keymgr: Replace internal error with keystore corruption error. | Gabriela Moldovan | 2024-12-04 | 2 | -1/+5 |
| | | | | | | This replaces a placeholder error with a concrete `KeystoreCorruptionError` variant. | ||||
| * | tor-keymgr: Add tests for ArtiNativeKeystore's handling of certs. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+29 |
| | | |||||
| * | tor-keymgr: Add support for certs in ArtiNativeKeystore::insert(). | Gabriela Moldovan | 2024-12-04 | 1 | -5/+8 |
| | | |||||
| * | tor-keymgr: Add support for certs in ArtiNativeKeystore::get(). | Gabriela Moldovan | 2024-12-04 | 1 | -8/+36 |
| | | | | | | This makes `ArtiNativeKeystore::get` deserialize the keystore item as a cert, if its `KeystoreItemType` is `Cert`. | ||||
| * | tor-keymgr: Add arti native keystore helper for parsing tor certs. | Gabriela Moldovan | 2024-12-04 | 2 | -0/+42 |
| | | | | | | We'll soon use this in `ArtiNativeKeystore`'s `Keystore` implementation for parsing certs read from disk. | ||||
| * | tor-keymgr: Add tests for the new cert mgmt functions. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+172 |
| | | |||||
| * | tor-keymgr: s/TestKey/TestItem in tests. | Gabriela Moldovan | 2024-12-04 | 1 | -55/+55 |
| | | | | | | We're about to reuse TestKey as our test key "certificate", so let's preemptively rename it to something more fitting. | ||||
| * | tor-keymgr: Add a test certificate specifier to test_utils. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+34 |
| | | | | | This is about to be used in a couple of places. | ||||
| * | tor-keymgr: s/key/item in error message test. | Gabriela Moldovan | 2024-12-04 | 2 | -2/+2 |
| | | |||||
| * | tor-keymgr: Rename error variant. | Gabriela Moldovan | 2024-12-04 | 3 | -14/+13 |
| | | |||||
| * | tor-keymgr: Remove unused KeyType import. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+1 |
| | | |||||
| * | tor-keymgr: Add KeyMgr::get_or_generate_key_and_cert. | Gabriela Moldovan | 2024-12-04 | 1 | -0/+119 |
| | | |||||
| * | tor-keymgr: Add KeyMgr::get_key_and_cert() (fmt). | Gabriela Moldovan | 2024-12-04 | 1 | -5/+7 |
| | | |||||
| * | tor-keymgr: Add KeyMgr::get_key_and_cert(). | Gabriela Moldovan | 2024-12-04 | 2 | -2/+96 |
| | | |||||
| * | tor-keymgr: Remove no-longer-needed explicit link targets. | Gabriela Moldovan | 2024-12-04 | 1 | -2/+2 |
| | | | | | | These aren't needed anymore now that `KeySpecifierComponent` is in scope. | ||||
| * | tor-keymgr: Add helper for building certificate ArtiPaths. | Gabriela Moldovan | 2024-12-04 | 3 | -2/+130 |
| | | | | | This will be used for looking up certificates in the keystore. | ||||
| * | tor-keymgr: Split some logic out of KeyMgr::get_from_store(). | Gabriela Moldovan | 2024-12-04 | 1 | -6/+24 |
| | | | | | | We're soon going to need the "raw" version of the function (the one that returns the key as `K::Key`). | ||||
| * | tor-keymgr: Add variants for missing cert/signing key errors. | Gabriela Moldovan | 2024-12-04 | 1 | -0/+8 |
| | | | | | | These will be soon be returned by `KeyMgr::{get_key_and_cert,get_or_generate_key_and_cert}`. | ||||
| * | tor-key-forge: Implement EncodableItem for Tor ed25519 certs. | Gabriela Moldovan | 2024-12-04 | 1 | -3/+3 |
| | | | | | | This will enable us to store `tor_cert::EncodedEd25519Cert`s in the keystore. | ||||
| * | tor-keymgr: Replace as_ssh_key_data with as_keystore_item (fmt). | Gabriela Moldovan | 2024-12-04 | 3 | -3/+3 |
| | | |||||
| * | tor-keymgr: Replace as_ssh_key_data with as_keystore_item. | Gabriela Moldovan | 2024-12-04 | 4 | -22/+26 |
| | | |||||
| * | tor-key-forge: Replace EncodableItem::key_type() with item_type() (fmt). | Gabriela Moldovan | 2024-12-04 | 1 | -2/+1 |
| | | |||||
| * | tor-key-forge: Replace EncodableItem::key_type() with item_type(). | Gabriela Moldovan | 2024-12-04 | 2 | -19/+19 |
| | | | | | | This function now returns a `KeystoreItemType`, enabling us to represent certs as `EncodableItem`s. | ||||
| * | tor-keymgr: Update docs post-renaming. | Gabriela Moldovan | 2024-12-04 | 1 | -9/+9 |
| | | |||||
| * | tor-keymgr: Replace KeyType with KeystoreItemType (fmt). | Gabriela Moldovan | 2024-12-04 | 7 | -21/+70 |
| | | |||||
| * | tor-keymgr: Remove now-unused import. | Gabriela Moldovan | 2024-12-04 | 1 | -1/+1 |
| | | |||||
| * | tor-key-forge: Remove no longer needed KeyType::Unknown variant. | Gabriela Moldovan | 2024-12-04 | 1 | -14/+0 |
| | | | | | | Items that have an unrecognized file extension now get mapped to `KeystoreItemType::Unknown`. | ||||
| * | tor-keymgr: Replace KeyType with KeystoreItemType. | Gabriela Moldovan | 2024-12-04 | 9 | -148/+172 |
| | | | | | | This is part of the work needed to support storing certificates in the keystore (they won't have a `KeyType`, but rather `CertType`). | ||||
| * | tor-key-forge: Rename EncodableKey to EncodableItem. | Gabriela Moldovan | 2024-12-04 | 8 | -27/+27 |
| | | | | | | | | | This is the first step in replacing `EncodableKey` with the new `EncodableItem` trait (see doc/dev/keymgr-certificates.md). (this refactoring is split over multiple commits to make reviewing easier) | ||||
| * | tor-keymgr: Add a KeyCertificateSpecifier trait (fmt). | Gabriela Moldovan | 2024-12-04 | 1 | -3/+2 |
| | | |||||
| * | tor-keymgr: Add a KeyCertificateSpecifier trait. | Gabriela Moldovan | 2024-12-04 | 2 | -0/+28 |
| | | | | | This will be used for defining key certificate specifiers. | ||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 1 | -0/+1 |
| | | | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765. | ||||
| * | tor-keymgr: Remove now-unnecessary cfg_attr. | Gabriela Moldovan | 2024-11-20 | 1 | -6/+0 |
| | | | | | This doesn't seem to be needed anymore. | ||||
| * | tor-keymgr: Remove now-unnecessary clippy allows from dummy impl. | Gabriela Moldovan | 2024-11-20 | 1 | -2/+0 |
| | | |||||
| * | tor-keymgr: Feature-gate RelKeyPath::from_parts constructor. | Gabriela Moldovan | 2024-11-20 | 1 | -0/+1 |
| | | | | | | Otherwise, we get a dead code warning when the `ctor-keystore` feature is disabled. | ||||
| * | tor-keymgr: Allow dead code in dummy KeyMgr. | Gabriela Moldovan | 2024-11-20 | 1 | -0/+2 |
| | | | | | | | | | | The fields are never read but need to be present in order for the dummy `KeyMgrBuilder` to have the same interface as the real one. (We could of course manually implement the builder, or let the dummy `KeyMgrBuilder` impl diverge from the real one, but for now let's leave this as-is and simply mark the fields as unused). | ||||
| * | tor-keymgr: Remove unused dummy error type. | Gabriela Moldovan | 2024-11-20 | 1 | -16/+1 |
| | | | | | | We no longer have any dummy keymgr operations that return an error, so this error type is unused. | ||||
| * | tor-keymgr: Remove unused imports from dummy module. | Gabriela Moldovan | 2024-11-20 | 1 | -2/+1 |
| | | |||||
| * | tor-keymgr: Remove unused dummy KeyType. | Gabriela Moldovan | 2024-11-20 | 1 | -14/+0 |
| | | | | | This is not used anywhere (or exported publicly). | ||||
| * | tor-keymgr: Say that another option is to enable keymgr unconditionally. | Gabriela Moldovan | 2024-11-14 | 1 | -0/+2 |
| | | | | | | This commit applies Diziet's suggestion from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2631#note_3130234 | ||||
| * | tor-keymgr: Remove a couple of dummy KeyMgr functions. | Gabriela Moldovan | 2024-11-14 | 1 | -14/+0 |
| | | | | | | | | These are not actually needed anywhere. In fact, it's a bad idea to have them in the first place (see the comment from the dummy `KeyMgr` impl block). | ||||
| * | tor-keymgr: Explain why the dummy keymgr is missing some functions. | Gabriela Moldovan | 2024-11-14 | 1 | -1/+28 |
| | | | | | | | | | This is based on a recent discussion with @Diziet on IRC. For the full context, see the chat log attached to the ticket. Closes #1732 | ||||
| * | tor-config: removed re-export of `CfgPath` | Steven Engler | 2024-11-04 | 1 | -1/+2 |
| | | | | | | Also updated other packages to get `CfgPath` directly from `tor-config-path' instead of 'tor-config'. | ||||
| * | Disable a lot of dead code warnings (fmt) | Ian Jackson | 2024-10-17 | 1 | -1/+4 |
| | | |||||
| * | Disable a lot of dead code warnings | Ian Jackson | 2024-10-17 | 1 | -0/+3 |
| | | | | | | | | Now cargo check --workspace --no-default-features --all-targets cargo build -p arti --no-default-features --features=memquota,tokio,native-tls are both clean. | ||||
| * | tor-keymgr: Reformat a long line for readability. | Gabriela Moldovan | 2024-10-15 | 1 | -1/+3 |
| | | | | | This breaks up a long statement to improve readability. | ||||
| * | tor-keymgr: Add missing docs for keypair_specifier. | Gabriela Moldovan | 2024-10-15 | 1 | -0/+12 |
| | | | | | | This is a follow-up to !2393, which added support for the `key_specifier` top-level attribute. | ||||
