<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/subcommands/hss.rs, branch arti-v2.1.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.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-01-06T15:25:19Z</updated>
<entry>
<title>keymgr: Move Unrecognized errors out of KeyPathError</title>
<updated>2026-01-06T15:25:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-05T11:07:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f2b9e7914580e2b0c58936c22f80996781df014'/>
<id>urn:sha1:0f2b9e7914580e2b0c58936c22f80996781df014</id>
<content type='text'>
Out of all the variants in `KeyPathError`, `Unrecognized` is the odd one
out, because unlike the others, which are mainly just lower level
parsing errors, `Unrecognized` is a higher level error constructed in
`KeyMgr::describe()`.

`KeyMgr::describe()` now returns an `Option`, because

  * the failure to describe a user provided `KeyPath` may or may not be
    an error
  * previously, `describe()` would only ever return `Ok` or
    `Err(KeyPathError::Unrecognized)`, which essentially a binary
    result. Also, `describe()` would never return any of the other
    `KeyPathError` kinds, which further suggests `Unrecognized`
    doesn't belong there

The `Unrecognized` variant still exists, but is now part of
`KeystoreCorruptionError`, (returned from
`KeyMgr::validate_entry_integrity()`).
</content>
</entry>
<entry>
<title>arti: Adjust a no-longer acccurate hss doc</title>
<updated>2025-12-01T12:36:13Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-01T11:13:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bb74cf89f936f6c058d8109d51a15a039bcd303d'/>
<id>urn:sha1:bb74cf89f936f6c058d8109d51a15a039bcd303d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Add missing subcommand docs</title>
<updated>2025-12-01T12:36:13Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-12-01T11:11:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9003ad28c1f3a82b33d8269e33700082fbbce2a8'/>
<id>urn:sha1:9003ad28c1f3a82b33d8269e33700082fbbce2a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: test: Add integration test for `hss ctor-migrate`</title>
<updated>2025-09-10T13:58:32Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2025-08-26T14:11:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed170bb6ee74efb99f03bf15ef07ace313f6573e'/>
<id>urn:sha1:ed170bb6ee74efb99f03bf15ef07ace313f6573e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Use new DisplayRedacted/DebugRedacted code for HsId.</title>
<updated>2025-07-31T13:49:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-07-29T18:49:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24b56a134a0542965fd4bb76f39300523fde0213'/>
<id>urn:sha1:24b56a134a0542965fd4bb76f39300523fde0213</id>
<content type='text'>
Closes #2012.
</content>
</entry>
<entry>
<title>arti: hss: Add `arti hss ctor-migrate`</title>
<updated>2025-07-31T11:05:12Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2025-07-31T11:05:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=79b7bd60d96f9fe29ac28d3e2827beeab157361e'/>
<id>urn:sha1:79b7bd60d96f9fe29ac28d3e2827beeab157361e</id>
<content type='text'>
</content>
</entry>
<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 get-key subcommand in favor of onion-name.</title>
<updated>2024-09-17T14:03:22Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-17T11:27:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2413564c2b01f2dfbede5481c4cdd85fb476ed5c'/>
<id>urn:sha1:2413564c2b01f2dfbede5481c4cdd85fb476ed5c</id>
<content type='text'>
The `hss get-key` subcommand is now folded into `onion-name`, which
takes a `--generate` argument which specifies whether to generate the
key if missing.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2419#note_3078068
</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>
</feed>
