| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| |
| | |
SharedRandVal now holds only the 32-byte random value itself; the
"number of commits" field is in SharedRandStatus.
This commit also makes the SharedRandVal be exactly 32 bytes, since
we've set it to that value in the spec.
|
| | |
| |
| |
| |
| | |
The important addition here is the Copy derives, which affect API
design. I'm applying them to the types that are 32 byte or smaller.
|
| |\ \
| |/
|/|
| |
| | |
netdir: add network parameters related to onion services
See merge request tpo/core/arti!968
|
| | |
| |
| |
| |
| |
| |
| | |
These are available unconditionally, since they represent
comparatively little storage and processing effort.
See param-spec.txt section 8 for the original information here.
|
| |/ |
|
| |\
| |
| |
| |
| | |
Upgrade to latest tokio, for security fix.
See merge request tpo/core/arti!967
|
| | |
| |
| |
| |
| |
| |
| | |
On 1.22, cargo audit is complaining about RUSTSEC-2023-0001.
We aren't affected, since we don't use windows named pipes (yet),
but let's make cargo audit happier.
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
llcrypto: Implement secret-key blinding.
Closes #719
See merge request tpo/core/arti!964
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Closes #719.
Due to a difference between ed25519-dalek and ed25519-donna,
converting these secret keys directly to public keys does not work.
I've documented this in a "Limitations" section.
|
| |\ \
| | |
| | |
| | |
| | | |
Fix typos
See merge request tpo/core/arti!965
|
| | | | |
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Temporary fix for #715 and #569
Closes #715
See merge request tpo/core/arti!958
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a new "light" build profile between "dev" and "release".
Closes #639
See merge request tpo/core/arti!960
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"quicktest" is meant to build faster than our (tuned for size above
all) release profile, while having enough optimization to perform
reasonably well when used for testing.
Closes #639.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Architecture: More high-level documentation and diagrams.
Closes #624
See merge request tpo/core/arti!963
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Apparently, Mermaid 9.1 did not support this.
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Specifically, I'm adding a high-level MDD (simplified for clarity).
I'm also adding a diagram of the object relations among our manager
types. (There are also communications that happen via channels, but
those aren't discussed here.) That part closes #624.
There is probably more to say here, but this should form a scaffold
we can build on.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Onion service APIs, part 1.
See merge request tpo/core/arti!959
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This module has types and operations needed in multiple places
for an onion service implementation. There are a bunch of
TODO hs-crypto comments that we'll need to fill in.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This described the wrong type of key.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The `Ed25519Identity` and `RsaIdentity` types are not precisely
always used as relay identifiers: they are more generally used as
_key_ identifiers.
This will become relevant as `RsaIdentity` is used for authority
keys (as in authorities' VoterInfo blocks), and as `Ed25519Identity`
is used as the identifier behind an onion service key.
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
tor-proto: Remove some sensitive info from errors
See merge request tpo/core/arti!934
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Not sure why the tree didn't have this newline already. "Whatever".
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The debug impl prints the handshake challenge, which we should
probably treat as sensitive.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Don't print the handshake value, but do print the display reason.
|
| | | | | | |
|
| |\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
More log messages in and around the ptmgr code
See merge request tpo/core/arti!923
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Based on more temporary debugging code. Yet another part of #677.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are also based on temporary logs that I added locally while I
was hunting bugs.
Also part of #677.
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is based on logs that I added locally while I was trying to
debug some startup issues. Hopefully they'll make things easier the
next time there's something to debug.
Part of #677.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-linkspec: Fix an unused lint
See merge request tpo/core/arti!935
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Otherwise:
cargo +stable clippy -p tor-proto --all-features --all-targets
Produces:
warning: unused import: `PtTargetAddr`
--> crates/tor-linkspec/src/traits.rs:9:28
|
9 | use crate::{ChannelMethod, PtTargetAddr, RelayIdRef, RelayIdType, RelayIdTypeIter};
| ^^^^^^^^^^^^
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add test lint blocks to all "mod test"
See merge request tpo/core/arti!937
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is the hunks from running the rune in maint/adhoc-add-lint-blocks
but which require some subsequent manual fixup: usually, deleting
now-superfluous outer allows, but in some cases manually putting back
lints that the adhoc script deleted.
|
| | | | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The previous syntax was recognised by the real script, but not by the
ad-hoc script I'm about to use to add all the missing ones.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rs
Closes #589
See merge request tpo/core/arti!944
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Closes #589
|