<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/hsdesc.rs, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-13T11:48:52Z</updated>
<entry>
<title>netdoc: Use the RangeBoundsExt impl of TimerangeBound.</title>
<updated>2023-05-13T11:48:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-05T13:42:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f9c6cc11bb1e1e048ad4f22749de779d98db5a17'/>
<id>urn:sha1:f9c6cc11bb1e1e048ad4f22749de779d98db5a17</id>
<content type='text'>
We can now get rid of the standalone `intersect_bounds` function.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>netdoc: Do not consume EncryptedHsDesc when decrypting.</title>
<updated>2023-05-13T11:48:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-04T18:39:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9dbf162c909b7ce7d07a94821c629931c028c65d'/>
<id>urn:sha1:9dbf162c909b7ce7d07a94821c629931c028c65d</id>
<content type='text'>
`parse_decrypt_validate` will need to "peek" inside an encrypted
descriptor (before validating it) to extract the `TimerangeBound` of the
inner layer. This is needed to compute the intersection of the
`TimerangeBound`s of both layers.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>hsclient: Compute HsDesc validity time from the TimerangeBounds of its layers.</title>
<updated>2023-05-13T11:48:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-03T22:56:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92e0b6a0290578e89d502898957cbdb7bc970dea'/>
<id>urn:sha1:92e0b6a0290578e89d502898957cbdb7bc970dea</id>
<content type='text'>
This makes `descriptor_ensure` refetch the descriptor if either of its
layers (inner or outer) expires.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>hsclient: Build cached descriptor TimerangeBounds from descriptor lifetime.</title>
<updated>2023-05-13T11:48:13Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-27T11:03:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88ea5032f4588da7ebafdc262f5db64e561d76af'/>
<id>urn:sha1:88ea5032f4588da7ebafdc262f5db64e561d76af</id>
<content type='text'>
This makes `descriptor_ensure` refetch the descriptor if it has been
cached for longer than `descriptor-lifetime` minutes.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'hs-linkspec-work-v2' into 'main'</title>
<updated>2023-05-11T13:16:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-11T13:16:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca96b77b15932f5a51c6928b30085fa610f26af4'/>
<id>urn:sha1:ca96b77b15932f5a51c6928b30085fa610f26af4</id>
<content type='text'>
Second take on linkspec manipulation code needed by onion services

Closes #794

See merge request tpo/core/arti!1177</content>
</entry>
<entry>
<title>Rename UnparsedLinkSpec =&gt; EncodedLinkSpec</title>
<updated>2023-05-10T15:23:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T15:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02785ca6505572bdbfaa560178f299e30f7bc7e8'/>
<id>urn:sha1:02785ca6505572bdbfaa560178f299e30f7bc7e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: Remove experimental-api gate from parse_decrypt_validate.</title>
<updated>2023-05-10T14:53:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-10T14:48:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=410ca23d2d966c3a20586b5d0bb2739e4482a3fe'/>
<id>urn:sha1:410ca23d2d966c3a20586b5d0bb2739e4482a3fe</id>
<content type='text'>
`parse_decrypt_validate` was marked as experimental because it was
unclear if the newly added `BadTimeBound` error kind belongs in
`ParseErrorKind`. However, we have since renamed `ParseErrorKind` to
`NetdocErrorKind` and decided to keep the new variant, so this API
doesn't need to be experimental anymore.

Closes arti #852

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>netdoc: Rename `ParseError{Kind, Source}` to `NetdocError{Kind, Source}`.</title>
<updated>2023-05-10T14:52:28Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-10T14:40:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=099b2315b015b96cd8163a364f92810ea4982cfa'/>
<id>urn:sha1:099b2315b015b96cd8163a364f92810ea4982cfa</id>
<content type='text'>
`ParseErrorSource` was originally meant to represent a parsing error,
this enum has since gained some variants that aren't really parsing
related (`Signature`, `CertSignature`, `UntimelyDescriptor`).

Since this error type is now used for general-purpose netdoc errors,
let's rename `ParseError{Kind, Source}` to `NetdocError{Kind, Source}`.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>netdoc: Mark parse_decrypt_validate as experimental.</title>
<updated>2023-05-02T16:18:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-02T16:18:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dfc22beddf29c000fbc2de5b17b2620497c53209'/>
<id>urn:sha1:dfc22beddf29c000fbc2de5b17b2620497c53209</id>
<content type='text'>
Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>netdoc: Document how to extract an `HsDesc` out of an `UncheckedEncryptedHsDesc`.</title>
<updated>2023-04-25T17:15:56Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-25T17:00:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b96774932534b7f35f09ae3f3e7d8e2abd282ba7'/>
<id>urn:sha1:b96774932534b7f35f09ae3f3e7d8e2abd282ba7</id>
<content type='text'>
This adds an example to the `HsDesc::parse` docs. The constants from the
example are lifted from the `parse_desc_good` test.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
</feed>
