<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hscrypto/src, branch arti-v1.4.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.4.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-06T23:09:41Z</updated>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>tor-hscrypto: Move encodable key trait impls from tor-key-forge.</title>
<updated>2024-12-11T16:13:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-11T16:11:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf6998c7e8fa42d29847759d96af3c5fe02ab5f0'/>
<id>urn:sha1:cf6998c7e8fa42d29847759d96af3c5fe02ab5f0</id>
<content type='text'>
This enables us to get rid of the tor-key-forge -&gt; tor-hscrypto
dependency, partially addressing the TODO from `tor_key_forge::traits`.

This commit is mostly code motion. Best reviewed with `--color-moved`.

See also #1778
</content>
</entry>
<entry>
<title>add_warnings, *: Allow clippy::needless_lifetimes</title>
<updated>2024-12-03T14:27:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-03T14:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb'/>
<id>urn:sha1:64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb</id>
<content type='text'>
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.

This is part of #1765.
</content>
</entry>
<entry>
<title>PoW: Consolidate feature flags into a single flag.</title>
<updated>2024-11-25T20:49:46Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-11-25T20:45:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7846ed242bf39d9b366f47393de28056d70abec0'/>
<id>urn:sha1:7846ed242bf39d9b366f47393de28056d70abec0</id>
<content type='text'>
This replaces the hs-pow, hs-pow-full, hs-pow-v1, pow-v1, and pow-full
features with a single hs-pow-full feature.

It's possible that in the future we will want to split different schemes
into different features, but we can do that when it comes up.

For now, having this as a single flag makes it clearer what's going on,
since the previous thing was not actually expressive enough to capture
some things we care about (like "at least one pow scheme is enabled"
that works in a future-compatible way).

This change is not semver breaking since it's a experimental feature.

Related: #1751
</content>
</entry>
<entry>
<title>tor-hscrypto: Add Verifier::seed() helper function.</title>
<updated>2024-11-25T18:20:11Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-29T14:45:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90eecb223172c5d8fc0cbae7fee7f76819e6663c'/>
<id>urn:sha1:90eecb223172c5d8fc0cbae7fee7f76819e6663c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hscrypto: Add Seed::new.</title>
<updated>2024-11-25T18:20:11Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-29T14:43:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eb0de6fdada42996b49a37fc0598d8c617d9513f'/>
<id>urn:sha1:eb0de6fdada42996b49a37fc0598d8c617d9513f</id>
<content type='text'>
This includes the ability to generate a seed that does not share a head
with the previously used seed, which is generally what we want to do.
</content>
</entry>
<entry>
<title>tor-netdoc: Support writing pow-params line.</title>
<updated>2024-11-25T18:20:11Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-15T18:39:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f740995ca2db08842f3306fda30aa57e0e67bd1c'/>
<id>urn:sha1:f740995ca2db08842f3306fda30aa57e0e67bd1c</id>
<content type='text'>
I'm not particularly happy with the code that does the actual writing
out of the pow-params line, in particular the error handling there seems
very verbose. However, I don't know of a better way to structure it
given that APIs I'm working with.
</content>
</entry>
<entry>
<title>tor-hscrypto: Abolish the HasKind impl of HsIdParseError.</title>
<updated>2024-11-04T10:48:47Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-11-04T10:38:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30b98a843510caecdac18da01ad4dfa1ddc68886'/>
<id>urn:sha1:30b98a843510caecdac18da01ad4dfa1ddc68886</id>
<content type='text'>
Also changes the `ErrorKind` of `BadOnionAddress` to
`ForbbiddenStreamTarget`.

See context in
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045683

Closes #1483
</content>
</entry>
<entry>
<title>Rename "memquota" feature to "memquota-memcost" when it's just HasMemoryCost</title>
<updated>2024-10-16T13:48:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-16T13:43:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6ee75b3866e374250a760822b4aab49aef70e930'/>
<id>urn:sha1:6ee75b3866e374250a760822b4aab49aef70e930</id>
<content type='text'>
It's not documented anywhere ATM.  I will do that in a followup MR.
</content>
</entry>
<entry>
<title>hs-pow: Effort type improvements.</title>
<updated>2024-10-09T16:05:21Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-01T18:19:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cbc21152dc7bf57be1ecaf9fb7189427fcb908d'/>
<id>urn:sha1:8cbc21152dc7bf57be1ecaf9fb7189427fcb908d</id>
<content type='text'>
The Effort type didn't have any const constructor and we had to
disassemble it to do any arithmetic. This adds a const constructor and
int/float saturating arithmetic methods.

Co-authored-by: Micah Elizabeth Scott &lt;beth@torproject.org&gt;
</content>
</entry>
</feed>
