| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add version="0.0.0" to dependencies that were missing it | Nick Mathewson | 2021-06-24 | 1 | -7/+7 |
| | | |||||
| * | Remove "publish = false" | Nick Mathewson | 2021-06-24 | 1 | -1/+0 |
| | | |||||
| * | A few tests for circparameters generation. | Nick Mathewson | 2021-06-19 | 1 | -7/+19 |
| | | |||||
| * | Misc tests in tor-proto. | Nick Mathewson | 2021-06-19 | 4 | -11/+63 |
| | | |||||
| * | Fix some warnings about needless & from nightly clippy | Nick Mathewson | 2021-06-18 | 1 | -3/+3 |
| | | |||||
| * | Try to fix a nightly rustdoc warning | Nick Mathewson | 2021-06-17 | 1 | -1/+1 |
| | | |||||
| * | Use FuturesUnordered, not SelectAll<Once<...>> | Nick Mathewson | 2021-06-14 | 2 | -12/+11 |
| | | | | | Closes #124 | ||||
| * | Implement Debug for ClientCirc and Channel. | Nick Mathewson | 2021-06-14 | 2 | -0/+20 |
| | | |||||
| * | Make a few error types implement Clone | Nick Mathewson | 2021-06-14 | 1 | -3/+13 |
| | | | | | | | | To make this work we have to wrap std::io::Error in an Arc. The benefit of having these errors implement Clone is that we can provide the same Error in response to multiple requests when they are all waiting on the same operation. | ||||
| * | Add a warning comment about truncate-and-reextend. | Nick Mathewson | 2021-05-28 | 1 | -0/+5 |
| | | |||||
| * | tor-proto: change internal meta-handler API for error-proofing | Nick Mathewson | 2021-05-28 | 2 | -67/+108 |
| | | | | | | | | The previous API required the caller to check that the meta-cell it got was coming from the right hop; the new API requires the caller to say which hop it expects to get a cell from. With this change, it's not possible to omit the correct-hop check. | ||||
| * | Add noop_method_call warning. | Nick Mathewson | 2021-05-27 | 1 | -0/+1 |
| | | | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone. | ||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 6 | -8/+8 |
| | | |||||
| * | Update hs_ntor code. | Nick Mathewson | 2021-05-25 | 1 | -4/+6 |
| | | | | | | Work with the latest version of the crypto crate, and suppress the unreachable_pub warning. | ||||
| * | Enable cargo_common_metadata warning. | Nick Mathewson | 2021-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add automatically generated README.md files to each crate. | Nick Mathewson | 2021-05-25 | 1 | -0/+90 |
| | | |||||
| * | Add a link tto the tor website to arti blurb. | Nick Mathewson | 2021-05-24 | 1 | -1/+2 |
| | | |||||
| * | Add tor-proto docs and tweak docs+apis elsewhere. | Nick Mathewson | 2021-05-21 | 2 | -9/+43 |
| | | |||||
| * | Give every Cargo.toml a repository field | Nick Mathewson | 2021-05-19 | 1 | -0/+1 |
| | | |||||
| * | Add the "unreachable_pub" lint. | Nick Mathewson | 2021-05-18 | 17 | -88/+93 |
| | | | | | | | 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. | ||||
| * | Check "connection" usage for when stream or channel would be better. | Nick Mathewson | 2021-05-18 | 2 | -5/+5 |
| | | |||||
| * | Prefer "relay" over "node" in most circumstances. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | |||||
| * | Prefer "relay" over "router" in docs and APIs. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | |||||
| * | Prefer "relay" to "server" when appropriate. | Nick Mathewson | 2021-05-18 | 3 | -12/+12 |
| | | |||||
| * | Resolve clippy warnings from Rust 1.52. | Nick Mathewson | 2021-05-07 | 2 | -2/+2 |
| | | | | | | | | | | | 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 Mathewson | 2021-05-06 | 3 | -12/+14 |
| | | |||||
| * | Fix documentation warnings. | Nick Mathewson | 2021-05-05 | 1 | -1/+3 |
| | | |||||
| * | Add trait_duplication_in_bounds warning. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 |
| | | |||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 9 | -11/+12 |
| | | |||||
| * | Add a few more clippy warnings | Nick Mathewson | 2021-05-03 | 1 | -0/+5 |
| | | |||||
| * | Make `now` an argument when verifying a channel. | Nick Mathewson | 2021-04-30 | 1 | -4/+7 |
| | | | | | | It turns out that we want to take `now` from the Runtime, to make higher level code testable. | ||||
| * | note a small divergence in circuit id probing behavior. | Nick Mathewson | 2021-04-29 | 1 | -0/+2 |
| | | |||||
| * | Remove pin_project usage in tor-proto. | Nick Mathewson | 2021-04-28 | 3 | -54/+45 |
| | | | | | Turns out we didn't need it. | ||||
| * | Add some more clippy warnings to our list. | Nick Mathewson | 2021-04-27 | 1 | -2/+7 |
| | | |||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 1 | -0/+3 |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | ||||
| * | cargo fix --edition-idioms | Nick Mathewson | 2021-04-26 | 1 | -7/+7 |
| | | |||||
| * | upgrade httparse and zeroize | Nick Mathewson | 2021-04-25 | 1 | -1/+1 |
| | | |||||
| * | Refactor and simplify ChanMgr to use AbstractChanMgr. | Nick Mathewson | 2021-04-23 | 1 | -0/+5 |
| | | |||||
| * | Upgrade rsa, zstd, httpdate. Remove redundant pin-project. | Nick Mathewson | 2021-04-05 | 1 | -1/+0 |
| | | |||||
| * | Merge branch 'hs3_ntor_squashed' | Nick Mathewson | 2021-04-02 | 3 | -0/+533 |
| |\ | |||||
| | * | hs_ntor: add a disclaimer and put it behind a feature. | Nick Mathewson | 2021-04-02 | 3 | -0/+12 |
| | | | |||||
| | * | First draft of HS Ntor implementation. | George Kadianakis | 2021-04-02 | 2 | -0/+521 |
| | | | |||||
| * | | Fix a rust 1.51 warning: remove a semicolon | Nick Mathewson | 2021-04-02 | 1 | -1/+1 |
| |/ | |||||
| * | Resolve rustdoc warnings. | Nick Mathewson | 2021-03-29 | 1 | -1/+1 |
| | | |||||
| * | Fix a bunch more new clippy lints in Rust 1.51 | Nick Mathewson | 2021-03-29 | 2 | -2/+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 Mathewson | 2021-03-29 | 9 | -60/+60 |
| | | | | | This is painful, but we shouldn't have to do it again. | ||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 4 | -20/+20 |
| | | |||||
| * | Check for channel match in create_firsthop_ntor(). | Nick Mathewson | 2021-03-24 | 2 | -6/+21 |
| | | | | | | | This way we won't even try sending the CREATE2 cell unless the Ed25519 identity we know for the channel matches the provided CircTarget. | ||||
| * | Add a "this crate has no timeouts" comment to tor-proto. | Nick Mathewson | 2021-03-24 | 1 | -3/+6 |
| | | |||||
| * | Move stream timeout logic into tor-client. | Nick Mathewson | 2021-03-24 | 3 | -159/+134 |
| | | | | | | | | | | | This is consistent with the other pieces of tor-proto, which do not handle timeouts on their own. It also lets us remove tor-rtcompat as a dependency from tor-proto, and simplify some of the test cases to use async_test. This commit unindents a lot of test code; use git's "-b" flag to read the parts that matter. | ||||
