| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Merge branch 'fixup-features' into 'main' | Ian Jackson | 2023-06-30 | 1 | -1/+3 | |
| |\ \ | |/ |/| | | | | | Run fixup-features on current `main` See merge request tpo/core/arti!1352 | |||||
| | * | Resolve XXXs from fixup-features. | Nick Mathewson | 2023-06-29 | 1 | -1/+0 | |
| | | | | | | | | | | | Some of these seem spurious: it looks like fixup-features resolved an issue and then complained about it too. I'll investigate further. | |||||
| | * | Run "cargo sort". | Nick Mathewson | 2023-06-29 | 1 | -1/+0 | |
| | | | ||||||
| | * | Run "fixup-features". | Nick Mathewson | 2023-06-29 | 1 | -0/+4 | |
| | | | ||||||
| * | | keymgr: Rename KeyStore to Keystore globally. | Gabriela Moldovan | 2023-06-29 | 8 | -35/+35 | |
| |/ | | | | | We've been capitalizing the "s" in "KeyStore" inconsistently. This `s/KeyStore/Keystore/g` across the codebase. | |||||
| * | Merge branch 'exp' into 'main' | Ian Jackson | 2023-06-29 | 1 | -1/+1 | |
| |\ | | | | | | | | | tor-error: Make KeystoreFsPermissions experimental for now See merge request tpo/core/arti!1350 | |||||
| | * | tor-keymgr: When keymgr enabled, enable tor-error's experimental too | Ian Jackson | 2023-06-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'validate-client-spec' into 'main' | Ian Jackson | 2023-06-29 | 3 | -7/+144 | |
| |\ \ | | | | | | | | | | | | | keymgr: Validate ArtiPaths, replace HsClientSpecifier with generic ArtiPathComponent See merge request tpo/core/arti!1262 | |||||
| | * | | keymgr: Remove unstable ErrorKind, use internal! for ArtiPath errors. | Gabriela Moldovan | 2023-06-29 | 1 | -21/+7 | |
| | | | | ||||||
| | * | | keymgr: Validate the individual ArtiPahtComponents of ArtiPath. | Gabriela Moldovan | 2023-06-29 | 1 | -37/+25 | |
| | | | | | | | | | | | | | | | | This also implicitly forbids leading and trailing slashes in an `ArtiPath`. | |||||
| | * | | keymgr: Rephrase ArtiPath docs. | Gabriela Moldovan | 2023-06-29 | 1 | -14/+5 | |
| | | | | | | | | | | | | | This updates the docs with Diziet's suggested doc improvements. | |||||
| | * | | keymgr: Remove ArtiPath normalization, introduce additional restrictions. | Gabriela Moldovan | 2023-06-29 | 2 | -45/+46 | |
| | | | | ||||||
| | * | | keymgr: Document how ArtiPath validation is actually supposed to work. | Gabriela Moldovan | 2023-06-29 | 1 | -7/+11 | |
| | | | | ||||||
| | * | | keymgr: Move validation requirements to the ArtiPath docs. | Gabriela Moldovan | 2023-06-29 | 1 | -12/+15 | |
| | | | | ||||||
| | * | | keymgr: Make ArtiPath platform-independent by always using '/' as a separator. | Gabriela Moldovan | 2023-06-29 | 1 | -10/+10 | |
| | | | | ||||||
| | * | | keymgr: Add tests for ArtiPath validation. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+90 | |
| | | | | ||||||
| | * | | keymgr: Validate ArtiPath and ArtiPathComponent. | Gabriela Moldovan | 2023-06-29 | 1 | -12/+45 | |
| | | | | ||||||
| | * | | keymgr: Derive Into for ArtiPath and ArtiPathComponent. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | keymgr: Define an error type for bad `ArtiPathComponents`. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+18 | |
| | | | | ||||||
| | * | | keymgr: Derive Display for ArtiPath and ArtiPathComponent. | Gabriela Moldovan | 2023-06-29 | 1 | -3/+4 | |
| | | | | ||||||
| | * | | keymgr: Define `ArtiPathComponent`. | Gabriela Moldovan | 2023-06-29 | 2 | -1/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An `ArtiPathComponent` is a substring of an `ArtiPath`. An `ArtiPathComponent` will be validated according to the same rules as `ArtiPath`. In the future we can replace `HsClientSpecifier` with `ArtiPathComponent` (they both serve the same purpose except `ArtiPathComponent` is more generic). | |||||
| * | | | Merge branch 'keymgr' into 'main' | Ian Jackson | 2023-06-29 | 2 | -5/+20 | |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | tor-keymgr: Adjust stability guarantees for release Closes #934 See merge request tpo/core/arti!1346 | |||||
| | * | | tor-keymgr: Add missing footnote | Ian Jackson | 2023-06-29 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | tor-keymgr: Replace whole-crate-is-unstable warning | Ian Jackson | 2023-06-29 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | arti-client is going to use this so it can't be whole-crate-unstable, but it can be rapidly-changing. | |||||
| | * | | tor-keymgr features: Document that "keymgr" is experimental | Ian Jackson | 2023-06-29 | 1 | -0/+8 | |
| | | | | ||||||
| | * | | tor-keymgr features: Make "keymgr" disabled by default | Ian Jackson | 2023-06-29 | 2 | -2/+2 | |
| | |/ | ||||||
| * | | keymgr: Fix dummy keymgr doc links. | Gabriela Moldovan | 2023-06-29 | 1 | -3/+3 | |
| | | | | | | | | | | | `Error` is private to `dummy.rs` so let's not mention it in the docs of the public items. | |||||
| * | | keymgr: Add missing dummy implementation for KeyType::arti_extension. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+9 | |
| |/ | | | | | | | | This fixes a rustdoc warning when building with: ``` cargo doc --locked --offline -p arti --no-default-features --features=full,onion-service-client ``` | |||||
| * | keymgr: Fix wrong_key_type test. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+5 | |
| | | | | | | The string representation of `SshKeyAlgorithm` on `main` changed between the time the tests were introduced and the time they were merged. | |||||
| * | Merge branch 'keymgr-tests' into 'main' | gabi-250 | 2023-06-29 | 6 | -0/+308 | |
| |\ | | | | | | | | | keymgr: Add tests for ArtiNativeKeyStore See merge request tpo/core/arti!1337 | |||||
| | * | keymgr: Add a TODO about implementing and testing has_key_bundle. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+8 | |
| | | | ||||||
| | * | keymgr: Add some basic insert and remove tests. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+52 | |
| | | | ||||||
| | * | keymgr: Add assert_found! test helper. | Gabriela Moldovan | 2023-06-29 | 1 | -8/+13 | |
| | | | ||||||
| | * | keymgr: Add some key retrieval tests for ArtiNativeKeyStore. | Gabriela Moldovan | 2023-06-29 | 1 | -5/+54 | |
| | | | ||||||
| | * | keymgr: Add a gen_keys param to init_keystore. | Gabriela Moldovan | 2023-06-29 | 1 | -2/+16 | |
| | | | | | | | | | | | This will enable future tests to optionally initialize the test key store with some test keys. | |||||
| | * | keymgr: Add tests for ArtiNativeKeyStore::key_path. | Gabriela Moldovan | 2023-06-29 | 2 | -0/+92 | |
| | | | ||||||
| | * | keymgr: Derive Debug for ArtiNativeKeyStore. | Gabriela Moldovan | 2023-06-29 | 1 | -0/+1 | |
| | | | ||||||
| | * | keymgr: Add tests for ssh key handling. | Gabriela Moldovan | 2023-06-29 | 4 | -0/+87 | |
| | | | | | | | | | Part of #895 | |||||
| | * | keymgr: Return the key, not Box<()>. | Gabriela Moldovan | 2023-06-29 | 1 | -1/+1 | |
| | | | | | | | | | | | This fixes a bug which caused the function to always return a type-erased `()` instead of the actual key! | |||||
| * | | Merge branch 'keymgr-x25519-keys' into 'main' | gabi-250 | 2023-06-29 | 2 | -29/+60 | |
| |\ \ | |/ |/| | | | | | | | | | keymgr: Add support for x25519 keys. Closes #900 See merge request tpo/core/arti!1321 | |||||
| | * | keymgr: Remove unneeded error variant. | Gabriela Moldovan | 2023-06-27 | 1 | -5/+0 | |
| | | | | | | | | | | | The `Unsupported` variant is no longer needed now that we support `KeyType::X25519StaticSecret`s. | |||||
| | * | keymgr: Add support for x25519 keys. | Gabriela Moldovan | 2023-06-27 | 2 | -12/+10 | |
| | | | ||||||
| | * | keymgr: Return a concrete type from read_ed25519_keypair. | Gabriela Moldovan | 2023-06-27 | 1 | -8/+9 | |
| | | | | | | | | | | | This also fixes a bug which caused the function to always return a type-erased `()` instead of the actual key! | |||||
| | * | keymgr: Move TODO closer to the code it refers to. | Gabriela Moldovan | 2023-06-27 | 1 | -10/+9 | |
| | | | ||||||
| | * | keymgr: Map KeyType::X25519StaticSecret to an SshKeyAlgorithm. | Gabriela Moldovan | 2023-06-27 | 1 | -1/+1 | |
| | | | ||||||
| | * | keymgr: Define an SshKeyAlgorithm enum. | Gabriela Moldovan | 2023-06-27 | 1 | -2/+40 | |
| | | | | | | | | | | | | | | | | | | | This previously just re-exported `ssh_key::Algorithm`. However, we will need to support x25519 keys (which aren't supported by the `ssh_key` crate), so we define our own enum for the key algorithm. In addition to the `Algorithm` variants from `ssh_key`, our enum also has an `X25519` variant. | |||||
| * | | keymgr: Downgrade "TODO hs" to "TODO HSS". | Gabriela Moldovan | 2023-06-28 | 3 | -5/+5 | |
| | | | | | | | | | | | These TODOs can be deferred for now: we're not declaring the keymgr APIs stable until we add support for hidden services. | |||||
| * | | keymgr: Downgrade some TODOs to "TODO HSS". | Gabriela Moldovan | 2023-06-28 | 2 | -6/+6 | |
| | | | | | | | | | These don't need to be blockers for the next release. | |||||
| * | | keymgr: Remove outdated TODOs regarding error handling. | Gabriela Moldovan | 2023-06-28 | 2 | -4/+0 | |
| | | | | | | | | | These were tackled in #901. | |||||
| * | | keymgr: Implement HasKind for ArtiNativeKeystoreError. | Gabriela Moldovan | 2023-06-28 | 1 | -2/+7 | |
| | | | ||||||
