<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src, branch arti-v1.1.13</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.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-01T11:21:44Z</updated>
<entry>
<title>tor-hsservice: Use tor_persist::state_dir</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T14:13:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1d40b7d8c562cfee352cdf7852c065938acf702'/>
<id>urn:sha1:b1d40b7d8c562cfee352cdf7852c065938acf702</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Use tor_persist::state_dir, etc. (fmt)</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T16:12:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ccf20f165cb39e8f3da0a56eab55ea4fe1e4dd1'/>
<id>urn:sha1:4ccf20f165cb39e8f3da0a56eab55ea4fe1e4dd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Use tor_persist::state_dir</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T15:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e'/>
<id>urn:sha1:b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e</id>
<content type='text'>
We no longer do replay log locking in IptManager::new.  Instead, we
rely on the acquire_instance call in OnionService::launch, which ends
up with ipt_mgr getting an InstanceHandle (which contains a lock
guard).

OnionServiceStateMgr is abolished; it existed to deal with the
generics in the tor_persist::StateMgr API.  state_dir has no
generics (other than the T being loaded/stored).

Many places (structs and argument lists) now have state_dir types
which embody a path (or a CheckeDir) along with a lock, rather than
separate path+lock+mistrust.

The creation/startup code uses the new calls from state_dir.

Other more minor changes:
 - StartupError::StateDirectoryInaccessible contains tor_persist::Error
 - test::create_storage_handles_from_state_dir changed and renamed,
   from _from_state_mgr.
 - replay::PersistFile's (separate) file lock is now fslock_guard's
</content>
</entry>
<entry>
<title>tor-hsclient: Rename HsClientSpecifier to HsClientNickname (fmt).</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T19:14:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a60aaaa9851733bc93139e800d4b49276df024d6'/>
<id>urn:sha1:a60aaaa9851733bc93139e800d4b49276df024d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsclient: Rename HsClientSpecifier to HsClientNickname.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T19:12:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=86ee7ebc1be82ef7b6f4672c0b1677efbfb8b074'/>
<id>urn:sha1:86ee7ebc1be82ef7b6f4672c0b1677efbfb8b074</id>
<content type='text'>
Service nicknames are represented by `HsNickname`, so let's
rename `HsClientSpecifier` to `HsClientNickname`.
</content>
</entry>
<entry>
<title>tor-hsservice: Store the StateMgr inside OnionServiceState.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T17:00:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=35d156e093baa8e947d7f5341c9ae11f1362d0a1'/>
<id>urn:sha1:35d156e093baa8e947d7f5341c9ae11f1362d0a1</id>
<content type='text'>
This introduces an internal `OnionServiceStateMgr` trait, which enables
us to store the `StateMgr` inside the `OnionServiceState` (without
having to parameterize `OnionServiceState` on `S: StateMgr`).
</content>
</entry>
<entry>
<title>arti-client: Move state_dir and mistrust handling to separate function.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T12:03:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f36008061be977e97d945f6df5ed41ee4c59ea8c'/>
<id>urn:sha1:f36008061be977e97d945f6df5ed41ee4c59ea8c</id>
<content type='text'>
This reduces code duplication.
</content>
</entry>
<entry>
<title>arti-client: Move keymgr creation to TorClient::create_keymgr.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T11:55:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a2611ae5f0d9abe43c32ff2f0209a367423094b9'/>
<id>urn:sha1:a2611ae5f0d9abe43c32ff2f0209a367423094b9</id>
<content type='text'>
This code was duplicated by `create_inner()` and
`create_onion_service()`.
</content>
</entry>
<entry>
<title>tor-hsservice: Do not store the StateMgr in OnionService.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-17T10:53:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12012ce201561d8d0ba268471d5dbbfc1fb778b4'/>
<id>urn:sha1:12012ce201561d8d0ba268471d5dbbfc1fb778b4</id>
<content type='text'>
The `StateMgr` is currently only needed in `launch()`, so we don't
really need to store it.

This allows us to unparameterize OnionService.
</content>
</entry>
<entry>
<title>arti-client: Add a function for creating OnionServices.</title>
<updated>2024-01-18T10:21:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-16T17:13:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e140938eec3c3c81cc24d8e0770f1b9bd1e53315'/>
<id>urn:sha1:e140938eec3c3c81cc24d8e0770f1b9bd1e53315</id>
<content type='text'>
This will be used from `arti` to create an `OnionService`, to implement
the `arti hss` command.
</content>
</entry>
</feed>
