<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/tests/testcases/hss, branch arti-v2.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-03-12T11:32:44Z</updated>
<entry>
<title>Deprecate --onion-name; introduce --onion-address</title>
<updated>2025-03-12T11:32:44Z</updated>
<author>
<name>disha</name>
<email>dishatantia18@gmail.com</email>
</author>
<published>2025-03-12T11:32:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f67318a720c4a62258382a5916668c0f360eab1'/>
<id>urn:sha1:0f67318a720c4a62258382a5916668c0f360eab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Remove hss get-key from the tests.</title>
<updated>2024-09-17T14:03:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-17T11:29:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83680a3439dc9ddf2006f1263ef475d76f201d5d'/>
<id>urn:sha1:83680a3439dc9ddf2006f1263ef475d76f201d5d</id>
<content type='text'>
The `hss get-key` functionality was folded into `hss onion-name`.
</content>
</entry>
<entry>
<title>arti: Add a test and some docs for the hss get-key subcommand.</title>
<updated>2024-09-17T14:03:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-16T16:11:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68d37e8df965cf494a406e6b39b14fa0cd82b64d'/>
<id>urn:sha1:68d37e8df965cf494a406e6b39b14fa0cd82b64d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Add CLI for generating an onion service hsid.</title>
<updated>2024-09-17T14:03:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-16T13:43:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c367c14e1084802072361e5f67c3853551eca9cf'/>
<id>urn:sha1:c367c14e1084802072361e5f67c3853551eca9cf</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>arti: Add an enum for the hss subcommand.</title>
<updated>2024-09-17T14:03:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-16T11:03:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfdc463f2dff8dec1835213f57d935430410c817'/>
<id>urn:sha1:bfdc463f2dff8dec1835213f57d935430410c817</id>
<content type='text'>
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`).
</content>
</entry>
<entry>
<title>arti: Test hss onion-name behavior when the hsid is missing.</title>
<updated>2024-09-17T09:25:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-16T14:55:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=faf851bf4a493cb102e36277f9d47584d8542ffd'/>
<id>urn:sha1:faf851bf4a493cb102e36277f9d47584d8542ffd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Set the COLUMNS env var in the CLI tests.</title>
<updated>2024-08-28T16:47:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-28T15:10:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f1779cfbb3e27b04ba3cca9206170f1e1ea904db'/>
<id>urn:sha1:f1779cfbb3e27b04ba3cca9206170f1e1ea904db</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>arti: Elide the -c help in the expected output of the CLI tests.</title>
<updated>2024-08-05T10:18:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-08-05T10:18:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b8a7a196b3ea5cd8350dd77f5e5120fed8521e0'/>
<id>urn:sha1:2b8a7a196b3ea5cd8350dd77f5e5120fed8521e0</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Have `arti hss onion-name` error if it doesn't print the onion name</title>
<updated>2024-08-01T21:03:15Z</updated>
<author>
<name>Kunal Mehta</name>
<email>legoktm@debian.org</email>
</author>
<published>2024-08-01T16:50:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=405ada0dd528fdebbb7769ec89ef2db543c51c56'/>
<id>urn:sha1:405ada0dd528fdebbb7769ec89ef2db543c51c56</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>arti: Add tests for the arti hss subcommand.</title>
<updated>2024-07-30T14:49:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-18T11:04:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=944c23e047ef12c6a426afbdde5077012351fd9b'/>
<id>urn:sha1:944c23e047ef12c6a426afbdde5077012351fd9b</id>
<content type='text'>
Closes #1250
</content>
</entry>
</feed>
