| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 2 | -0/+2 |
| | | |||||
| * | cell: Add accessors to IntroduceHandshakePayload | Nick Mathewson | 2023-08-16 | 1 | -0/+15 |
| | | |||||
| * | cell: Add accessors to Introduce2. | Nick Mathewson | 2023-08-16 | 1 | -0/+17 |
| | | |||||
| * | Merge branch 'more_introducing' into 'main' | Nick Mathewson | 2023-08-16 | 2 | -3/+10 |
| |\ | | | | | | | | | Write more of IptEstablisher. See merge request tpo/core/arti!1510 | ||||
| | * | cell: Add code to iterate over IntroEstablished extensions | Nick Mathewson | 2023-08-15 | 1 | -1/+7 |
| | | | |||||
| | * | cell, docs: Clarify what we mean by "Unrecognized". | Nick Mathewson | 2023-08-15 | 1 | -2/+3 |
| | | | |||||
| * | | Merge branch 'fix-weird-comment' into 'main' | Ian Jackson | 2023-08-16 | 1 | -1/+1 |
| |\ \ | |/ |/| | | | | | doc: fix malformatted comment in SliceWriterError See merge request tpo/core/arti!1503 | ||||
| | * | doc: fix malformatted comment in SliceWriterError | Emil Engler | 2023-08-14 | 1 | -1/+1 |
| | | | |||||
| * | | cell: make establish_intro accept impl<Into<HsMacKey>> | Nick Mathewson | 2023-08-14 | 1 | -15/+14 |
| |/ | | | | | | | | | | | This allows us to allow passing in opaque HsMacKey objects, rather than untyped byte slices. Additionally, we now check both MAC and signature unconditionally, to avoid the large timing side-channel. The small timing side-channel of combining booleans with `&` is considered safe. Part of #993. | ||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 |
| | | |||||
| * | Fix typos | Dimitris Apostolou | 2023-07-22 | 1 | -1/+1 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 3 | -0/+3 |
| | | |||||
| * | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 1 | -1/+0 |
| | | | | | Closes #950. | ||||
| * | lints: Run maint/add_warning to actually apply new lints | Ian Jackson | 2023-06-21 | 1 | -0/+2 |
| | | |||||
| * | tor-cell: Downgrade 2 TODO-HS to TODO-HSS | Nick Mathewson | 2023-06-16 | 2 | -2/+2 |
| | | |||||
| * | tor-cell: HasRetryTime for IntroduceAckStatus: Confirm re CANT_RELAY (fmt) | Ian Jackson | 2023-06-14 | 1 | -1/+1 |
| | | | | | | rustdoc insisted on misindenting this before, and now it insists on un-mis-indenting it. | ||||
| * | tor-cell: HasRetryTime for IntroduceAckStatus: Confirm re CANT_RELAY | Ian Jackson | 2023-06-14 | 1 | -1/+1 |
| | | | | | | Remove this todo as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1246#note_2912104 | ||||
| * | tor-cell: Add a doc comment for impl tor_error::HasRetryTime for ↵ | Ian Jackson | 2023-06-14 | 1 | -0/+4 |
| | | | | | IntroduceAckStatus | ||||
| * | tor-cell: impl HasRetryTime for IntroduceAckStatus | Ian Jackson | 2023-06-14 | 1 | -0/+14 |
| | | |||||
| * | Merge branch 'tor-cell-todos' into 'main' | Nick Mathewson | 2023-06-13 | 6 | -53/+9 |
| |\ | | | | | | | | | Resolve most TODO HS comments in tor-cell See merge request tpo/core/arti!1245 | ||||
| | * | cell: Downgrade a couple more TODO HS comments. | Nick Mathewson | 2023-06-13 | 2 | -3/+3 |
| | | | |||||
| | * | cell: Remove relaycell::restrict | Nick Mathewson | 2023-06-13 | 2 | -35/+0 |
| | | | | | | | | | | | This module didn't have anything in it; nonetheless, removing it does count as an API break since it was public. | ||||
| | * | cell: Remove some TODOs | Nick Mathewson | 2023-06-13 | 3 | -10/+2 |
| | | | | | | | | | | | Yes, we still will need more accessors for onion services, but we can add them as we find the need. | ||||
| | * | cell: remove/localize "allow(dead-code)" | Nick Mathewson | 2023-06-13 | 3 | -5/+4 |
| | | | |||||
| * | | tor-cell: IntroduceAck: Add .success() function to give a Result | Ian Jackson | 2023-06-13 | 1 | -0/+16 |
| |/ | | | | | | The type is a bit odd but this is a result of the underlying protocol. I don't feel like inventing `IntroduceAckSuccess` that contains only the extensions. | ||||
| * | proto: Convert MsgHandler API to expect a message, not a cell. | Nick Mathewson | 2023-06-12 | 2 | -1/+19 |
| | | | | | Closes #887. | ||||
| * | cell: Add an accessor for the body of a Rendezvous2. | Nick Mathewson | 2023-06-12 | 1 | -0/+6 |
| | | |||||
| * | tor-cell: remove use of arrayref | Nick Mathewson | 2023-06-01 | 2 | -6/+16 |
| | | | | | Closes #872 | ||||
| * | cell: Make EstablishRendezvous contain a RendCookie. | Nick Mathewson | 2023-05-23 | 1 | -5/+2 |
| | | |||||
| * | cell: Make Introduce2::new testing-only. | Nick Mathewson | 2023-05-17 | 1 | -1/+6 |
| | | | | | | | We never want to create one of these from its parts except when we are testing it; we only want to forward an Introduce1 message with a new command on it. | ||||
| * | cell: Record the text of an INTRODUCE2 header | Nick Mathewson | 2023-05-17 | 1 | -9/+39 |
| | | | | | | We'll need to store this so that it can later on be used to complete the hs_ntor handshake. | ||||
| * | cell: extract introduce headers into a new type. | Nick Mathewson | 2023-05-17 | 1 | -20/+42 |
| | | | | | | | | | We'll want this because our hs_ntor handshake requires access to an encoded version of the header independent from the actual encrypted message. part of #866. | ||||
| * | Change CircTarget::linkspecs() to return an encoded list. | Nick Mathewson | 2023-05-10 | 1 | -3/+3 |
| | | | | | | | | | If we didn't do this, we would need to transfrom `EncodedLinkSpec`s into a `LinkSpec::Unrecognized`, which is not semantically right. What's more, every user of this API wants to consume encoded link specifiers, so encoding them early saves a little effort. | ||||
| * | Rename UnparsedLinkSpec => EncodedLinkSpec | Nick Mathewson | 2023-05-10 | 1 | -3/+3 |
| | | |||||
| * | Move responsibility for linkspec sorting to CircTarget. | Nick Mathewson | 2023-05-10 | 1 | -3/+1 |
| | | | | | | | This change is necessary so that we can build Extend2 messages that have their LinkSpecs appear in a verbatim order as provided in an INTRODUCE2 message or in a HS descriptor. | ||||
| * | Upgrade to bitflags 2.0 | Nick Mathewson | 2023-03-13 | 1 | -0/+1 |
| | | | | | | This version of bitflags now requires us to explicitly list the traits that we want to derive for our bit-flags structs. | ||||
| * | Serval rustdoc link fixes. | Nick Mathewson | 2023-03-08 | 1 | -2/+2 |
| | | |||||
| * | intro_payload: various doc fixes and TODOs from review. | Nick Mathewson | 2023-03-08 | 1 | -4/+16 |
| | | |||||
| * | tor-cell: Be a little more pedantic about INTRODUCE cell types. | Nick Mathewson | 2023-03-08 | 1 | -3/+3 |
| | | |||||
| * | tor-cell: Better describe the parts of intro payload. | Nick Mathewson | 2023-03-08 | 1 | -3/+23 |
| | | |||||
| * | tor-cell: Add code for the payload of an hs-ntor handshake. | Nick Mathewson | 2023-03-06 | 2 | -0/+143 |
| | | | | | | | (This is the encrypted information inside the INTRODUCE2 cell; it's used by the client to tell the service where to find its rendezvous point.) | ||||
| * | Merge branch 'rename_rend_message' into 'main' | Nick Mathewson | 2023-03-01 | 1 | -15/+18 |
| |\ | | | | | | | | | tor-cell: Rename Rendezvous*::message to handshake_info. See merge request tpo/core/arti!1045 | ||||
| | * | tor-cell: Rename Rendezvous*::message to handshake_info. | Nick Mathewson | 2023-03-01 | 1 | -15/+18 |
| | | | | | | | | | Follow-up from !1038 | ||||
| * | | tor-cell: Use a match when checking auth_key_type | Nick Mathewson | 2023-03-01 | 1 | -6/+8 |
| | | | |||||
| * | | tor_cell: Use nested readers and writers for EstablishIntro | Nick Mathewson | 2023-03-01 | 1 | -18/+12 |
| | | | |||||
| * | | tor-cell: tweak comments on EstablishIntro members. | Nick Mathewson | 2023-03-01 | 1 | -2/+2 |
| | | | |||||
| * | | Introduce a constant for the length of the output of hs_mac() | Nick Mathewson | 2023-03-01 | 1 | -3/+3 |
| | | | |||||
| * | | tor-cell: Rename EstablishIntro{Body => Details} | Nick Mathewson | 2023-03-01 | 1 | -8/+8 |
| | | | |||||
| * | | tor-cell: Make EstablishIntro do signatures | Nick Mathewson | 2023-03-01 | 1 | -38/+229 |
| |/ | | | | | | | | | | | | | | | | The old code parsed and encoded a signature and a mac... but there was no way to actually set them properly. Now EstablishIntro is built around an EstablishIntroBody, and has the ability to check signatures and macs. Because there is no way to handle one of these messages if we can't check the signature, we no longer accept unrecognized `auth_key` types in this message. I've added a test to make sure that we can validate a message from the C tor implementation, and a test to make sure we can validate our own cells. I also had to modify the previous tests so that their keys were well-formed. | ||||
| * | Change several cfgs to refer to new feature names. | Nick Mathewson | 2023-02-28 | 2 | -13/+13 |
| | | |||||
