<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/keys.rs, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-19T10:46:10Z</updated>
<entry>
<title>tor-keymgr: Rename KeyMgr::remove_with_type to KeyMgr::remove_entry.</title>
<updated>2024-02-19T10:46:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-15T16:42:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c5abde53bc91b1040551c5e076794766a470fba'/>
<id>urn:sha1:9c5abde53bc91b1040551c5e076794766a470fba</id>
<content type='text'>
Part of #1271
</content>
</entry>
<entry>
<title>tor-keymgr: Make KeyMgr::remove_with_type take a KeystoreEntry.</title>
<updated>2024-02-19T10:46:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-15T16:40:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=069887b3a43582355e2d5f82ee43e37f96269eca'/>
<id>urn:sha1:069887b3a43582355e2d5f82ee43e37f96269eca</id>
<content type='text'>
NB: `KeyMgr::remove_with_type` will need to be renamed to
`KeyMgr::remove_entry`.

Part of #1271
</content>
</entry>
<entry>
<title>tor-keymgr: Make KeyMgr::list_matching return `KeystoreEntry`s.</title>
<updated>2024-02-19T10:46:10Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-15T16:34:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=21f0e7e7c51a66d404a2dfe9ca6590b85857a68a'/>
<id>urn:sha1:21f0e7e7c51a66d404a2dfe9ca6590b85857a68a</id>
<content type='text'>
Part of #1271
</content>
</entry>
<entry>
<title>tor-hsservice: Rename the service keystore dir to "hss".</title>
<updated>2024-02-01T14:56:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-01T14:50:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ad3d1571263e4eb34328ec76ca3d08144ebec6c9'/>
<id>urn:sha1:ad3d1571263e4eb34328ec76ca3d08144ebec6c9</id>
<content type='text'>
The onion service keys now live in the `hss/&lt;nickname&gt;` subdirectory
within the keystore.

This layout change is **not** backwards-compatible, so if you want to
use your existing hidden service keys, you will need to manually move
them to `&lt;keystore_root&gt;/hss`.

Closes #1260
</content>
</entry>
<entry>
<title>tor-keymgr: Lowercase the role when building the ArtiPath.</title>
<updated>2024-01-31T11:15:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-29T12:38:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f28158d1b6b2e5cd88e707c3ed385acc65fdfcee'/>
<id>urn:sha1:f28158d1b6b2e5cd88e707c3ed385acc65fdfcee</id>
<content type='text'>
The role is a slug, and slugs are not allowed to contain uppercase
characters.

Closes #1195
</content>
</entry>
<entry>
<title>tor-hsservice: Fix typos etc.</title>
<updated>2024-01-24T12:33:26Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-24T12:18:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8bf9fcb47ca07a69f3b7d6ff45ddb61449929798'/>
<id>urn:sha1:8bf9fcb47ca07a69f3b7d6ff45ddb61449929798</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: key expiry: Code motion and reindenting</title>
<updated>2024-01-24T12:33:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-24T12:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c427f7f76b5a0887a7c9e281489f50e8b70aaf17'/>
<id>urn:sha1:c427f7f76b5a0887a7c9e281489f50e8b70aaf17</id>
<content type='text'>
Now the remove_if_expire closure, which does the actual work, is
lexically outside the macro, and the macro is trivial.
</content>
</entry>
<entry>
<title>tor-hsservice: key expiry: Introduce HsTimePeriodKeySpecifier trait</title>
<updated>2024-01-24T12:33:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-23T18:10:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c266ff7c12e886de9d663a718751417604bf2b3e'/>
<id>urn:sha1:c266ff7c12e886de9d663a718751417604bf2b3e</id>
<content type='text'>
This allows us to have a closure containing runtime-polymorphic code,
reducing monomorphisation and moving code out of a macro into a
closure.
</content>
</entry>
<entry>
<title>tor-hsservice: key expiry: Rely on limiting publisher key scan</title>
<updated>2024-01-24T12:33:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-23T17:58:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5541776fd5f2d20e07e058f7ba30ca2393de73df'/>
<id>urn:sha1:5541776fd5f2d20e07e058f7ba30ca2393de73df</id>
<content type='text'>
Our pattern is now supposed to ensure that we don't see any irrelevant
keys.  So if we do, that's a bug.

(The code layout is getting increasingly odd.  We'll sort that out
along with some code motion later.)
</content>
</entry>
<entry>
<title>tor-hsservice: key expiry: Limit publisher key scan</title>
<updated>2024-01-24T12:33:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-23T17:58:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=587a98a998bf4d560812f6cb42f408072215f014'/>
<id>urn:sha1:587a98a998bf4d560812f6cb42f408072215f014</id>
<content type='text'>
Only examine keys for this HS.

This avoids thinking about every key for every HS for every netdir
change.  That's quadratic in the number of HS's.
</content>
</entry>
</feed>
