<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/crypto, branch ios-sqlite-hacks</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-13T16:28:27Z</updated>
<entry>
<title>tor-proto: Add a missing cfg</title>
<updated>2023-09-13T16:28:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-13T16:08:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfbe03f59bc8ab80312d63b3e7aa98fbdb55e467'/>
<id>urn:sha1:cfbe03f59bc8ab80312d63b3e7aa98fbdb55e467</id>
<content type='text'>
Fixes
  cargo clippy -p tor-hsclient --all-features --all-targets
</content>
</entry>
<entry>
<title>tor-proto: Remove the Display impl of HopNum.</title>
<updated>2023-08-25T13:57:21Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-25T13:33:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bc83ccc5754ac86f1ca1fcebf09dddcdd63c2b1'/>
<id>urn:sha1:6bc83ccc5754ac86f1ca1fcebf09dddcdd63c2b1</id>
<content type='text'>
This removes the `Display` impl of `HopNum` and replaces its usage with
`HopNum::display`.
</content>
</entry>
<entry>
<title>tor-proto: Add a HopNum::display function.</title>
<updated>2023-08-25T13:57:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-25T13:18:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12a7ff445190f3af2ab82c240469595e7a50c3c6'/>
<id>urn:sha1:12a7ff445190f3af2ab82c240469595e7a50c3c6</id>
<content type='text'>
This function can be used to display a more user-friendly representation
of a `HopNum`. This will print hop numbers as 1-indexed values: #1,
#2, etc..

We will soon remove HopNum's Display implementation in favour of
`.display()`.
</content>
</entry>
<entry>
<title>tor-proto: Make HopNum indices appear 1-based in the Display impl.</title>
<updated>2023-08-25T10:39:25Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-25T10:20:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa1d15560fa434de4b36029dd67916471eb9b83c'/>
<id>urn:sha1:fa1d15560fa434de4b36029dd67916471eb9b83c</id>
<content type='text'>
This makes `HopNum`s display as 1-indexed values. This will make error
messages more intuitive, because when talking about an N-hop circuit, we
generally speak in terms of hops 1..N (rather than 0..N-1).

Internally, our `HopNum` indices are still 0-based.

Closes #996
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: API to expose the `CircuitBinding` type.</title>
<updated>2023-08-14T17:15:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-04T12:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=65a0ac5512f7a147e58c64faacc9cb87cb0e4ecf'/>
<id>urn:sha1:65a0ac5512f7a147e58c64faacc9cb87cb0e4ecf</id>
<content type='text'>
Closes #993
</content>
</entry>
<entry>
<title>proto: Add (not-yet-exposed) code to remember and use KH values</title>
<updated>2023-08-14T17:15:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-03T21:15:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ffa6eddf5c6ad6542102a4d28b287e744a38aeb'/>
<id>urn:sha1:0ffa6eddf5c6ad6542102a4d28b287e744a38aeb</id>
<content type='text'>
These values are computed as part of the circuit extension
handshake, and are used as MAC keys to bind `ESTABLISH_INTRO`
messages to a particular circuit so that they can't be replayed.

Part of #993.
</content>
</entry>
<entry>
<title>tor-proto: Make HopNum public.</title>
<updated>2023-08-04T09:51:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-31T18:51:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eee3bb8822dd22a48b58bfb9a42cb0eaa952138d'/>
<id>urn:sha1:eee3bb8822dd22a48b58bfb9a42cb0eaa952138d</id>
<content type='text'>
`HopNum` will be used in `ClientCirc`'s public API when we refactor
`ClientCirc::start_conversation_last_hop` to use the provided hop rather
than always using the last one.
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Back down x25519-dalek to 2.0.0-pre.1 from 2.0.0-rc.2</title>
<updated>2023-06-27T17:55:24Z</updated>
<author>
<name>pinkforest</name>
<email>pinkforest.0x0012fffac04211@pm.me</email>
</author>
<published>2023-06-27T00:45:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4be2e3ce0f1e0bcf6636fad6ff0b6e789483c014'/>
<id>urn:sha1:4be2e3ce0f1e0bcf6636fad6ff0b6e789483c014</id>
<content type='text'>
=========================
Notes from nickm:

(This differs from pinkforest's original MR: It removes the
Cargo.lock changes and the version bump on tor-llcrypto.)

Minimal Cargo.lock changes from downgrade.

(These are exactly those changes generated by running "build" and
"test".)

There are several reasons to do this:

  * It's best to bump all of our dalek dependencies at once to rc.3
    or later, rather than the piecemeal approach we've been stuck
    with so far.

  * We don't want to do this bump right now, since there are some
    tricky questions about clamping we need to figure out (see
    #808), and we need to make sure we get them right, and we're in
    a distracted this week.

  * We _do_ need to move away from 2.0.0-rc.2 right now, since
    it was causing a failure in `cargo install arti`, and then it
    got yanked.

Thanks to pinkforest for helping us out here and explaining all of
this!

Fixes #926.

Commit-edited-by: Nick Mathewson &lt;nickm@torproject.org&gt;
</content>
</entry>
</feed>
