<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/semver.md, 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-25T18:57:15Z</updated>
<entry>
<title>tor-keymgr: Add (experimental) notices to semver.md</title>
<updated>2023-09-25T18:57:15Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-25T18:51:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f4cd0fc67bb65e189c8cc41c193de2899f8abb'/>
<id>urn:sha1:46f4cd0fc67bb65e189c8cc41c193de2899f8abb</id>
<content type='text'>
</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>Remove semver.md now that 1.1.8 is out.</title>
<updated>2023-09-05T21:01:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-05T21:01:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a05d64d7f1424f140c49a5897f05b26a1eef7c2d'/>
<id>urn:sha1:a05d64d7f1424f140c49a5897f05b26a1eef7c2d</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
