<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-llcrypto/src/pk, branch arti-v1.1.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-27T18:23:42Z</updated>
<entry>
<title>llcrypto: Add reference to paper about keypair reuse.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-27T15:17:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aa5e9b1e951e23fa393f79e8324a39c5de863521'/>
<id>urn:sha1:aa5e9b1e951e23fa393f79e8324a39c5de863521</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Remove `# Availability` doc sections.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-27T15:12:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b466b24a1807d1d0e261a6e23418e0152f15d734'/>
<id>urn:sha1:b466b24a1807d1d0e261a6e23418e0152f15d734</id>
<content type='text'>
This removes the `# Availability` section from the
`convert_ed25519_to_curve25519_private` and
`convert_curve25519_to_ed25519_private` docs.

We don't generally have this sort of section anywhere else in the
codebase (we use unstable cargo-docs features to make sure items are
annotated correctly).
</content>
</entry>
<entry>
<title>llcrypto: Add cvt-x25519 feature flag for exporting key conversion functions.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T19:42:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=32261d40060b6ac61bcf10fd5aa2e7228eb8c658'/>
<id>urn:sha1:32261d40060b6ac61bcf10fd5aa2e7228eb8c658</id>
<content type='text'>
The `convert_curve25519_to_ed25519_private` and
`convert_ed25519_to_curve25519_private` functions are now exported by
`tor-llcrypto` if the `cvt-25519` feature is enabled.
</content>
</entry>
<entry>
<title>llcrypto: Add `Panics`, `Availability` docs for convert_ed25519_to_curve25519_private.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T14:47:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94f405704f483f293297bdc611644e10b5a2ce11'/>
<id>urn:sha1:94f405704f483f293297bdc611644e10b5a2ce11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Fix clippy lint.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T14:46:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7c44984f3d4ad0767d617f116c257ca87f5897a6'/>
<id>urn:sha1:7c44984f3d4ad0767d617f116c257ca87f5897a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Explain what we need the ed25519-&gt;x25519 conversion for.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T14:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e06fc04b0b7cf59cacfacdc345754c1ea183a5fe'/>
<id>urn:sha1:e06fc04b0b7cf59cacfacdc345754c1ea183a5fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Document how convert_ed25519_to_curve25519_private computes the key.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T14:23:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa6290c0cc2d370db6f16510e2fbae6cce44effe'/>
<id>urn:sha1:fa6290c0cc2d370db6f16510e2fbae6cce44effe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Add note about bumping x25519-dalek and clamping.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-26T14:13:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ecb2221a01d76e426f8676feaf7c428aed1aeab'/>
<id>urn:sha1:7ecb2221a01d76e426f8676feaf7c428aed1aeab</id>
<content type='text'>
This adds a TODO explaining how convert_ed25519_to_curve25519_private
will need to be audited when we upgrade to the latest x25519-dalek.

This also adds a `debug_assertions` and a test that ensures
`StaticSecret::from` is clamping the input (when we bump x25519-dalek,
the assertions will fail, as the latest version doesn't do clamping in
StaticSecret::from).
</content>
</entry>
<entry>
<title>llcrypto: Document ed25519-&gt;curve25519-&gt;ed25519 conversion behaviour.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-23T15:49:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fe15c5012f33ac53a3b1889dbfdd63e8ea034e8'/>
<id>urn:sha1:1fe15c5012f33ac53a3b1889dbfdd63e8ea034e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: Implement ed25519_to_curve25519_private conversion.</title>
<updated>2023-06-27T18:23:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-06-23T09:45:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=47606ad8818ba1f1d4c6bf8054d71fbb0b5b462b'/>
<id>urn:sha1:47606ad8818ba1f1d4c6bf8054d71fbb0b5b462b</id>
<content type='text'>
In `ArtiNativeKeyStore`, private keys are stored in OpenSSH format.
However, `ssh-key` (the crate we use for parsing OpenSSH keys) doesn't
support x25519 keys. As a workaround, this type of key will stored
as ed25519 and converted to x25519 upon retrieval.

This commit implements the `convert_ed25519_to_curve25519_private`
conversion function (needed by `ArtiNativeKeyStore` to support x25519
keys).

Part of #900
</content>
</entry>
</feed>
