| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
removed unnecessary PinBox wrapper
See merge request tpo/core/arti!4172
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-netdoc: ExpandedKeypair for Ed25519NtorCrossCert::new_signed()
See merge request tpo/core/arti!4155
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit changes Ed25519NtorCrossCert::new_signed() to accept an
ExpandedKeypair instead of a Keypair, because when converting the ntor
key using convert_curve25519_to_ed25519_public(), only the
ExpandedKeypair is returned, which is a one-way conversion from Keypair.
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tor-llcrypto: Implement Ed25519PublicKey for ExpandedKeypair
See merge request tpo/core/arti!4154
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ExpandedKeypair already implements Ed25519SigningKey, so there is no
reason to not implement Ed25519PublicKey on it.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Tor CI Release <[email protected]>
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-proto: Handle incoming CREATE2 with ntor (non-v3) handshakes
See merge request tpo/core/arti!4149
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
arti: Fix option name in 'arti-example-config.toml'
See merge request tpo/core/arti!4148
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tor-protover: Fix documentation regarding version `0`
See merge request tpo/core/arti!4151
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
See torspec!519. This is actually not legal and already rejected, the
docs are just wrong.
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
tor-netdoc: Remove document hash from Microdesc struct (and add MicrodescAndHash for that)
See merge request tpo/core/arti!4138
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The Microdesc type having a copy of the document hash was always
weird, and it's weirder now that there's all these parse2 types that
don't have it and parse2 derives on Microdesc that don't touch it.
Make a new type for the descriptor and its hash.
Use deref to arrange that the new type works almost like the old one.
Adjust the use lines in the dependencies to temporarily import
MicrodescAndHash as Microdesc.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Code motion, plus adding a new impl block, to make the next commit
clearer.
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
tor-netdoc: Replace trivial string slice
See merge request tpo/core/arti!4143
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't use this anymore, and it can lead to subtle bugs since we lose
the original channel message command.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Instead of converting the `RelayEarly` message to a `Relay` message, we
add a new `RelayMaybeEarlyChanMsg` restricted message set that can hold
either.
Previously we were passing the wrong channel message command to
`decrypt_outbound()`, which would cause the decryption to fail for relay
crypto algorithms that use the command.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
No functional change, just reformatting.
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit replaces the use of string slices with str::get() in all
document related code.
While this is not a perfect replacement for it, the relevant parts in
the code heavily depend upon the byte offsets returned by the low level
(legacy) parser where changing it would lead to a very big refactoring.
Nonetheless, this approach is better because returning a bug is better
than crashing.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Introduce Intern<T>
Closes #2587
See merge request tpo/core/arti!4130
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Removes a blocking comment and replaces it with a TODO DIRAUTH.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This is no longer required due to Deref
|
| | | | | |
| | | | |
| | | | |
| | | | | |
We can do so now directly.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
If we derive it, we get access to Arc<T>, which is okay.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
If one really wants to circumvent the guarantees ...
|
| | | | | |
| | | | |
| | | | |
| | | | | |
No functional change.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
As a shorthand for T::intern_cache().intern(value).
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Let's leave this untouched for now as it is not urgent right now.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This commit wraps the port policies in an Intern.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This commit wraps the relay family in an Intern instead of an Arc.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Just a boilerplate implementation.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit implements ItemValueParseable and ItemArgumentParseable for
Intern<T> types. This should be sufficient for the time being.
|
| | | | | | |
|
| | | | | | |
|