<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/req.rs, branch arti-v1.1.9</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-27T17:42:50Z</updated>
<entry>
<title>hss: Remove OnionServiceDataStram type.</title>
<updated>2023-09-27T17:42:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-27T13:21:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d208c062fc2d78dc45d2b92d6eee441d5585b3db'/>
<id>urn:sha1:d208c062fc2d78dc45d2b92d6eee441d5585b3db</id>
<content type='text'>
I think that the reason we added this was in case we needed
different behavior from DataStream; but on reflection it does seem
that we don't.  Having a single type here will make things a bit
simpler.
</content>
</entry>
<entry>
<title>hss: Implement methodss for StreamRequest</title>
<updated>2023-09-27T17:42:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-26T20:18:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6049bfe35a810ff4bdeec11c20d117eb49363fbb'/>
<id>urn:sha1:6049bfe35a810ff4bdeec11c20d117eb49363fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Make allow_stream_requests() not return a Result</title>
<updated>2023-09-27T17:32:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-26T18:42:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cdd30491201c3a8d54e482ef4904a51900ea399'/>
<id>urn:sha1:8cdd30491201c3a8d54e482ef4904a51900ea399</id>
<content type='text'>
The function never yields anything but an `Ok`, so we can
simplify its type.

(Not a stable feature, so no semver entry needed)
</content>
</entry>
<entry>
<title>HSS: Enable RendRequests to be answered.</title>
<updated>2023-09-20T13:07:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-20T13:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1fbe5375cd385914cc731d930f20730ca3a60e9'/>
<id>urn:sha1:a1fbe5375cd385914cc731d930f20730ca3a60e9</id>
<content type='text'>
This requires yet more plumbing—this time, of HsCircPool and
NetDirProvider.
</content>
</entry>
<entry>
<title>HSS: route most necessary key material to RendRequest</title>
<updated>2023-09-20T12:25:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-20T12:25:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9775136bb23faf48da5c6c64afcc725c976bbef6'/>
<id>urn:sha1:9775136bb23faf48da5c6c64afcc725c976bbef6</id>
<content type='text'>
When we go to answer a RendRequest, we need to have a few objects
present.  This commit makes sure that they're available at the
right places.

We also note a significant problem with the need for a Subcredential
here.
</content>
</entry>
<entry>
<title>tor-hsservice: Apply deferred rustfmt churn</title>
<updated>2023-09-18T11:35:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-18T11:35:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e86f5781933734b9316a526877a416d8c882252'/>
<id>urn:sha1:0e86f5781933734b9316a526877a416d8c882252</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Unify ids as IptLocalId replacing IntroPointId</title>
<updated>2023-09-18T10:53:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-18T10:42:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a1bd5b2be447e96c33f4b3cb4d877ec085ab205'/>
<id>urn:sha1:6a1bd5b2be447e96c33f4b3cb4d877ec085ab205</id>
<content type='text'>
IntroPointId was RelayIds but that's wrong, because there can be
different IPTs at the same relay - but also because an established IPT
might change its RelayIds.

Use IptLocalId instead, which I think is the type we decided to use
for this, and which is, conveniently, Copy.

And change the variable names to match, everywhere.

Specifically: in places where an intro point is implied (ipt_mgr.rs,
ipt_establish.rs) use the name `lid` everywhere, like in ipt_mgr.rs.
Elsewhere, use `ipt_lid`.

(We could use a longer name, but in that case it should be changed in
ipt_mgr.rs too.)

No actual functional change in this commit.
</content>
</entry>
<entry>
<title>HSS: Refactor RendRequest so we can return a stream of it.</title>
<updated>2023-08-22T14:50:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-18T17:06:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec6721ec9412fa08a47855965c6a1e0ceb6e63fe'/>
<id>urn:sha1:ec6721ec9412fa08a47855965c6a1e0ceb6e63fe</id>
<content type='text'>
We need a type that holds a rend_handshake::IntroRequest object
internally, but where we don't materialize that object from the
Introduce2 message inside the MsgHandler, since that's more crypto
than we want to put in that task.
</content>
</entry>
<entry>
<title>tor-hsservice errors: Distinguish operational errors by context</title>
<updated>2023-08-17T12:28:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-17T12:04:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=360c90a9d8ec14c713560bc089f9706527056d31'/>
<id>urn:sha1:360c90a9d8ec14c713560bc089f9706527056d31</id>
<content type='text'>
At the very least, I need FatalError to be distinct:
IptEstablisher::new ought not to fail unless everything is terrible.

Add a the Spawn variant to FatalError (that we'll need soon) and the
Bug variant (which it seems likely we might need).

This also gets rid of the crate-level Result alias.
</content>
</entry>
<entry>
<title>tor-hsservice errors: Use Bug for methods that oughtn't to fail</title>
<updated>2023-08-17T12:19:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-17T12:02:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5e047da9cc4017433b7282858a33543587a976ee'/>
<id>urn:sha1:5e047da9cc4017433b7282858a33543587a976ee</id>
<content type='text'>
If the service encouters operational errors, surfacing them here is
not helpful.  So these methods ought to work, if they weren't called
erroneously.
</content>
</entry>
</feed>
