<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/client.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-22T18:00:34Z</updated>
<entry>
<title>tor-hsclient: Remove client nickname from the client key specifiers (fmt).</title>
<updated>2024-02-22T18:00:34Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-21T18:55:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6c554d36833a61b71c9af68d9299e92ed820ff2'/>
<id>urn:sha1:d6c554d36833a61b71c9af68d9299e92ed820ff2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsclient: Remove client nickname from the client key specifiers.</title>
<updated>2024-02-22T18:00:34Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-21T18:53:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=79fa5573a26eed11ee90a93a01fdb504f0fc56d2'/>
<id>urn:sha1:79fa5573a26eed11ee90a93a01fdb504f0fc56d2</id>
<content type='text'>
Closes #1283
</content>
</entry>
<entry>
<title>arti, arti-client, tor-keymgr: Remove keystore dir configuration.</title>
<updated>2024-02-21T14:58:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-21T12:46:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90addac031b7242b9352ce2c635b9802e657fabe'/>
<id>urn:sha1:90addac031b7242b9352ce2c635b9802e657fabe</id>
<content type='text'>
Closes #1202
</content>
</entry>
<entry>
<title>educe: Use std's default for two structs</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:08:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7eafea9d0b7bb5b1ccc2980df1c94defdd04a954'/>
<id>urn:sha1:7eafea9d0b7bb5b1ccc2980df1c94defdd04a954</id>
<content type='text'>
Reviewing uses of `#[educe(default)]`, I came across these two places
where it was applied to a non-generic struct without any special
attributes on fields.  std's derive will do just as well here.
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</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-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>
</feed>
