<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-llcrypto/src/pk, branch arti-v2.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-v2.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-23T14:53:37Z</updated>
<entry>
<title>tor-llcrypto: Add RsaIdentity::to_bytes()</title>
<updated>2026-04-23T14:53:37Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-04-23T14:51:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f0cc69966dcd6f30719a516739d2670e86e645f'/>
<id>urn:sha1:5f0cc69966dcd6f30719a516739d2670e86e645f</id>
<content type='text'>
This commit adds .to_bytes() to RsaIdentity which is similar to
.as_bytes() except that it returns the RsaIdentity as a byte array.

We are going to need this at a few places in tor-dirserver.  The naming
was inspired from x25519-dalek which has similar .as_bytes() and
.to_bytes() methods.  Besides, copying 20 bytes shall be okay and it
avoids having to write ugly try_into() constructs.
</content>
</entry>
<entry>
<title>tor-llcrypto: add `Ed25519Identity::from_base64()`</title>
<updated>2026-02-10T18:41:01Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-02-10T18:37:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=330ac4ac555116c69b565cccc6eecbd8dcd43515'/>
<id>urn:sha1:330ac4ac555116c69b565cccc6eecbd8dcd43515</id>
<content type='text'>
This is intended to be analogous to `RsaIdentity::from_hex()`.

I've found myself wanting this a few times, and it makes it easy to grab
a `master-key-ed25519` from the consensus and paste it into the code
without needing to do extra conversions.
</content>
</entry>
<entry>
<title>llcrypto: Depend on tor-memquota-cost, not tor-memquota.</title>
<updated>2026-02-02T15:02:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-01-29T16:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eb62db42196714c9526624e2700794f1639b1036'/>
<id>urn:sha1:eb62db42196714c9526624e2700794f1639b1036</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-llcrypto: Add `RsaIdentity::as_hex_upper`</title>
<updated>2026-01-15T10:48:22Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-12-15T13:39:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c641bfa2f05c264a78b9465279d948843c4dccd'/>
<id>urn:sha1:0c641bfa2f05c264a78b9465279d948843c4dccd</id>
<content type='text'>
This commit adds the method `as_hex_upper(&amp;self) -&gt; String` to
`RsaIdentity`, which returns the `RsaIdentity` as a hexadecimal string
in uppercase.

Although this type already implements `ToString`, this result is
unsuitable for working with consensuses because they neither contain a
`$` prefix, nor are encoded in lowercase.
</content>
</entry>
<entry>
<title>Remove unnecessary `doc(cfg(...))` attributes</title>
<updated>2025-12-05T02:40:50Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2025-11-01T23:25:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26b40cb08b6b715ee80e2b9084810e07512a85c6'/>
<id>urn:sha1:26b40cb08b6b715ee80e2b9084810e07512a85c6</id>
<content type='text'>
Fixes part of #2193.

(Edits from nickm: I selected the cases here that I could verify
were correct from immediate context.)

Edited-by: Nick Mathewson &lt;nickm@torproject.org&gt;
</content>
</entry>
<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>Lay foundations for RSA keys in keystore.</title>
<updated>2025-09-30T20:00:51Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-09-30T18:44:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=073a6a96873d953cd4e8cc5018b593e3aa04d83a'/>
<id>urn:sha1:073a6a96873d953cd4e8cc5018b593e3aa04d83a</id>
<content type='text'>
This currently can't be used due to upstream limitations in the ssh_key
crate, which will be removed likely in the next release. In the
meantime, we can put in all the groundwork.
</content>
</entry>
<entry>
<title>Merge branch 'tor-keyforge-rsa-types' into 'main'</title>
<updated>2025-09-30T14:51:33Z</updated>
<author>
<name>wesleyac</name>
<email>wesleyac@torproject.org</email>
</author>
<published>2025-09-30T14:51:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db946472cc12e2d1ae4b22d3d2719b2073967409'/>
<id>urn:sha1:db946472cc12e2d1ae4b22d3d2719b2073967409</id>
<content type='text'>
tor-key-forge: Add RSA key types.

See merge request tpo/core/arti!3236</content>
</entry>
<entry>
<title>tor-llcrypto: unconditionally use derive_deftly</title>
<updated>2025-09-23T09:43:02Z</updated>
<author>
<name>hashcatHitman</name>
<email>3924-hashcatHitman@gitlab.torproject.org</email>
</author>
<published>2025-09-23T09:43:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=71bd6f23bf2c48352fccb469439722034a593e1b'/>
<id>urn:sha1:71bd6f23bf2c48352fccb469439722034a593e1b</id>
<content type='text'>
I didn't even realize I was still conditionally using it on a feature.
That's what I get for always testing with all-features.

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>
</feed>
