<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src, branch arti-v1.2.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-07-30T14:20:41Z</updated>
<entry>
<title>arti: Use Path::try_exists() instead of Path::exists().</title>
<updated>2024-07-30T14:20:41Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-30T14:19:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=454fc1c34507eefa11343e521a33d44e4ac5d679'/>
<id>urn:sha1:454fc1c34507eefa11343e521a33d44e4ac5d679</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Gate the hsc subcommand behind the keymgr feature (fmt).</title>
<updated>2024-07-10T14:25:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-10T14:25:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a212998ca5b3e418640471721c5dd3ad78ad49c'/>
<id>urn:sha1:1a212998ca5b3e418640471721c5dd3ad78ad49c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Gate the hsc subcommand behind the keymgr feature.</title>
<updated>2024-07-10T14:25:00Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-10T13:57:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4314bd456e34c4396302e22c83e095d3c048c176'/>
<id>urn:sha1:4314bd456e34c4396302e22c83e095d3c048c176</id>
<content type='text'>
The `arti hsc` subcommand can't run without keymgr support.

Previously, it relied on `tor-keymgr/keymgr` being enabled indirectly by
its dependencies, via the `experimental` feature. We need to be able to
enable this feature in `arti` without relying on `experimental` (because
`arti hsc` will eventually be made non-experimental).

Part of #1487
</content>
</entry>
<entry>
<title>tor-hscrypto: Remove unnecessary Display wrapper.</title>
<updated>2024-07-08T17:25:59Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-08T13:57:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=626148b9865c68f6aaef8d8b3188693f81532596'/>
<id>urn:sha1:626148b9865c68f6aaef8d8b3188693f81532596</id>
<content type='text'>
I don't think we need a separate wrapper type for displaying
`HsClientDescEncKey` keys in the "C Tor format"
(`&lt;auth-type&gt;:&lt;key-type&gt;:&lt;base32-encoded-public-key&gt;`).

I think this should be the canonical string representation of
`HsClientDescEncKey`, so I'm removing the `display_authorized_client`
function and corresponding `DisplayAuthorizedHsClientDescEncKey` wrapper
type.
</content>
</entry>
<entry>
<title>Merge branch 'warnings' into 'main'</title>
<updated>2024-07-08T15:52:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-07-08T15:52:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=affee78b1cc33ffe41f111332b8d10a933b59bbf'/>
<id>urn:sha1:affee78b1cc33ffe41f111332b8d10a933b59bbf</id>
<content type='text'>
Fix or allow warnings that show up in beta

See merge request tpo/core/arti!2244</content>
</entry>
<entry>
<title>Work around clippy::doc_lazy_continuation false positives</title>
<updated>2024-07-08T10:36:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-08T10:32:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e604e304fffc89336950ec1f7dcfd8eff8fcdb14'/>
<id>urn:sha1:e604e304fffc89336950ec1f7dcfd8eff8fcdb14</id>
<content type='text'>
See
  https://github.com/rust-lang/rust-clippy/issues/13001

I think it's OK to change this in our tree, nevertheless.
</content>
</entry>
<entry>
<title>Fix markdown quoting.</title>
<updated>2024-07-08T09:37:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-08T09:36:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=15e540ab949d5261fdc2bfb049f2f3adef8b9ec9'/>
<id>urn:sha1:15e540ab949d5261fdc2bfb049f2f3adef8b9ec9</id>
<content type='text'>
Fixes:

  warning: unclosed HTML tag `FILE`
    --&gt; crates/arti/src/subcommands/hsc.rs:56:33
     |
  56 |     /// Write the public key to &lt;FILE&gt;. Use - to write to stdout
     |                                 ^^^^^^
     |
     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
</content>
</entry>
<entry>
<title>arti: Rewrite the hsc prepare-service-discovery-key command (fmt).</title>
<updated>2024-06-27T17:13:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-26T09:28:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dbf30a9ac98ec2295292c0f30ca5b866d00b8341'/>
<id>urn:sha1:dbf30a9ac98ec2295292c0f30ca5b866d00b8341</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Rewrite the hsc prepare-service-discovery-key command.</title>
<updated>2024-06-27T17:13:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-25T19:37:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bbda5f965168149327c3d64be5803690d4bef6d0'/>
<id>urn:sha1:bbda5f965168149327c3d64be5803690d4bef6d0</id>
<content type='text'>
The `arti hsc prepare-service-discovery-key` command is now
`arti hsc get-key [--key-type=service-discovery]`.

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2212#note_3042903
</content>
</entry>
<entry>
<title>arti: Add an arti hsc subcommand.</title>
<updated>2024-06-27T17:13:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-06-17T16:45:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8fc4c063d7076a6e9ffe36f2ee5bf39394fa3113'/>
<id>urn:sha1:8fc4c063d7076a6e9ffe36f2ee5bf39394fa3113</id>
<content type='text'>
This adds an experimental `arti hsc` subcommand for managing client
state and keys. Currently, it only supports the
`prepare-service-discovery-keys` operation described in #1281 and
`doc/dev/notes/client-auth.md`.

A note on terminology: I am referring to services that encrypt the
second layer of their descriptor as running in "restricted discovery"
mode (because they can only be discovered, i.e. have their IPT points
found out, by a set of authorized clients). The corresponding client
"auth" keys, being the keys that enable the client to find out the list
of intro points, pow-params etc. of the service, are referred to as
service "discovery keys".

Alternative names I considered:
  * extra descriptor encryption: accurate, but overly technical. IMO,
    the CLI should be accessible to users who aren't familiar with the
    nitty-gritty of the protocol
  * shielded mode: good, but slightly misleading. Calling it "shielded
    mode" makes it sound like a universally desirable "extra protection"
    that should almost always be enabled (which is not the case). Seeing
    `shielded_mode = off` in the config might be worry operators that
    don't fully understand what "extra descriptor encryption" or
    "shielded mode" means
  * restricted mode: slightly inaccurate. It implies this mechanism is a
    good substitute for conventional service-side authentication, which
    it isn't (because client authorization isn't instantaneous)

Closes #1281
</content>
</entry>
</feed>
