| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | hsclient state: Test most important code paths | Ian Jackson | 2023-03-01 | 4 | -18/+151 | |
| | | | | | | ||||||
| | * | | | | hsclient: Provide some missing debug impls and trace messages | Ian Jackson | 2023-03-01 | 2 | -2/+25 | |
| | | | | | | ||||||
| | * | | | | tor-hscrypto: Provide manual Debug impl for HsId | Ian Jackson | 2023-03-01 | 1 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is still not great, but it at least makes the output plausible to read by eye. | |||||
| | * | | | | Apply rustfmt | Ian Jackson | 2023-03-01 | 3 | -48/+81 | |
| | | | | | | ||||||
| | * | | | | hsclient state: Provide one test | Ian Jackson | 2023-03-01 | 3 | -0/+109 | |
| | | | | | | ||||||
| | * | | | | hsclient: Use a generic to provide a mock for connect() | Ian Jackson | 2023-03-01 | 5 | -21/+78 | |
| | | | | | | | | | | | | | | | | | | | | | This will allow us to test state.rs. | |||||
| | * | | | | tor-circmgr: Provide testing feature and TestConfig | Ian Jackson | 2023-03-01 | 4 | -0/+52 | |
| | | | | | | | | | | | | | | | | | | | | | Like the similar thing in tor-guardmgr. | |||||
| | * | | | | hsclient: Apply standard lint block | Ian Jackson | 2023-03-01 | 1 | -1/+37 | |
| | | | | | | ||||||
| | * | | | | hsclient: Move dead code allows to specific locations | Ian Jackson | 2023-03-01 | 3 | -1/+4 | |
| | | | | | | ||||||
| | * | | | | hsclient: Add vacuous comments as demanded by clippy | Ian Jackson | 2023-03-01 | 3 | -0/+7 | |
| | | | | | | ||||||
| | * | | | | hsclient state: Bind a variable to stop rustfmt doing a terrible thing | Ian Jackson | 2023-03-01 | 1 | -5/+7 | |
| | | | | | | ||||||
| | * | | | | hsclient: Provide a constructor for HsClientConnector | Ian Jackson | 2023-03-01 | 2 | -10/+25 | |
| | | | | | | ||||||
| | * | | | | hsclient: Implement connection attempt tracking state machine | Ian Jackson | 2023-03-01 | 6 | -42/+408 | |
| | | | | | | | | | | | | | | | | | | | | | This compiles, but it cannot work yet. Nor can it conveniently be tested. | |||||
| | * | | | | HS secret keys: Move aggregate/config to tor-hsclient | Ian Jackson | 2023-03-01 | 4 | -11/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a more cookied "secret keys for use to connecting to a particular HS" type, with a builder. This wants to use config stuff, so oughtn't to be in tor-*crypto. The individual types remain there. | |||||
| | * | | | | hsclient API: Remove notion of ambient keys fromk this layer | Ian Jackson | 2023-03-01 | 2 | -14/+5 | |
| | | | | | | ||||||
| | * | | | | HS API: Remove HS client keys from circmgr API | Ian Jackson | 2023-03-01 | 3 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *If* we're going to retain any HS knowledge in circmgr, it definitely doesn't need to know about per-operation client secrets. (Maybe there might be ambient secrets, used for .onion diversion, but they don't need to be in this API.) | |||||
| | * | | | | HS planning: Discuss whether to remove all HS code from circmgr | Ian Jackson | 2023-03-01 | 3 | -5/+20 | |
| | | | | | | ||||||
| | * | | | | HS planning: Intend for HS connector to do all lifecycle mgmt | Ian Jackson | 2023-03-01 | 1 | -6/+3 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise there has to be a state entry in the circmgr *and* a state entry in the hs connector, for every HS. This division of responsibilit will be confusing. The HS code will then be more completely just a layer on top of circmgr. | |||||
| * | | | | Merge branch 'establish_intro_yet_once_more' into 'main' | Nick Mathewson | 2023-03-01 | 12 | -68/+411 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Revise EstablishIntro messages so that they can generate and check their MAC and signature. See merge request tpo/core/arti!1043 | |||||
| | * | | | 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 | 2 | -5/+8 | |
| | | | | | ||||||
| | * | | | tor-bytes: Clarify that Cursor is not a good thing, and could be neater. | Nick Mathewson | 2023-03-01 | 1 | -2/+11 | |
| | | | | | ||||||
| | * | | | tor-cell: Rename EstablishIntro{Body => Details} | Nick Mathewson | 2023-03-01 | 2 | -12/+12 | |
| | | | | | ||||||
| | * | | | clarify results of misusing cursors | Ian Jackson | 2023-03-01 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | tor-cell: Fix compilation for fuzzers | Nick Mathewson | 2023-03-01 | 3 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | (I also ran them a couple billion iterations, and didn't hit any bugs.) | |||||
| | * | | | tor-cell: Make EstablishIntro do signatures | Nick Mathewson | 2023-03-01 | 3 | -60/+302 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | | | tor-bytes: impl Readable and Writeable for CtByteArray. | Nick Mathewson | 2023-02-28 | 2 | -0/+19 | |
| | | | | | ||||||
| | * | | | Expose a little new functionality from tor-llcrypto. | Nick Mathewson | 2023-02-28 | 2 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | | | | Expose ED25519 signature length; make ValidatableEd25519Signature implement Debug and Clone. | |||||
| | * | | | tor-bytes: Add cursor functionality to Reader | Nick Mathewson | 2023-02-28 | 2 | -0/+62 | |
| | | | | | | | | | | | | | | | | | | | | | We'll use this to implement signature and MAC checking for EstablishIntro cells. | |||||
| * | | | | Merge branch 'more_hs_msgs' into 'main' | Nick Mathewson | 2023-03-01 | 8 | -64/+227 | |
| |\| | | | |/ / |/| | | | | | | | | Implement most remaining HS cell types See merge request tpo/core/arti!1038 | |||||
| | * | | Change several cfgs to refer to new feature names. | Nick Mathewson | 2023-02-28 | 3 | -17/+17 | |
| | | | | ||||||
| | * | | Mark new tests as onion-service-only | Nick Mathewson | 2023-02-28 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | tor-cell: Support extensions in INTRODUCE{1,2} | Nick Mathewson | 2023-02-28 | 2 | -22/+26 | |
| | | | | ||||||
| | * | | tor-cell: Implement IntroduceAck and IntroEstablished | Nick Mathewson | 2023-02-28 | 2 | -19/+104 | |
| | | | | | | | | | | | | | | | | These are fairly simple, since the bulk of them is just an extension list with no supported extensions. | |||||
| | * | | tor-cell: Implement rendezvous1 and rendezvous2. | Nick Mathewson | 2023-02-28 | 2 | -4/+60 | |
| | | | | ||||||
| | * | | caret: work correctly when there are no defined variants. | Nick Mathewson | 2023-02-28 | 1 | -2/+4 | |
| | | | | ||||||
| | * | | hscrypto: Make several types Readable+Writeable | Nick Mathewson | 2023-02-28 | 3 | -0/+13 | |
| | | | | | | | | | | | | | Specifically, RendCookie, Subcredential, HsId, and HsBlindId. | |||||
| * | | | Merge branch 'check_env' into 'main' | Ian Jackson | 2023-03-01 | 3 | -24/+134 | |
| |\ \ \ | | | | | | | | | | | | | | | | | maint: add a full dependency check See merge request tpo/core/arti!1030 | |||||
| | * | | | doc: mention `maint/check_env` in CONTRIBUTING.md | Emil Engler | 2023-02-24 | 1 | -1/+12 | |
| | | | | | ||||||
| | * | | | maint: remove the dependency check from coverage | Emil Engler | 2023-02-24 | 1 | -23/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This commit removes the dependency check introduced by b4b8d040, because it's task is now done by the recently added `check_env` script. | |||||
| | * | | | maint: add a full dependency check | Emil Engler | 2023-02-24 | 1 | -0/+122 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a script that checks the environment for it's suitable as an Arti development environment. It follows an idea pitched by Ian Jackson and me in !1025. | |||||
| * | | | | Merge branch 'main' into 'main' | Ian Jackson | 2023-02-28 | 2 | -8/+11 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use humantime in tor-checkable and tor-guardmgr Closes #663 See merge request tpo/core/arti!1037 | |||||
| | * | | | | Use humantime in tor-guardmgr | Saksham Mittal | 2023-02-27 | 1 | -3/+3 | |
| | | | | | | ||||||
| | * | | | | Use humantime in tor-checkable | Saksham Mittal | 2023-02-27 | 1 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The four values of times taken in a particular test were changed to both be human readable and have comments explaining their significance (they are all important moments after the Unix Epoch for freedom) | |||||
| * | | | | | Merge branch 'changes' into 'main' | Ian Jackson | 2023-02-28 | 1 | -5/+0 | |
| |\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | Remove unnecessary warning from arti-hyper/README See merge request tpo/core/arti!1042 | |||||
| | * | | | | Remove unnecessary warning from arti-hyper/README | Saksham Mittal | 2023-02-28 | 1 | -5/+0 | |
| |/ / / / | | | | | | | | | | | | | | | | | https://gitlab.torproject.org/tpo/core/arti/-/issues/715 has been fixed, so there is no need to display such a warning | |||||
| * | | | | Remove semver.md files now that 1.1.2 is out. | Nick Mathewson | 2023-02-28 | 8 | -21/+0 | |
| | | | | | ||||||
| * | | | | Merge branch 'bump_versions' into 'main'arti-v1.1.2 | Nick Mathewson | 2023-02-28 | 31 | -202/+202 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Bump various versions in preparation for Arti 1.1.2 release. See merge request tpo/core/arti!1041 | |||||
