<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/req.rs, branch ios-sqlite-hacks</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-18T11:35:46Z</updated>
<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>
<entry>
<title>tor-hsservice errors: Use `crate::Result` rather than imports</title>
<updated>2023-08-17T12:12:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-17T12:00:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c391ac2a908ff4b9ea299bf086300a55ef338214'/>
<id>urn:sha1:c391ac2a908ff4b9ea299bf086300a55ef338214</id>
<content type='text'>
We want to change the error return types of many methods, so we need a
way to name `std::result::Result`.

We could use `StdResult`, but, actually, properly distinguishing the
kinds of errors that can occur in various contexts means we don't
actually want a single Error type for the whole crate, so
`crate::Result` is going to go away.
</content>
</entry>
<entry>
<title>hsservice: Adapt API sketches from onion-service-notes.md</title>
<updated>2023-07-31T17:47:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-31T13:52:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20afc76c0aa96fe9ad1661afc826b54a562e37be'/>
<id>urn:sha1:20afc76c0aa96fe9ad1661afc826b54a562e37be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsservice: Adapt data structures from onion-service-notes.md</title>
<updated>2023-07-31T17:47:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-31T13:52:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20b3679dbbbf54db7f6e6c0e92949dbcef5a68f3'/>
<id>urn:sha1:20b3679dbbbf54db7f6e6c0e92949dbcef5a68f3</id>
<content type='text'>
Also, removed some older structures that don't make sense in the
current design.

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