<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-linkspec/src/lib.rs, branch arti-v1.0.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-09-29T14:59:19Z</updated>
<entry>
<title>Mark all bridge and pt features as experimental for now.</title>
<updated>2022-09-29T14:59:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-29T14:59:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b146dacf1dcb7a494b65182df35e550300eefc2b'/>
<id>urn:sha1:b146dacf1dcb7a494b65182df35e550300eefc2b</id>
<content type='text'>
Also, document the features.

Closes #588.
</content>
</entry>
<entry>
<title>pt: Introduce PtTransportName</title>
<updated>2022-09-27T11:44:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-09-27T11:30:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bee40d3954ca626f81214d31652a0f6bfcba4b96'/>
<id>urn:sha1:bee40d3954ca626f81214d31652a0f6bfcba4b96</id>
<content type='text'>
The config parsing wants this.  Also there are some anomalies in the
types here that ought to be tidied up.
</content>
</entry>
<entry>
<title>Rename various Transport* types to Pt*.</title>
<updated>2022-09-23T18:08:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-23T17:43:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=141afbbf61c606f1dc8ff50d6f6befb2415b6feb'/>
<id>urn:sha1:141afbbf61c606f1dc8ff50d6f6befb2415b6feb</id>
<content type='text'>
This clarifies that the types apply to pluggable transports only,
and not (typically) to the default plain-old-TCP transport.
</content>
</entry>
<entry>
<title>Add a HasChanMethods trait, with a bunch of open TODO questions.</title>
<updated>2022-09-23T18:08:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-23T12:26:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cd88e8cb0b0ad36785ef06aff7e6bbe44210c358'/>
<id>urn:sha1:cd88e8cb0b0ad36785ef06aff7e6bbe44210c358</id>
<content type='text'>
We'll need to sort these out as we implement pluggable transports.
</content>
</entry>
<entry>
<title>New data types to describe transport targets.</title>
<updated>2022-09-23T18:08:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-23T12:02:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf135ad3ebab69715e79aa74ed1b3bae0840182c'/>
<id>urn:sha1:cf135ad3ebab69715e79aa74ed1b3bae0840182c</id>
<content type='text'>
I've tried to name and structure these for consistency, and
comment reasonably well.  We'll still probably want to make changes.
</content>
</entry>
<entry>
<title>Add TransportTargetAddr as the target address for a PT-using channel</title>
<updated>2022-09-23T18:08:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-22T18:54:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b056e69e1be86660c8b94e9802b4855b9d8c10ee'/>
<id>urn:sha1:b056e69e1be86660c8b94e9802b4855b9d8c10ee</id>
<content type='text'>
As with `TransportId`, this type only gets complicated when
`pt-client` is enabled: it's meant to stay simple for relays and
non-PT-using clients.
</content>
</entry>
<entry>
<title>Create an API for TransportId</title>
<updated>2022-09-23T13:55:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-22T12:40:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63dbc7b22dd0cdd285304ab4ec4b98228cdf0d0e'/>
<id>urn:sha1:63dbc7b22dd0cdd285304ab4ec4b98228cdf0d0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>enable doc_auto_cfg feature on every crate when documenting for docs.rs</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-17T19:13:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f939fa4804b3c934343141b79e8e2ded5fe0b0d'/>
<id>urn:sha1:7f939fa4804b3c934343141b79e8e2ded5fe0b0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Final (?) API revisions for tor-linkspec</title>
<updated>2022-08-10T14:39:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-05T15:47:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d4507ff35f8e8cf874c81d3754804b2c20f31aa'/>
<id>urn:sha1:2d4507ff35f8e8cf874c81d3754804b2c20f31aa</id>
<content type='text'>
With this change, each individual identity type becomes optional.
The functions that expose them unconditionally are now in a "legacy"
trait that only some downstream types are expected to implement.

There are new convenience APIs in HasRelayIds:
  * to return Option&lt;&amp;keytype&gt;,
  * to see if one identity-set contains another.

This commit will break several downstream crates!  For the
reviewer's convenience, I will put the fixes for those crates into a
series of squash! commits on this one.

tor-netdir
----------

Revise tor-netdir to accept optional identities.  This required some
caveats and workarounds about the cases where we have to deal with a
key type that the tor-netdir code does not currently recognize at
all.  If we start to add more identity types in the future, we may
well want more internal indices in this code.

tor-proto
---------

In order to make tor-proto support optional identities, there were
fewer changes than I thought.  Some "check" functions needed to start
looking at "all the ids we want" rather than at "the two known IDs";
they also needed to accommodate that case where we don't have an ID
that we demand.

This change will also help with bridges, since we want to be able to
connect to a bridge without knowing all of its IDs up front.

The protocol currently _requires_ the two current ID types in some
places. To deal with that, I added a new `MissingId` error.

I also removed a couple of unconditional identity accessors for
chanmgr; code should use `target().identity(...)` instead.

tor-chanmgr
-----------

This is an incomplete conversion: it does not at all handle channel
targets without Ed25519 identities yet.  It still uses those
identities to index its internal map from identity to channel; but
it gives a new `MissingId` error type if it's given a channel target
that doesn't have one.

We'll want to revise the map type again down the road when we
implement bridges, but I'd rather not step on the channel-padding
work in progress right now.

tor-guardmgr
------------

This change is mostly a matter of constructing owned identity types
more sensibly, rather than unwrapping them directly.

There are some places marked with TODOs where we still depend on
particular identity types, because of how the directory protocol
works.  This will need revisiting when we add bridge support here.

tor-circmgr
-----------

These changes are just relatively simple API changes in the tests.
</content>
</entry>
<entry>
<title>Introduce a RelayIdSet and use it in place of HashSet&lt;RelayId&gt;.</title>
<updated>2022-08-10T14:39:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-04T21:41:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b56e1bf119252907a2ac6d2838fc5bfd1d08d6dd'/>
<id>urn:sha1:b56e1bf119252907a2ac6d2838fc5bfd1d08d6dd</id>
<content type='text'>
This makes lookups a little more efficient.  I do with that HashSet
just supported this use-case, but for now this seems our best option.
</content>
</entry>
</feed>
