aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'hs' into 'main'Ian Jackson2023-06-154-26/+210
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Store our IPT experiences and try to try good IPTs first See merge request tpo/core/arti!1247
| * | | | tor-hsclient: Make Untried a {}-less unitIan Jackson2023-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1247#note_2912642 It's unlikely this will grow any content, so fine.
| * | | | tor-hsclient: Insert a blank linegabi-2502023-06-151-0/+1
| | | | |
| * | | | tor-hsclient: Docs improvements.gabi-2502023-06-151-2/+2
| | | | |
| * | | | tor-hsclient: Remove two done TODOsIan Jackson2023-06-151-2/+0
| | | | |
| * | | | tor-hsclient: provide intro_index accessor for FailedAttemptError (xref)Ian Jackson2023-06-151-1/+2
| | | | | | | | | | | | | | | | | | | | Add a cross-reference to docs arising from MR comments in !1246.
| * | | | tor-hsclient: Actually store our IPT experiencesIan Jackson2023-06-151-7/+42
| | | | |
| * | | | tor-hsclient: intro_rend_connect: bind `outcome`Ian Jackson2023-06-151-3/+3
| | | | | | | | | | | | | | | | | | | | This will be used in a moment.
| * | | | tor-hsclient: Actually choose which intro points to useIan Jackson2023-06-151-3/+75
| | | | | | | | | | | | | | | | | | | | | | | | | Right now this just always chooses randomly because nothing stores anything in the HashMap.
| * | | | tor-hsclient: Introduce RelayIdForExperienceIan Jackson2023-06-151-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | Wrap this up in a newtype so we don't accidentally use it for anything else. Provide two constructors, one for storing and one for lookups.
| * | | | tor-hsclient: Add random sort key to UsableIptIan Jackson2023-06-151-0/+6
| | | | |
| * | | | tor-hsclient: provide intro_index accessor for FailedAttemptErrorIan Jackson2023-06-152-1/+24
| | | | |
| * | | | tor-error: Introduce `LooseCmpRetryTime`Ian Jackson2023-06-152-0/+20
|/ / / / | | | | | | | | | | | | | | | | Having a newtype for this kind of thing is considerably more convenient. I'm going to use this in a moment.
* | | | Merge branch 'ci' into 'main'Nick Mathewson2023-06-141-2/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CI: Upgrade every-crate test to required See merge request tpo/core/arti!1252
| * | | | CI: Upgrade every-crate test to requiredIan Jackson2023-06-141-2/+0
|/ / / / | | | | | | | | | | | | Since it passes now.
* | | | Merge branch 'ci2' into 'main'Nick Mathewson2023-06-142-0/+28
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Test every crate with default features See merge request tpo/core/arti!1250
| * | | CI: test every crate with default featuresIan Jackson2023-06-141-0/+9
| | | |
| * | | CI: add script to test every crate with default featuresIan Jackson2023-06-141-0/+19
| |/ /
* | | Merge branch 'pt-snowflake-fix' into 'main'Ian Jackson2023-06-141-5/+13
|\ \ \ | | | | | | | | | | | | | | | | make snowflake example feature-gated See merge request tpo/core/arti!1249
| * | | make snowflake example feature-gatedtrinity-1686a2023-06-141-5/+13
| |/ /
* | | Merge branch 'retry' into 'main'Ian Jackson2023-06-144-3/+92
|\ \ \ | |/ / |/| | | | | | | | impl HasRetryTime for various errors See merge request tpo/core/arti!1246
| * | tor-hsclient: InvalidTarget::ImpossibleRelayIds is RetryTime::NeverIan Jackson2023-06-141-1/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1246#note_2912105
| * | tor-hsclient: Correction to HasRetryTime for InvalidTarget docNick Mathewson2023-06-141-1/+2
| | |
| * | tor-hsclient: Add doc for HasKind for FailedAttemptErrorIan Jackson2023-06-141-0/+16
| | | | | | | | | | | | | | | There is a cross-reference here to code (`IptSortKey`) in another branch that I haven't made an MR for yet.
| * | tor-hsclient: Add docs and comments about HasRetryTime for InvalidTargetIan Jackson2023-06-141-0/+18
| | |
| * | tor-cell: HasRetryTime for IntroduceAckStatus: Confirm re CANT_RELAY (fmt)Ian Jackson2023-06-141-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_RELAYIan Jackson2023-06-141-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 Jackson2023-06-141-0/+4
| | | | | | | | | | | | IntroduceAckStatus
| * | tor-hsclient: impl HasRetryTime for FailedAttemptErrorIan Jackson2023-06-142-2/+25
| | |
| * | tor-hsclient: impl HasRetryTime for InvalidTargetIan Jackson2023-06-141-1/+14
| | |
| * | tor-cell: impl HasRetryTime for IntroduceAckStatusIan Jackson2023-06-141-0/+14
|/ /
* | Merge branch 'tor-cell-todos' into 'main'Nick Mathewson2023-06-137-53/+10
|\ \ | | | | | | | | | | | | Resolve most TODO HS comments in tor-cell See merge request tpo/core/arti!1245
| * | cell: Downgrade a couple more TODO HS comments.Nick Mathewson2023-06-132-3/+3
| | |
| * | cell: Remove relaycell::restrictNick Mathewson2023-06-133-35/+1
| | | | | | | | | | | | | | | This module didn't have anything in it; nonetheless, removing it does count as an API break since it was public.
| * | cell: Remove some TODOsNick Mathewson2023-06-133-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 Mathewson2023-06-133-5/+4
| | |
* | | Merge branch 'hscrypto-todos' into 'main'gabi-2502023-06-136-60/+103
|\ \ \ | | | | | | | | | | | | | | | | hscrypto: Resolve all but one TODO HS comment. See merge request tpo/core/arti!1244
| * | | hscrypto: fix TODOs in time-period code.Nick Mathewson2023-06-133-39/+63
| | | | | | | | | | | | | | | | | | | | | | | | * Return a more informative error type (instead of Option) * Check that time periods are an integer number of seconds * Decide not to change the semantics of an argument.
| * | | hscrypto: remove compatibility note about time periods.Nick Mathewson2023-06-131-9/+0
| | | | | | | | | | | | | | | | | | | | We updated and clarified the spec in arti!107, and noted the remaining infelicities in proposal 342.
| * | | hscrypto: write a READMENick Mathewson2023-06-131-1/+20
| | | |
| * | | hscrypto: note that hs_mac is not a good choice for new protocolsNick Mathewson2023-06-131-1/+4
| | | |
| * | | hscrypto: comment out an unused key type.Nick Mathewson2023-06-131-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (I'm not removing it entirely since maybe we _should_ use it, and maybe we _will_ as we do services. I've added a TODO HS for removing it or using it, and removed the TODO HS at the head of pk.rs about making sure that all the key types in the module really belong there.)
| * | | hscrypto: Remove a TODO about extending an internal macro.Nick Mathewson2023-06-131-2/+0
| | | |
| * | | hscrypto: Remove a TODO about implementing ErrorKind.Nick Mathewson2023-06-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | I think it isn't actually a great idea for HsIdParseError to implement ErrorKind, since the actual ErrorKind would depend entirely on where the problematic ID came from.
| * | | hscrypto: clarify and downgrade TODOs about blinding secretsNick Mathewson2023-06-131-2/+10
| | | |
* | | | Merge branch 'rotten-chutney' into 'main'Nick Mathewson2023-06-131-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CI: integration-chutney: Turn into a warning See merge request tpo/core/arti!1243
| * | | | CI: integration-chutney: Turn into a warningIan Jackson2023-06-131-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This test is known to fail "when the load is high". Recently I had to press the "merge unverified changes" button to merge !1238, after four consecutivew spurious failures. IMO this is intolerable.
* | | | Merge branch '20_byte_sendme_digest' into 'main'Ian Jackson2023-06-131-3/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | proto: Make sure that auth tags are truncated to 20 bytes See merge request tpo/core/arti!1242
| * | | | proto: Make sure that auth tags are truncated to 20 bytesNick Mathewson2023-06-131-3/+13
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'hs' into 'main'gabi-2502023-06-134-45/+155
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-hsclient: Finish(?) plumbing up first cut of HS client connection See merge request tpo/core/arti!1240