| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix some errors; document some places where error handling is bogus | Nick Mathewson | 2020-09-21 | 5 | -8/+37 | |
| | | ||||||
| * | More documentation for channel, circuit, stream. | Nick Mathewson | 2020-09-21 | 8 | -92/+372 | |
| | | ||||||
| * | Start implementing streams and circuit-level reactors. | Nick Mathewson | 2020-09-21 | 14 | -202/+601 | |
| | | | | | | | Also, revise nearly all of the circuit/channel interaction to actually send relay cells to the right place and do sensible things with them. | |||||
| * | Add RelayCmd::accepts_streamid_val | Nick Mathewson | 2020-09-20 | 1 | -0/+49 | |
| | | ||||||
| * | Refactor accetps_circid_val to be less wonky. | Nick Mathewson | 2020-09-20 | 1 | -9/+17 | |
| | | ||||||
| * | Move is_recognized function into caret. | Nick Mathewson | 2020-09-20 | 3 | -23/+7 | |
| | | ||||||
| * | Rename StreamCmd to RelayCmd | Nick Mathewson | 2020-09-20 | 3 | -41/+40 | |
| | | ||||||
| * | Improve shutdown support for channel. No idea if it works. | Nick Mathewson | 2020-09-20 | 1 | -14/+7 | |
| | | ||||||
| * | rename a field in RelayCell | Nick Mathewson | 2020-09-20 | 1 | -12/+9 | |
| | | ||||||
| * | Create a StreamID->Stream map type. | Nick Mathewson | 2020-09-20 | 7 | -42/+139 | |
| | | | | | | Also extract the shared part of CircMap and StreamMap into a new IdMap type. | |||||
| * | De-parameterize channel and circuit | Nick Mathewson | 2020-09-19 | 5 | -41/+30 | |
| | | | | | | | By putting the cell-sink in a box, we can get rid of the need for having everything that uses a channel or a circuit know what kind of underlying TLS implementation it has. | |||||
| * | Add tests for CREATE_FAST handshake | Nick Mathewson | 2020-09-19 | 4 | -26/+100 | |
| | | ||||||
| * | Add tests for failing ntor handshakes. | Nick Mathewson | 2020-09-19 | 1 | -1/+51 | |
| | | ||||||
| * | ntor: test the ClientHandshake/ServerHandshake impl | Nick Mathewson | 2020-09-18 | 1 | -3/+4 | |
| | | ||||||
| * | tests for kdf functions in tor_proto | Nick Mathewson | 2020-09-18 | 1 | -0/+127 | |
| | | ||||||
| * | Add tests for tor_proto::util::ct | Nick Mathewson | 2020-09-18 | 1 | -0/+31 | |
| | | ||||||
| * | Give up on suppressing that nightly-only clippy warning | Nick Mathewson | 2020-09-18 | 2 | -27/+21 | |
| | | ||||||
| * | Make consensus documents valid DistDelay seconds earlier. | Nick Mathewson | 2020-09-18 | 1 | -1/+4 | |
| | | | | | | This will prevent arti from hitting the same issue as https://gitlab.torproject.org/tpo/core/tor/-/issues/25756 | |||||
| * | Resolve some nightly-only clippy warnings | Nick Mathewson | 2020-09-17 | 3 | -1/+5 | |
| | | ||||||
| * | Fix a panic bug in microdesc parsing. | Nick Mathewson | 2020-09-17 | 2 | -1/+4 | |
| | | | | | | | | | Found by fuzzing! The issue was that we were relying on the arguments slice being within the input string, but we were sometimes using a different _empty_ slice when there were no arguments. I've noted a better solution in a comment. | |||||
| * | Add fuzzers for certs, netdoc, and proto. | Nick Mathewson | 2020-09-17 | 16 | -1/+216 | |
| | | | | | This was remarkably simple. | |||||
| * | Sort linkspecs in the same order as tor does | Nick Mathewson | 2020-09-17 | 4 | -4/+27 | |
| | | ||||||
| * | use more correct expiration times | Nick Mathewson | 2020-09-17 | 1 | -3/+2 | |
| | | ||||||
| * | More tests for tor_bytes::impl | Nick Mathewson | 2020-09-15 | 1 | -1/+25 | |
| | | ||||||
| * | tor_bytes: Remove an extraneous println | Nick Mathewson | 2020-09-15 | 1 | -4/+2 | |
| | | ||||||
| * | bytes: add tests for impl.rs | Nick Mathewson | 2020-09-15 | 1 | -0/+113 | |
| | | ||||||
| * | bytes: add tests for Writer trait | Nick Mathewson | 2020-09-14 | 2 | -0/+56 | |
| | | ||||||
| * | bytes: more test for Reader. | Nick Mathewson | 2020-09-14 | 1 | -4/+86 | |
| | | ||||||
| * | Add test for failing RSA identity construction | Nick Mathewson | 2020-09-13 | 1 | -0/+7 | |
| | | ||||||
| * | Add some test vectors for rsa, taken from chutney | Nick Mathewson | 2020-09-13 | 2 | -0/+78 | |
| | | ||||||
| * | Now that the rsa crate has pkcs1 decoding, use it. | Nick Mathewson | 2020-09-13 | 1 | -40/+7 | |
| | | | | | | | Also, instead of implementing an otherwise-derivable Hash for rsa public keys, tell clippy not to worry that we're defining partialeq but not hash. | |||||
| * | update wishlist: the rsa crate now supports oaep | Nick Mathewson | 2020-09-13 | 2 | -4/+2 | |
| | | ||||||
| * | stop exposing rsa::errors::Result. | Nick Mathewson | 2020-09-13 | 1 | -7/+4 | |
| | | ||||||
| * | Add unit test for ValidatableEd25519Signature | Nick Mathewson | 2020-09-13 | 1 | -0/+28 | |
| | | ||||||
| * | caret tests: Test debug output for caret_enum | Nick Mathewson | 2020-09-13 | 1 | -0/+1 | |
| | | ||||||
| * | Add test vectors for curve25519->ed25519 parts of llcrypto | Nick Mathewson | 2020-09-13 | 2 | -1/+53 | |
| | | | | | | | Also add a terminating NUL byte to a derivation string, to ensure that our results match Tor's results. (This does not actually serve a purpose FWICT.) | |||||
| * | llcrypto: Fix a bug in ed25519->curve25519 secret key conversion | Nick Mathewson | 2020-09-13 | 2 | -4/+31 | |
| | | | | | | | | We were taking the sign bit from the _secret_ key, which is totally incorrect. Instead it needs to be taken from the _public_ key. Additionally, add a unit test for ed25519->curve25519 code. | |||||
| * | llcrypto: tests for rsa kludge | Nick Mathewson | 2020-09-13 | 4 | -0/+31 | |
| | | ||||||
| * | More tests for caret_int. | Nick Mathewson | 2020-09-13 | 1 | -0/+45 | |
| | | ||||||
| * | yet more readme updtes | Nick Mathewson | 2020-09-13 | 1 | -2/+7 | |
| | | ||||||
| * | Add documentation for tor-netdir crate | Nick Mathewson | 2020-09-13 | 3 | -37/+140 | |
| | | ||||||
| * | more readme tweaks | Nick Mathewson | 2020-09-12 | 1 | -4/+3 | |
| | | ||||||
| * | Explain the demo in the readme. | Nick Mathewson | 2020-09-12 | 1 | -0/+7 | |
| | | ||||||
| * | Make client-demo launch a request to www.torproject.org:80 | Nick Mathewson | 2020-09-12 | 5 | -7/+75 | |
| | | ||||||
| * | Implement extend2/extended2 handshake. | Nick Mathewson | 2020-09-12 | 4 | -7/+58 | |
| | | | | | | | | This is not a production-ready implementation: it will break if a circuit is used for anything while an extend is pending. Client-demo can now build 3-hop circuits. | |||||
| * | Make more types implement Debug. | Nick Mathewson | 2020-09-12 | 2 | -0/+18 | |
| | | ||||||
| * | tor_bytes::Reader: fix a bug in truncate. | Nick Mathewson | 2020-09-12 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a bug in encoding extend2 cells. | Nick Mathewson | 2020-09-12 | 1 | -0/+2 | |
| | | ||||||
| * | WIP: extend. | Nick Mathewson | 2020-09-12 | 4 | -17/+166 | |
| | | ||||||
| * | Simple functions to send and receive relay cells. | Nick Mathewson | 2020-09-12 | 5 | -3/+77 | |
| | | ||||||
