summaryrefslogtreecommitdiff
path: root/tor-proto/src/crypto/handshake
Commit message (Collapse)AuthorAgeFilesLines
* Use the "typos" tool to fix some spellingNick Mathewson2021-05-261-1/+1
|
* Update hs_ntor code.Nick Mathewson2021-05-251-4/+6
| | | | | Work with the latest version of the crypto crate, and suppress the unreachable_pub warning.
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-182-15/+15
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* Resolve clippy warnings from Rust 1.52.Nick Mathewson2021-05-071-1/+1
| | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them.
* Upgrade to latest RustCrypto crates.Nick Mathewson2021-05-061-2/+4
|
* Fix documentation warnings.Nick Mathewson2021-05-051-1/+3
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-032-4/+4
|
* hs_ntor: add a disclaimer and put it behind a feature.Nick Mathewson2021-04-021-0/+7
|
* First draft of HS Ntor implementation.George Kadianakis2021-04-021-0/+520
|
* Fix a bunch more new clippy lints in Rust 1.51Nick Mathewson2021-03-291-1/+1
| | | | | | | | The major types are: * You implemented Into when you should have implemented From. * You sliced a slice when you didn't have to. * You said Ok(x?) when you could have said x. * You said Vec::new(); push(); push(); when you could have said vec![].
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-292-20/+20
| | | | This is painful, but we shouldn't have to do it again.
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-291-8/+8
|
* Add a compatibility layer so we can upgrade rand_core.Nick Mathewson2021-03-181-5/+6
| | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible.
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-271-0/+8
|
* Document all private members in tor-protoNick Mathewson2020-10-131-0/+17
|
* Add tests for CREATE_FAST handshakeNick Mathewson2020-09-192-26/+70
|
* Add tests for failing ntor handshakes.Nick Mathewson2020-09-191-1/+51
|
* ntor: test the ClientHandshake/ServerHandshake implNick Mathewson2020-09-181-3/+4
|
* Ntor handshake (first hop) is go.Nick Mathewson2020-09-111-2/+2
|
* Wrap ntor handshake in appropriate trait.Nick Mathewson2020-09-111-10/+39
|
* For circuits: Implement first hop create via create_fast.Nick Mathewson2020-09-111-0/+85
|
* Pare down and sort dependenciesNick Mathewson2020-09-091-1/+2
|
* update to use latest rust-crypto traits and modulesNick Mathewson2020-06-101-7/+7
|
* tor-proto: Simplify ct::lookup API.Nick Mathewson2020-05-101-2/+2
|
* Document most of tor-protoNick Mathewson2020-05-091-1/+30
| | | | (except for the worst parts that need refactoring the most)
* make id field in RSAIdentity privateNick Mathewson2020-05-081-2/+2
|
* Fresh git repository for work on "arti"Nick Mathewson2020-05-071-0/+325
Arti is a rust tor implementation. It's project I've been working on for a few months now, in weekends and in spare time. It doesn't speak the tor protocol yet, and it doesn't connect to the network at all. It needs much more documentation and testing, but I'm just about ready to show it to others. See the README.md for a description of what is there and what isn't.