| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
| | | | |
| | | | |
| | | | | |
This compiles, but it cannot work yet. Nor can it conveniently be tested.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
*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.)
|
| | | | | | |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Revise EstablishIntro messages so that they can generate and check their MAC and signature.
See merge request tpo/core/arti!1043
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
(I also ran them a couple billion iterations, and didn't hit
any bugs.)
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Expose ED25519 signature length; make ValidatableEd25519Signature
implement Debug and Clone.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We'll use this to implement signature and MAC checking for
EstablishIntro cells.
|
| |\| | |
| |/ /
|/| |
| | |
| | | |
Implement most remaining HS cell types
See merge request tpo/core/arti!1038
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
These are fairly simple, since the bulk of them is just an extension
list with no supported extensions.
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Specifically, RendCookie, Subcredential, HsId, and HsBlindId.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
maint: add a full dependency check
See merge request tpo/core/arti!1030
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This commit removes the dependency check introduced by b4b8d040, because
it's task is now done by the recently added `check_env` script.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use humantime in tor-checkable and tor-guardmgr
Closes #663
See merge request tpo/core/arti!1037
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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)
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Remove unnecessary warning from arti-hyper/README
See merge request tpo/core/arti!1042
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
https://gitlab.torproject.org/tpo/core/arti/-/issues/715
has been fixed, so there is no need to display such a warning
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Bump various versions in preparation for Arti 1.1.2 release.
See merge request tpo/core/arti!1041
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These crates didn't have any changes until now, when I bumped
the versions of some other crates they depend on:
tor-consdiff
arti-hyper
arti-bench
arti-testing
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These crates have had small code changes, but no API additions:
tor-config
tor-socksproto
tor-cert
tor-chanmgr
tor-ptmgr
tor-guardmgr
tor-circmgr
tor-dirclient
tor-dirmgr
arti
tor-hsservice
tor-congestion
These crates have had API extensions:
fs-mistrust
tor-llcrypto
tor-bytes
tor-checkable
tor-linkspec
tor-netdoc
tor-persist
arti-client
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(The breaking change was removing `as_days()` from IntegerMinutes.)
We are _not_ calling this a downstream-api breaking change, per
discussion at
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1012?commit_id=bb2ab7c2a3e0994bb438188511688b5b039cae29#note_2876819
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are API breaks, but the crates themselves are currently
100% experimental, so there's no need to bump the minor versions
according to our semver rules.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This includes tor-cell, tor-proto, and tor-netdir.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
CHANGELOG: Fix typo
See merge request tpo/core/arti!1040
|
| | | | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Rename onion-* cargo features to hs-* in tor-* crates etc.
Closes #756
See merge request tpo/core/arti!1033
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Fixes #756
|
| |/ / / / |
|