<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/keystore/arti.rs, branch arti-v1.1.9</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.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-26T09:47:36Z</updated>
<entry>
<title>tor-keymgr: Rename as_ssh_keypair_data to as_ssh_key_data.</title>
<updated>2023-09-26T09:47:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-26T09:46:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b8c906b3fd9f0bad8a13a493548a8edd9a041ac'/>
<id>urn:sha1:3b8c906b3fd9f0bad8a13a493548a8edd9a041ac</id>
<content type='text'>
This function no longer returns `KeypairData` (it now returns
`SshKeyData`).
</content>
</entry>
<entry>
<title>tor-keymgr: Make EncodableKey support public keys too.</title>
<updated>2023-09-25T21:11:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-25T17:53:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c3fe43493ea9f963a3a09a994b21bea126e04b6'/>
<id>urn:sha1:1c3fe43493ea9f963a3a09a994b21bea126e04b6</id>
<content type='text'>
Previously, `EncodableKey::to_keypair_data` could only be used for
encoding private keys (its return type was `KeypairData`). Now
`EncodableKey::to_keypair_data` can return public key data (`KeyData`)
too.

Note: `to_keypair_data()` will be renamed in a future commit.
</content>
</entry>
<entry>
<title>tor-keymgr: Represent unparsed ssh key as strings.</title>
<updated>2023-09-25T21:10:56Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-25T10:38:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1daad178d236810d58a31349dddb04062d8ed97e'/>
<id>urn:sha1:1daad178d236810d58a31349dddb04062d8ed97e</id>
<content type='text'>
The underlying representation of an `UnparsedOpenSshKey` is now a
`String`. This will make it easier to support storing public keys in the
keystores: in the future, we will use `PublicKey::from_openssh` to parse
public keys, and `PublicKey::from_openssh` expects a string slice
(unlike `PrivateKey::from_openssh`, which takes a `&amp;[u8]`).
</content>
</entry>
<entry>
<title>tor-hsclient, arti-client, tor-keymgr, tor-netdoc: Use a keypair instead of StaticSecret.</title>
<updated>2023-09-25T18:56:58Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-25T15:28:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5b5483aa2c8e6a9a9fbcdece1c453ad87d434fdc'/>
<id>urn:sha1:5b5483aa2c8e6a9a9fbcdece1c453ad87d434fdc</id>
<content type='text'>
Previously, when retrieving `KS_hsc_desc_enc` keys (or any other x25519
keys) from the keystore, the keymgr would discard the public part of the
key (SSH private keys contain the public part of the key too). Instead
of discarding the public key and returning just the `StaticSecret`, the
keymgr now returns a `StaticKeypair`. This makes the x25519
`EncodableKey`/`ToEncodableKey` implementation consistent with the
ed25519 one (which retrieves key pairs rather than "unescorted"
secrets).
</content>
</entry>
<entry>
<title>tor-keymgr: Remove redundant _private suffix from key extension.</title>
<updated>2023-09-12T15:56:15Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-12T15:56:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83c69cd9cba152babc7ddac86b58897f44035b14'/>
<id>urn:sha1:83c69cd9cba152babc7ddac86b58897f44035b14</id>
<content type='text'>
The privateness of the keys is encoded in their name.
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Implement SshEncodableKey for ed25519::Keypair.</title>
<updated>2023-08-02T13:21:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-02T13:14:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=682d20110e6ce92c7a0d198337bb3e56b290aeb0'/>
<id>urn:sha1:682d20110e6ce92c7a0d198337bb3e56b290aeb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Remove KeyType::to_ssh_format.</title>
<updated>2023-08-02T13:21:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-02T13:19:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e89e76f974457a0e7fd9a98326d427c10e4853af'/>
<id>urn:sha1:e89e76f974457a0e7fd9a98326d427c10e4853af</id>
<content type='text'>
This function isn't actually needed (it's not the responsibility of
`KeyType` to encode keys).

This commit also rewrites `ArtiNativeKeystore::insert` to use the new
`as_ssh_keypair_data` function instead of `to_ssh_format`.
</content>
</entry>
<entry>
<title>keymgr: Test whether insert() creates the missing directories.</title>
<updated>2023-07-24T12:17:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-21T18:00:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5f133c04c4eb84bc6a91929a9a1a0060b46e989'/>
<id>urn:sha1:f5f133c04c4eb84bc6a91929a9a1a0060b46e989</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Create the parent directories as needed</title>
<updated>2023-07-24T12:17:08Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-21T17:11:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfe90f1478b174186d4d3dfa81bcab008044ee2d'/>
<id>urn:sha1:cfe90f1478b174186d4d3dfa81bcab008044ee2d</id>
<content type='text'>
</content>
</entry>
</feed>
