<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/lib.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-14T18:29:26Z</updated>
<entry>
<title>Refactor and improve error hinting.</title>
<updated>2024-02-14T18:29:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-14T17:10:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33c33380a7e4a949d83844814025b921a2b3ce9b'/>
<id>urn:sha1:33c33380a7e4a949d83844814025b921a2b3ce9b</id>
<content type='text'>
Instead of using complicated match statements, use downcasting
to find error types that define specific hints.  This also lets us
define a reasonable hint-extractor for anyhow::Error, and use it
when reporting errors in main.

I've left an implementation of hint() in `impl Error`, to
avoid breaking backward compatibility.

Closes #1165.
</content>
</entry>
<entry>
<title>arti: Use Weak references for the reconfigurable modules (fmt).</title>
<updated>2024-01-25T12:25:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T12:24:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b714714db649dec900f9931d29ee0965f9349ab'/>
<id>urn:sha1:9b714714db649dec900f9931d29ee0965f9349ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Use Weak references for the reconfigurable modules.</title>
<updated>2024-01-25T12:25:45Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T11:47:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=81c0dccf8f38b7d7fe77d683d7210f88fb4161db'/>
<id>urn:sha1:81c0dccf8f38b7d7fe77d683d7210f88fb4161db</id>
<content type='text'>
Previously, the `ProxySet` (and all the other `reconfigurable_modules`)
were kept alive by the `watch_for_config_changes` background thread,
which was preventing them from being dropped when `run()` exited. IOW,
onion services never received the shutdown signal.

Now `watch_for_config_changes` takes `Weak` references, and the only
strong references to the modules are kept in the
`reconfigurable_modules` local variable in `run()`, which is dropped
when `run()` exits (e.g. on SIGINT). This allows onion services to
execute their shutdown logic on CTRL-C.

Part of #1244
</content>
</entry>
<entry>
<title>tor-hsservice: Add TODO about testing arti hss.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T13:58:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f5c2f7e2c6f3e268d32f81ba86c0b32b6c0dc24'/>
<id>urn:sha1:8f5c2f7e2c6f3e268d32f81ba86c0b32b6c0dc24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Use OnionService to get the onion_name().</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-16T17:29:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c70d9ec6b557aee309e3d6720fae186b8c7ad52e'/>
<id>urn:sha1:c70d9ec6b557aee309e3d6720fae186b8c7ad52e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give an error when user configured onion services with no support.</title>
<updated>2024-01-16T16:42:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-16T16:42:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bbca0da490059cb757c51d3367f6ab75a397ca09'/>
<id>urn:sha1:bbca0da490059cb757c51d3367f6ab75a397ca09</id>
<content type='text'>
We do this by adding a stub config and config builder type, whose
only purpose is to generate an error if anything is deserialized
into it.

(If this turns out not to be the best pattern, we can change it
later, since this is all internal to the `arti` crate.)

Closes #1184.
</content>
</entry>
<entry>
<title>tor-keymgr: Abolish ArtiNativeKeystoreConfig::expand_keystore_dir.</title>
<updated>2024-01-10T15:07:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-10T15:03:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f6d98bcb26707a89385975ea3177d56ab08ab4a'/>
<id>urn:sha1:0f6d98bcb26707a89385975ea3177d56ab08ab4a</id>
<content type='text'>
This resolves a `TODO HSS` in arti-client.

Part of #1187
</content>
</entry>
<entry>
<title>arti::lib: Downgrade "TODO HSS" comments</title>
<updated>2024-01-09T19:30:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-09T19:30:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4a0714d4ad0aed2102c13d0163a96c95a051b61'/>
<id>urn:sha1:b4a0714d4ad0aed2102c13d0163a96c95a051b61</id>
<content type='text'>
These are not "must fix before releasing onion services".
</content>
</entry>
<entry>
<title>arti: Fix log message typo.</title>
<updated>2023-12-14T18:33:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-12-14T16:46:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d8d83a1543164fd609e2af81aac9e57f4b9581ec'/>
<id>urn:sha1:d8d83a1543164fd609e2af81aac9e57f4b9581ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'return-of-the-son-of-arti-todos' into 'main'</title>
<updated>2023-12-14T16:30:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:30:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1527b6dc386703f9e2765413c0fbe9a00ef7e5e5'/>
<id>urn:sha1:1527b6dc386703f9e2765413c0fbe9a00ef7e5e5</id>
<content type='text'>
Resolve Arti crate todos, redux

See merge request tpo/core/arti!1833</content>
</entry>
</feed>
