<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/mgr.rs, branch ios-sqlite-hacks</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-23T09:34:00Z</updated>
<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>
<entry>
<title>keymgr: Move duplicated match block to KeyMgr::select_keystore().</title>
<updated>2023-07-24T12:17:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-24T11:12:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89dc3a162a0e0e7519deb6da9f40b9504fbc2178'/>
<id>urn:sha1:89dc3a162a0e0e7519deb6da9f40b9504fbc2178</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Add KeyMgr::generate() for generating new keys.</title>
<updated>2023-07-24T12:17:31Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-24T10:56:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f96298a791f696012c572a1df8396eea46d43266'/>
<id>urn:sha1:f96298a791f696012c572a1df8396eea46d43266</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keymgr: Add function for generating EncodableKeys.</title>
<updated>2023-07-24T12:17:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-24T11:01:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c326ced816ab4bf9e3e7380f5caa6a6cb05a784'/>
<id>urn:sha1:9c326ced816ab4bf9e3e7380f5caa6a6cb05a784</id>
<content type='text'>
</content>
</entry>
</feed>
