<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hscrypto/src/pk.rs, branch arti-v2.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-06T11:28:22Z</updated>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-hscrypto: derive_deftly is mandatory again</title>
<updated>2025-09-23T20:31:52Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-09-23T20:31:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ae8697fa9d0ce318c30133ca2315632d922e86b9'/>
<id>urn:sha1:ae8697fa9d0ce318c30133ca2315632d922e86b9</id>
<content type='text'>
I don't know why this was breaking rust-recent-async-std-rustls, but oh
well.

Signed-off-by: hashcatHitman &lt;3924-hashcatHitman@gitlab.torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-(hs|ll)crypto: export cteq macros correctly</title>
<updated>2025-09-23T19:52:04Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-09-23T19:52:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cfe85d6ff3461a1110467ae45d63c0915460dec'/>
<id>urn:sha1:8cfe85d6ff3461a1110467ae45d63c0915460dec</id>
<content type='text'>
The macros to deftly derive `ConstantTimeEq` and `PartialEq` (for
`ConstantTimeEq`) are now only defined in `tor-llcrypto` and exported.

The macro to deftly derive `ConstantTimeEq` is now struct only and uses
`subtle::Choice::from(1)` for improved clarity.

Signed-off-by: hashcatHitman &lt;3924-hashcatHitman@gitlab.torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-(hs|ll)crypto: deftly derive ConstantTimeEq</title>
<updated>2025-09-23T08:25:49Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-09-23T08:25:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc3de195b4f90f6bcd6697c7655a0663ceec5ef4'/>
<id>urn:sha1:bc3de195b4f90f6bcd6697c7655a0663ceec5ef4</id>
<content type='text'>
This is my initial attempt at deriving ConstantTimeEq and PartialEq.
This includes the previously missed HsSvcNtorKeypair and
HsClientDescEncKeypair types.

In tor-llcrypto, a few implementations still had to be done by hand, and
some types which previously derived normal PartialEq now derive it with
ConstantTimeEq.

I could not figure out how to properly set up the macros such that they
could be used both in the current crate and in others, so for the moment
they are duplicated. Just so I can get feedback. Ideally, this will be
replaced with a better solution before merge.

Signed-off-by: hashcatHitman &lt;3924-hashcatHitman@gitlab.torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-hscrypto: constant time PartialEq for keys</title>
<updated>2025-09-16T20:55:34Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-09-16T06:58:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1722932f76dfcc7e3e5e30d82b51f1b0263a10a1'/>
<id>urn:sha1:1722932f76dfcc7e3e5e30d82b51f1b0263a10a1</id>
<content type='text'>
Implemented `subtle::ConstantTimeEq` for all of the following types:
 - `pk::HsIdKey`
 - `pk::HsIdKeypair`
 - `pk::HsBlindIdKey`
 - `pk::HsBlindIdKeypair`
 - `pk::HsDescSigningKey`
 - `pk::HsDescSigningKeypair`
 - `pk::HsIntroPtSessionIdKey`
 - `pk::HsIntroPtSessionIdKeypair`
 - `pk::HsSvcNtorKey`
 - `pk::HsSvcNtorSecretKey`
 - `pk::hs_client_intro_auth::HsClientIntroAuthKey`
 - `pk::hs_client_intro_auth::HsClientIntroAuthKeypair`
 - `pk::HsClientDescEncKey`
 - `pk::HsClientDescEncSecretKey`
 - `pk::HsSvcDescEncKey`
 - `pk::HsSvcDescEncSecretKey`
 - `pk::HsSvcDescEncKeypair`

`PartialEq` has also been implemented for all listed types, using the
constant time comparison under the hood.

Signed-off-by: hashcatHitman &lt;3924-hashcatHitman@gitlab.torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-hscrypto: change redacted `HsId` from "???" to "[…]"</title>
<updated>2025-08-25T15:22:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-08-25T01:16:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=78f0cc445bd2abe4c43136d683997e96523f3d72'/>
<id>urn:sha1:78f0cc445bd2abe4c43136d683997e96523f3d72</id>
<content type='text'>
Before:

```text
INFO tor_hsservice: Generated a new identity for service bar: ???mad.onion
```

After:

```text
INFO tor_hsservice: Generated a new identity for service foo: […]2qd.onion
```
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>Use new DisplayRedacted/DebugRedacted code for HsId.</title>
<updated>2025-07-31T13:49:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-07-29T18:49:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24b56a134a0542965fd4bb76f39300523fde0213'/>
<id>urn:sha1:24b56a134a0542965fd4bb76f39300523fde0213</id>
<content type='text'>
Closes #2012.
</content>
</entry>
<entry>
<title>tor-hscrypto: fix typos</title>
<updated>2025-07-23T15:31:30Z</updated>
<author>
<name>tcyrus</name>
<email>4027-tcyrus@gitlab.torproject.org</email>
</author>
<published>2025-06-26T21:18:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8150a93956daec49663927e5e784765211f3e26a'/>
<id>urn:sha1:8150a93956daec49663927e5e784765211f3e26a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Typo fixes (automatic and hand-verified)</title>
<updated>2025-07-09T16:27:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-07-09T16:27:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd24caa9959a4e9a04ad10cc047975b8566a884b'/>
<id>urn:sha1:fd24caa9959a4e9a04ad10cc047975b8566a884b</id>
<content type='text'>
Made with https://crates.io/crates/typos-cli
</content>
</entry>
</feed>
