summaryrefslogtreecommitdiff
path: root/crates/arti/tests/cli_tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'toml' into 'main'David Goulet2025-08-261-18/+7
|\ | | | | | | | | arti: Simplify the `create_state_dir_entry` test helper See merge request tpo/core/arti!3178
| * arti: simplify the `create_state_dir_entry` test helperSteven Engler2025-08-251-18/+7
| |
* | tor-hscrypto: change redacted `HsId` from "???" to "[…]"Steven Engler2025-08-251-1/+1
|/ | | | | | | | | | | | | | Before: ```text INFO tor_hsservice: Generated a new identity for service bar: ???mad.onion ``` After: ```text INFO tor_hsservice: Generated a new identity for service foo: […]2qd.onion ```
* arti: test: Add note in `KeysListCmd::create_state_dir_entry`hjrgrn2025-08-251-0/+2
|
* arti: test: Add integration test suite for `arti keys`hjrgrn2025-08-253-0/+373
| | | | | | | | | - Add `cli_tests/keys/util.rs` and `cli_tests/keys.rs` - Update `cli_tests/main.rs` and `testcases/keys/conf/keys.toml` - Add `ctor-keystore` directory to `keys` `local` directory - Restructure `keys` `local` directory layout - .editorconfig: Add exception for `ctor-keystore`s
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-6/+10
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* arti: hss: Add `arti hss ctor-migrate`hjrgrn2025-07-311-1/+7
|
* arti: keys: Add arti keys-rawhjrgrn2025-07-141-0/+11
| | | | | | | | | | | | | | | | | | | * CLI: Add `keys-raw` and subcommand `remove-by-path` * arti: Add `arti::subcommand::raw` for the CLI `keys-raw` * tor-keymgr: Add `ArtiNativeKeystoreError::UnexpectedRawEntry`, `ArtiEphemeralKeystoreError::NotSupported` * tor-keymgr: Add `tor-keymgr::raw` module * tor-keymgr: Add `Keystore::remove_unchecked` * tor-keymgr: Change `Keystore::list` to return `KeystoreEntry` * tor-keymgr: Add field `KeystoreEntry::raw_id` * doc: Update keys.md * doc: Add raw.md * tor-keymgr: BREAKING: `UnrecognizedEntryError::new` associated function is now only accessible within the crate `tor-keymgr` * tor-keymgr: BREAKING: `UnrecognizedEntryId` is renamed to `UnrecognizedEntry` * tor-keymgr: BREAKING: `KeyMgr::list()` and `Keystore::list()` now return `Result<Vec<KeystoreEntryResult<KeystoreEntry>>>`
* arti: Add keys list and keys list-keystoreshjrgrn2025-06-121-1/+12
|
* arti: test: Refactor arti integration testhjrgrn2025-05-123-0/+190
* arti: test: Restructure tests directory * arti: dep: Add assert_cmd dev-dependency * arti: test: Update README * doc: Fix hsc documentation