<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsclient/src/connect.rs, branch arti-v1.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-09T16:05:21Z</updated>
<entry>
<title>Use HsPowClient.</title>
<updated>2024-10-09T16:05:21Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-01T18:13:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=830f4ace464477288ee56c185be7ab26c781cccd'/>
<id>urn:sha1:830f4ace464477288ee56c185be7ab26c781cccd</id>
<content type='text'>
The fully qualified name earlier was helpful when this was optional, but
now that it's required let's stick it with the other 'use crate'.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
<entry>
<title>hs-pow: Refactor to prefer stub types rather than cfg sprawl.</title>
<updated>2024-10-09T16:05:15Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-01T18:06:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd22ee0991dfa639059fd5e96e1e57916771aefb'/>
<id>urn:sha1:fd22ee0991dfa639059fd5e96e1e57916771aefb</id>
<content type='text'>
In this design, the thin multiplexing layer between PoW types is always
available when onion services are in use, but the specific pow schemes
(and their dependency libraries) are gated by crate features everywhere.
There are now no new cfg() gates.

When the pow-v1 scheme is disabled, we can parse `pow-params v1` lines
into an empty type (so clients know a PoW scheme exists that might be
supported if they were configured differently). We currently don't save
the contents of unknown hsdesc items.

On the relaycell side, the hs ext module already sets a strong precedent
for keeping unrecognized data as a byte vec, and it doesn't provide a
good way to signal soft parse errors like unrecognized optional
extensions. There, the `v1` type is completely optional, and services
lacking a pow scheme suggested by a client would see one of these
'unrecognized' blobs. This isn't necessarily helpful but it fits the
rest of the design.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-hspow: Big refactor, dissolve this crate</title>
<updated>2024-10-09T16:04:35Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-09-30T18:50:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d878d3cc068572d3c14e478051ecc2361ef26b4'/>
<id>urn:sha1:5d878d3cc068572d3c14e478051ecc2361ef26b4</id>
<content type='text'>
My previous strategy here was to try and centralize hspow in one crate,
writing it like a self-contained feature. That introduced friction in
the data types, prompting the use of simplistic types at the netdoc/cell
layers and full-featured types in the optional modules.

This changes tactics, dissolving the low-level parts of tor-hspow into
tor-hscrypto and the high-level parts into hsclient/hsservice. Full
featured types are used everywhere now, but the tradeoff is that
compile-time configurability is a lot more pervasive. Anything that
knows about PoW types at all needs to be fully configured out. I took
this opportunity to try a more complete set of crate features, allowing
users to configure individual PoW schemes.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
<entry>
<title>First pass at implementing onion proof-of-work client</title>
<updated>2024-10-09T16:04:35Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-09-26T19:49:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d2283438e66edf39a52f265d822bca0ed92e563'/>
<id>urn:sha1:6d2283438e66edf39a52f265d822bca0ed92e563</id>
<content type='text'>
This adds a module to tor-hspow for version-independent client logic.
The entire module and its invocations are disabled unless the new
"hs-pow" compile time feature is set.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-cell: Support encoding proofs-of-work in intro_payload</title>
<updated>2024-10-09T16:04:35Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-09-26T18:06:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a17f58f38d1b889ff9ae881d010ed7a8116bbf2'/>
<id>urn:sha1:0a17f58f38d1b889ff9ae881d010ed7a8116bbf2</id>
<content type='text'>
Like parameters, PoW solutions are versioned to account for multiple
algorithms over time. A single solution of a specific version may
accompany an INTRO1/2 as part of the encrypted extensions section. Its
encoding may depend on the version.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
<entry>
<title>Remove hard tabs in the one file that has them.</title>
<updated>2024-10-02T14:37:15Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-02T09:11:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a466056b761b0579eecfde9c852d51a1a2dd932'/>
<id>urn:sha1:6a466056b761b0579eecfde9c852d51a1a2dd932</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a couple of lifetime warnings from nightly.</title>
<updated>2024-10-01T14:14:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-01T14:01:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=baf911f47e71b1c43306c1623050aa63b4fd9caf'/>
<id>urn:sha1:baf911f47e71b1c43306c1623050aa63b4fd9caf</id>
<content type='text'>
Nightly rustdoc, under some circumstances, issues a warning when
you have an elided lifetime that matches a lifetime with a name.
(It would prefer that you name the lifetime explicitly.)

This does not change the actual lifetime of anything;
it only makes some formerly elided lifetimes explicit.
</content>
</entry>
<entry>
<title>rtcompat: Add an extension trait for building modified Runtimes</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-18T20:43:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0121822457f77b9d669c38194919b5bfd908b9a1'/>
<id>urn:sha1:0121822457f77b9d669c38194919b5bfd908b9a1</id>
<content type='text'>
With this extension trait, we no longer need to construct
`CompoundRuntime` directly outside of tor-rtcompat.  This in turn
will make it a little less painful when we have to add more generics
to CompoundRuntime.
</content>
</entry>
<entry>
<title>Merge branch 'refactor_stream_crypto_init' into 'main'</title>
<updated>2024-03-26T16:16:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T16:16:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3fd8798f455737f1e836a58481c54691493b379'/>
<id>urn:sha1:f3fd8798f455737f1e836a58481c54691493b379</id>
<content type='text'>
Refactor the logic for constructing crypt layers.

See merge request tpo/core/arti!2048</content>
</entry>
<entry>
<title>Refactor the logic for constructing crypt layers.</title>
<updated>2024-03-26T15:43:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-20T18:00:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9be8d835556f8d703a88693dd11888b41b851791'/>
<id>urn:sha1:9be8d835556f8d703a88693dd11888b41b851791</id>
<content type='text'>
The key insights here are:
 - That relay cell format and crypto protocols aren't orthogonal:
   Once we have GCO, it will require V1.
 - That we only need the actual functions for layer construction to
   be generic; we don't need to proliferate generic parameters
   everywhere.
 - That the circuit::handshake module already does most of what we
   want.
</content>
</entry>
</feed>
