<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/crypto/cell.rs, branch arti-v1.1.9</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.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-28T15:35:00Z</updated>
<entry>
<title>Merge branch 'misc-upgrades' into 'main'</title>
<updated>2023-09-28T15:35:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T15:35:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6135ebf903a2210b7023d01923641fece4350be'/>
<id>urn:sha1:f6135ebf903a2210b7023d01923641fece4350be</id>
<content type='text'>
Upgrade several dependencies

See merge request tpo/core/arti!1626</content>
</entry>
<entry>
<title>tor-proto: Replace repeating pattern with fill</title>
<updated>2023-09-28T15:00:44Z</updated>
<author>
<name>Emil Engler</name>
<email>me@emilengler.com</email>
</author>
<published>2023-09-28T15:00:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9224d55e9956c13da6386bbb8a13f1373f4c69a3'/>
<id>urn:sha1:9224d55e9956c13da6386bbb8a13f1373f4c69a3</id>
<content type='text'>
This commit replaces a repeating code pattern in the `set_digest`
function for setting the 'Recognized' and Digest field to zero with a
slice fillment.

Besides this, it also adds comments explaining which fields are
currently getting zeroized.
</content>
</entry>
<entry>
<title>Remove direct dependency on generic-array</title>
<updated>2023-09-28T14:59:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T14:15:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34766342614bb4ca5742ee041273e99ff690ed20'/>
<id>urn:sha1:34766342614bb4ca5742ee041273e99ff690ed20</id>
<content type='text'>
Instead of tying ourselves to a particular version of the
generic-array crate, we now always use the version re-exported by
our RustCrypto crates.  This lets us avoid the possibility of
version mismatch.

(Originally I had planned to upgrade to generic-array 1.0, but then
I found that we were not actually using it.)
</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: 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>
</feed>
