<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/err.rs, branch arti-1.2.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-05T15:34:29Z</updated>
<entry>
<title>Use tor_basic_utils::PathExt::display_lossy</title>
<updated>2024-03-05T15:34:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T19:23:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=418d4c588839eb116666b29ba03cc5bf262d3d71'/>
<id>urn:sha1:418d4c588839eb116666b29ba03cc5bf262d3d71</id>
<content type='text'>
Change Path::display to this new function, in call sites where it's
being used for a diagnostic.
</content>
</entry>
<entry>
<title>tor-hsservice: prelude: Move imports from err.rs</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T12:37:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=99392421b77e5f966f7415a49600932b4d5201c0'/>
<id>urn:sha1:99392421b77e5f966f7415a49600932b4d5201c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Move rend_handshake.rs out of svc</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T11:57:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd4c0f5a144728bdf5f42abd2351e51cc85a3081'/>
<id>urn:sha1:dd4c0f5a144728bdf5f42abd2351e51cc85a3081</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: ipt mgr: Move/rename to StateExpiryError (followup)</title>
<updated>2024-02-13T18:54:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-13T17:22:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eabe1e997a04c9a942d312958d18f1bd163af1fb'/>
<id>urn:sha1:eabe1e997a04c9a942d312958d18f1bd163af1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: ipt mgr: Move/rename to StateExpiryError</title>
<updated>2024-02-13T18:54:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-13T17:21:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=abf06b771c3ae83bc9d5820ab426bfef389be57a'/>
<id>urn:sha1:abf06b771c3ae83bc9d5820ab426bfef389be57a</id>
<content type='text'>
The private ExpiryError type is now err::StateExpiryError.
We'll fix up the local alias in the HasKind impl in a moment.
</content>
</entry>
<entry>
<title>tor-hsservice: Use ErrorKind::KeystoreAccessFailed for KeystoreRace errors.</title>
<updated>2024-02-01T20:51:18Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-01T15:12:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25c7579f23626fd67606113870ed00c5a3c42604'/>
<id>urn:sha1:25c7579f23626fd67606113870ed00c5a3c42604</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Add FatalError::KeystoreRace.</title>
<updated>2024-02-01T20:51:18Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-01T11:56:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdd0c1da0a00c70ba69c9382d167565495e4924a'/>
<id>urn:sha1:fdd0c1da0a00c70ba69c9382d167565495e4924a</id>
<content type='text'>
This will be used when a keystore race is detected.
</content>
</entry>
<entry>
<title>tor-hsservice: Remove now-unused imports</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:52:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4bd72e8258a4486d90597760e338813ac68f7a1d'/>
<id>urn:sha1:4bd72e8258a4486d90597760e338813ac68f7a1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Abolish StartupError::StateLocked</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:48:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1e1d55de0c0d6b085a2bb2441ba675fbdc51cc6b'/>
<id>urn:sha1:1e1d55de0c0d6b085a2bb2441ba675fbdc51cc6b</id>
<content type='text'>
This is now tor_persist::Error containing ErrorSource::AlreadyLocked.
</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>
</feed>
