<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/semver.md, branch arti-v1.1.8</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.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-23T14:35:30Z</updated>
<entry>
<title>tor-keymgr, tor-hsservice: deser for ArtiPathComponent and HsNickname</title>
<updated>2023-08-23T14:35:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-23T14:30:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8596d4237267cce29577e474baab951ebeace335'/>
<id>urn:sha1:8596d4237267cce29577e474baab951ebeace335</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Improve ArtiPathComponent a bit</title>
<updated>2023-08-23T14:29:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-23T13:56:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9df82bb9489b966d9ec4365e175422c637f0eb7e'/>
<id>urn:sha1:9df82bb9489b966d9ec4365e175422c637f0eb7e</id>
<content type='text'>
And add a TODO about the error type.
</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: 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: 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>Remove semver.md files now that 1.1.7 is out.</title>
<updated>2023-08-01T16:55:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-01T16:55:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1e96d1b95a81a291e040ddeb15e6308c1f1094bd'/>
<id>urn:sha1:1e96d1b95a81a291e040ddeb15e6308c1f1094bd</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>
<entry>
<title>keymgr: Add a Keystore::contains accessor.</title>
<updated>2023-07-24T12:17:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-14T10:08:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e36e7db6e7bfe06f967ce45e135714fd7983d470'/>
<id>urn:sha1:e36e7db6e7bfe06f967ce45e135714fd7983d470</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "keymgr: Require callers to be explicit about which keystore to get keys from."</title>
<updated>2023-07-21T11:21:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-21T10:55:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98337afec991077c861c672d9dbd6e95efc0c9a2'/>
<id>urn:sha1:98337afec991077c861c672d9dbd6e95efc0c9a2</id>
<content type='text'>
This reverts commit 38a6c74c7894dc96b16c9039cacc2a4023977b05.

This also updates some tests to make them compile with the reverted
version of the code.
</content>
</entry>
</feed>
