aboutsummaryrefslogtreecommitdiff
path: root/crates/arti/tests/testcases/hss
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate --onion-name; introduce --onion-addressdisha2025-03-122-9/+9
|
* arti: Remove hss get-key from the tests.Gabriela Moldovan2024-09-172-24/+2
| | | | The `hss get-key` functionality was folded into `hss onion-name`.
* arti: Add a test and some docs for the hss get-key subcommand.Gabriela Moldovan2024-09-171-0/+30
|
* arti: Add CLI for generating an onion service hsid.Gabriela Moldovan2024-09-171-1/+2
| | | | | | | | | | | This adds a new `hss get-key` subcommand for retrieving and generating service identity keys. The existing `hss onion-name` is now a convenience alias for `hss get-key --generate=no --key-type=onion-name`. Note: I am calling this new subcommand `get-key` for consistency with its client counterpart (`hsc get-key`). Closes #1621
* arti: Add an enum for the hss subcommand.Gabriela Moldovan2024-09-171-1/+1
| | | | | | | This is needed because we'll soon add an `hss get-key` subcommand for getting and/or generating a service identity key alongside `hss onion-name` (`hss onion-name` will become a convenience around `hss get-key --key-type=onion-name`).
* arti: Test hss onion-name behavior when the hsid is missing.Gabriela Moldovan2024-09-172-0/+17
|
* arti: Set the COLUMNS env var in the CLI tests.Gabriela Moldovan2024-08-281-4/+2
| | | | | | | | This sets `COLUMNS` to a large value to prevent line wrapping. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2370#note_3067346 Closes #1574
* arti: Elide the -c help in the expected output of the CLI tests.Gabriela Moldovan2024-08-051-2/+1
| | | | | | | | | | | | The help output of the `-c ` option includes some local paths, which can be quite long on some platforms, spanning over multiple lines. This causes the CLI tests to fail, because they expect each of the paths from the `-c` help to fit on a single line. To fix this, we can use `trycmd`'s `...` to match as many lines as needed. Closes #1509
* Have `arti hss onion-name` error if it doesn't print the onion nameKunal Mehta2024-08-011-1/+2
| | | | | | | There are two error cases where the onion name isn't printed, but previously returned `Ok(())`. It now returns an error to exit with a non-zero status code.
* arti: Add tests for the arti hss subcommand.Gabriela Moldovan2024-07-306-0/+60
Closes #1250