<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-llcrypto/src/pk, branch arti-v1.1.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-03-28T11:47:12Z</updated>
<entry>
<title>tor-llcrypto: key blinding: Use consistent terminology</title>
<updated>2023-03-28T11:47:12Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-28T11:32:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=def291dcb5c6b657296886e95a2b4fa3717b466a'/>
<id>urn:sha1:def291dcb5c6b657296886e95a2b4fa3717b466a</id>
<content type='text'>
Unhelpfully, the spec uses the variable name `h` and the phrase
"blinding factor" for both the unclamped and clamped value.  The
clamped value is internal to the algorithm.

In our code:

* Don't ever use the word "parameter" or variable name `param`.
  This doesn't appear in the spec anywhere.

* Use `h` for the unclamped blinding factor, and `blinding_factor` for the
  clamped blinding factor.

* Rename `blinding_factor` function to `clamp_blinding_factor`, since
  in the spec's terminology it takes an (unclamped) "blinding factor"
  and returns a (clamped) "blinding factor".

* State explicitly what thing in the spec the `h` parameters are.
</content>
</entry>
<entry>
<title>Use the type system to enforce use of blinded keys.</title>
<updated>2023-03-27T10:45:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-22T19:09:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d4069cc7f233c40c079a6dfbc7f5d93f350c555'/>
<id>urn:sha1:1d4069cc7f233c40c079a6dfbc7f5d93f350c555</id>
<content type='text'>
Hidden services use blinded singing keys derived from the identity key
to sign descriptor signing keys.

Before this patch, the hidden descriptor builder represented its blinded
signing keys (`blinded_id`) as plain `ed25519::Keypair`s. This was not
ideal, as there was nothing preventing the caller from accidentally
initializing `blinded_id` with an unblinded keypair.

This introduces a new `HsBlindKeypair` type to represent blinded
keypairs.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Expose a little new functionality from tor-llcrypto.</title>
<updated>2023-02-28T16:23:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-27T20:35:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d658fcfc52261ceab93e45fe03bb04fff922b0f8'/>
<id>urn:sha1:d658fcfc52261ceab93e45fe03bb04fff922b0f8</id>
<content type='text'>
Expose ED25519 signature length; make ValidatableEd25519Signature
implement Debug and Clone.
</content>
</entry>
<entry>
<title>llcrypto: Implement `Into&lt;[u8;32]&gt;` for Ed25519Identity</title>
<updated>2023-02-07T14:00:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-30T19:10:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59b981ea5e652aa3f7c6ab128ca66525187162c2'/>
<id>urn:sha1:59b981ea5e652aa3f7c6ab128ca66525187162c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-llcrypto: Tolerate some warnings (fmt)</title>
<updated>2023-01-20T17:29:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-20T17:29:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c76bca69218487244663a23f1976b333a9bc6a0'/>
<id>urn:sha1:5c76bca69218487244663a23f1976b333a9bc6a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-llcrypto: Tolerate some warnings</title>
<updated>2023-01-20T16:37:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-20T16:36:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd21d232799b8c6dba638ff95e0f42d7b25226a3'/>
<id>urn:sha1:bd21d232799b8c6dba638ff95e0f42d7b25226a3</id>
<content type='text'>
Without this,
  cargo +stable clippy -p tor-netdoc --all-features
produces warnings.
</content>
</entry>
<entry>
<title>Upgrade to latest rsa crate.</title>
<updated>2023-01-20T13:06:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-19T20:22:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=131775bf3639c1f49d41ca19f2efc3162c316bf7'/>
<id>urn:sha1:131775bf3639c1f49d41ca19f2efc3162c316bf7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Complete our migration to base64ct.</title>
<updated>2023-01-20T13:06:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-19T19:50:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=889206cde4ef29d7d10bda546f8ad518eb09c290'/>
<id>urn:sha1:889206cde4ef29d7d10bda546f8ad518eb09c290</id>
<content type='text'>
This is in lieu of upgrading to the latest base64 crate, which has
a different API from the old one.  Since we have to migrate either
way, we might as well use base64ct everywhere.

I don't think that most of these cases _require_ constant-time
base64, but it won't hurt.
</content>
</entry>
<entry>
<title>Merge branch 'blind_privkey' into 'main'</title>
<updated>2023-01-09T18:06:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-01-09T18:06:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6800bae0c69f5c0c4bc8a0574cb2ef44c1e3385'/>
<id>urn:sha1:d6800bae0c69f5c0c4bc8a0574cb2ef44c1e3385</id>
<content type='text'>
llcrypto: Implement secret-key blinding.

Closes #719

See merge request tpo/core/arti!964</content>
</entry>
<entry>
<title>llcrypto: fix a comment.</title>
<updated>2023-01-06T18:03:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-12-20T17:01:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d38bbd829bcbb1f708417d365e509630a233b69'/>
<id>urn:sha1:7d38bbd829bcbb1f708417d365e509630a233b69</id>
<content type='text'>
This described the wrong type of key.
</content>
</entry>
</feed>
