<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/svc/publish.rs, branch arti-v1.1.12</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.12</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-12-13T14:57:19Z</updated>
<entry>
<title>tor-hsservice: Make descriptor publisher wait for shutdown signal.</title>
<updated>2023-12-13T14:57:19Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-12-11T19:09:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0353a48d7688026fcc0ada047811b9f6e414f8ae'/>
<id>urn:sha1:0353a48d7688026fcc0ada047811b9f6e414f8ae</id>
<content type='text'>
The publisher logs a nice `info!` message when it receives the shutdown
signal. The publisher can infer that the service is shutting down from
the errors received on its various receiver channels (i.e. from the
errors that suggest the sender was dropped), but listening for the
shutdown signal is nicer.
</content>
</entry>
<entry>
<title>tor-keymgr: Store an owned type instead.</title>
<updated>2023-12-05T16:37:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-29T17:55:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94d83f0f0609816ce84500f11eac1c275a20de9e'/>
<id>urn:sha1:94d83f0f0609816ce84500f11eac1c275a20de9e</id>
<content type='text'>
We need this because the key specifier types will soon be owned types
too (they will soon grow a From&lt;&amp;KeyPath&gt; impl). We _could_ make them
store `Cow`s instead, but I think that's a premature optimization.
</content>
</entry>
<entry>
<title>tor-hsservice: ipt_set: Have various methods take a Runtime</title>
<updated>2023-12-04T18:58:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-11-22T18:50:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=73a438fdf1f4d71460ba12ef2f2151bdc84ce031'/>
<id>urn:sha1:73a438fdf1f4d71460ba12ef2f2151bdc84ce031</id>
<content type='text'>
Actually, a SleepProvider.

We will need this for timestamp conversion during loading and saving.
channel() needs it to load.  note_publication_attempt needs it for
saving, as does borrow_for_update.
</content>
</entry>
<entry>
<title>tor-hsservice tests: publish: Make run_test take a runtime</title>
<updated>2023-12-04T18:58:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-11-22T16:55:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00a09a124d3ab8c767161bfb32d01e797e82c6f0'/>
<id>urn:sha1:00a09a124d3ab8c767161bfb32d01e797e82c6f0</id>
<content type='text'>
We're about to need to arrange to have the same runtime earlier, so
run_test needs to accept one from the caller.
</content>
</entry>
<entry>
<title>tor-hsservice: ipt_set: Make ::channel() fallible</title>
<updated>2023-12-04T18:58:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-11-22T18:22:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=91bb7b3c7311a0413dfc0a282cdc22e18b2b9395'/>
<id>urn:sha1:91bb7b3c7311a0413dfc0a282cdc22e18b2b9395</id>
<content type='text'>
This is going to load the state from disk.
</content>
</entry>
<entry>
<title>tor-hsservice: Pass and record storage handles</title>
<updated>2023-12-04T18:58:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-25T15:33:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a06ada93b1f6a0d52db7ff27f01d553d61a2e2d'/>
<id>urn:sha1:5a06ada93b1f6a0d52db7ff27f01d553d61a2e2d</id>
<content type='text'>
* Introduce type aliases for the Arc&lt;dyn &gt;.  Add Send and Sync bounds.

* Pass the storage manager to ipt_mgr and the per-key handle to ipt_set.

* Store the handles in ipt_mgr::Immutable and IptPublishSet.

* Change the ipt mgr storage key to "hs_ipts_{nickname}".  This avoids use
  of "_" as a non-separator, and allows the possibility of other
  submodules using other storage keys too - and, here, we introduce one.

* Provide a dummy struct for the IPT set state, which is needed to
  define the type alias etc.  We'll populate that struct later.
</content>
</entry>
<entry>
<title>Remove RngCompatExt.</title>
<updated>2023-11-29T15:55:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-29T15:49:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7fb24cb69da537ac04ab2dae80997c6d481622ef'/>
<id>urn:sha1:7fb24cb69da537ac04ab2dae80997c6d481622ef</id>
<content type='text'>
This code was needed with the old version of dalek-cryptography,
which wasn't compatible with up-to-date versions of the `rand`
crate(s).  But now that we've upgraded, we can drop this.

(We could have left it around and deprecated it, but we are already
making a breaking change to tor-llcrypto by upgrading
dalek-cryptography.)
</content>
</entry>
<entry>
<title>Convert to the latest versions of dalek-cryptography</title>
<updated>2023-11-29T15:34:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-21T15:58:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98037a2c788bd901679139178d25f855324637f3'/>
<id>urn:sha1:98037a2c788bd901679139178d25f855324637f3</id>
<content type='text'>
The main changes that we have to adjust for are as follows:

* In x25519-dalek:
  * `StaticSecret` is now behind a feature.
  * `StaticSecret::new` is deprecated in favor of
    `StaticSecret::random_from_rng`.
  * StaticSecret no longer does its own clamping.

* In ed25519-dalek:
  * `SecretKey` has (in effect) been renamed to `SigningKey`. The name
    `SecretKey` is now an alias for `[u8; 32]`.
  * `SigningKey` is effectively a keypair, since it contains a
     public key as well.
  * `PublicKey` has been renamed to `VerifyingKey`.
  * The functions to extract a signing key and verifying key have
    been renamed as you might expect.
  * `ExpandedSecretKey` has been moved to `hasmat` and no longer
    implements `sign`.
  * `ExpanededSecretKey` now has as its elements a scalar and a hash
    prefix.
  * Various functions that took `&amp;[u8]` now take `&amp;[u8; N]`.
  * We no longer need a wrapper for older versions of rand.

There is a single test in tor-keymgr that does not pass.  I've
marked it as ignore for now, in hopes that @gabi-250 can help me
figure it out.

This closes #808.  There are several changes I want to make before
we merge, however. They are marked with TODO DALEK.
</content>
</entry>
<entry>
<title>Merge branch 'keymgr-derive-builder' into 'main'</title>
<updated>2023-11-28T12:12:09Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-28T12:12:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=009533057f57b3c8e5e81a70314f2ead97db63e4'/>
<id>urn:sha1:009533057f57b3c8e5e81a70314f2ead97db63e4</id>
<content type='text'>
tor-keymgr: Derive Builder for KeyMgr.

Closes #1114

See merge request tpo/core/arti!1760</content>
</entry>
<entry>
<title>tor-hsservice: ipt_set: Change last_descriptor_expiry_including_slop</title>
<updated>2023-11-27T19:24:55Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-11-22T18:16:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c516fe65f24005bc6a4b64a63b5765e645e27de6'/>
<id>urn:sha1:c516fe65f24005bc6a4b64a63b5765e645e27de6</id>
<content type='text'>
Prepare for persistence.
</content>
</entry>
</feed>
