<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/mgr.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-26T13:58:54Z</updated>
<entry>
<title>tor-keymgr: Make SshKeyData accessors more idiomatic.</title>
<updated>2023-09-26T13:58:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-26T13:58:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92382c25e07d7f54152954b93e5b683584f16036'/>
<id>urn:sha1:92382c25e07d7f54152954b93e5b683584f16036</id>
<content type='text'>
</content>
</entry>
<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>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>tor-keymgr: Re-export ssh-key.</title>
<updated>2023-08-16T09:44:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-15T00:39:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8999f230bd00ba92d8482fe76e99547ccb98d46'/>
<id>urn:sha1:c8999f230bd00ba92d8482fe76e99547ccb98d46</id>
<content type='text'>
The `KeypairData` type from [ssh-key] at some point leaked into the
keymgr API (via the `EncodableKey` trait). Instead of re-exporting just
`KeypairData`, let's re-export the entire `ssh_key` crate
(`EncodableKey` implementors would need additional types from `ssh_key`
to construct a `KeypairData` object anyway).

[ssh-key]: https://crates.io/crates/ssh-key
</content>
</entry>
<entry>
<title>keymgr: Replace EncodableKey::to_bytes() with SSH-specific function.</title>
<updated>2023-08-02T13:13:18Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-02T13:09:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e70be1353c5e200304d1adfd5413d2608e7ac511'/>
<id>urn:sha1:e70be1353c5e200304d1adfd5413d2608e7ac511</id>
<content type='text'>
The `EncodableKey::to_bytes` function didn't make much sense, because
not all keys have a canonical byte representation.

This commit replaces `EncodableKey::to_bytes` with
`EncodableKey::as_ssh_keypair_data`. In the future, `EncodableKey` will
grow functions for encoding keys in other storage formats too.

Closes #965
</content>
</entry>
<entry>
<title>keymgr: Add TODO regarding generate() being racy.</title>
<updated>2023-07-27T10:46:38Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-27T10:46:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fbd96df82f3b8cc3ab29cf690e42f8aec3a0a28'/>
<id>urn:sha1:0fbd96df82f3b8cc3ab29cf690e42f8aec3a0a28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Document the TOCTOU issue with generate().</title>
<updated>2023-07-27T10:45:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-27T10:45:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=74a2a7937b5b3159efb6fdb8197b6ed533a73f24'/>
<id>urn:sha1:74a2a7937b5b3159efb6fdb8197b6ed533a73f24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Make the return value of generate() indicate if a new key was created.</title>
<updated>2023-07-27T10:13:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-27T10:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=249149d4cef9f668eee041647bd349b29999e85a'/>
<id>urn:sha1:249149d4cef9f668eee041647bd349b29999e85a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Make Keystore::generate() return a Result.</title>
<updated>2023-07-27T10:03:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-27T10:03:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44f6d1c82715f628ca53fddedae23a780d560701'/>
<id>urn:sha1:44f6d1c82715f628ca53fddedae23a780d560701</id>
<content type='text'>
</content>
</entry>
</feed>
