<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/crypto/cell.rs, branch arti-v1.1.8</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.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-25T13:57:21Z</updated>
<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>
<entry>
<title>proto: Make sure that auth tags are truncated to 20 bytes</title>
<updated>2023-06-13T15:04:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-13T15:04:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=40840b1f3a92b1f8e2269f06a4b8811e2a0ce218'/>
<id>urn:sha1:40840b1f3a92b1f8e2269f06a4b8811e2a0ce218</id>
<content type='text'>
Onion service hops (pointlessly) use SHA3-256 for their
authentication, but they truncate it to 20 bytes (assuming I'm
reading the C right.)

See torspec#204 for clarification here.
</content>
</entry>
<entry>
<title>tor-proto: Remove use of arrayref.</title>
<updated>2023-06-01T14:32:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-01T14:32:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46d2a768a13c74d9ac8c41851f9864f47bf5d31a'/>
<id>urn:sha1:46d2a768a13c74d9ac8c41851f9864f47bf5d31a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Try to improve the documentation in crypto/cell.rs</title>
<updated>2023-05-18T16:40:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-18T15:54:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0230e7bccc6cc9cd5d3810b978c6d1d7482558b8'/>
<id>urn:sha1:0230e7bccc6cc9cd5d3810b978c6d1d7482558b8</id>
<content type='text'>
</content>
</entry>
</feed>
