summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* De-parameterize channel and circuitNick Mathewson2020-09-195-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 handshakeNick Mathewson2020-09-194-26/+100
|
* Add tests for failing ntor handshakes.Nick Mathewson2020-09-191-1/+51
|
* ntor: test the ClientHandshake/ServerHandshake implNick Mathewson2020-09-181-3/+4
|
* tests for kdf functions in tor_protoNick Mathewson2020-09-181-0/+127
|
* Add tests for tor_proto::util::ctNick Mathewson2020-09-181-0/+31
|
* Give up on suppressing that nightly-only clippy warningNick Mathewson2020-09-182-27/+21
|
* Make consensus documents valid DistDelay seconds earlier.Nick Mathewson2020-09-181-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 warningsNick Mathewson2020-09-173-1/+5
|
* Fix a panic bug in microdesc parsing.Nick Mathewson2020-09-172-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 Mathewson2020-09-1716-1/+216
| | | | This was remarkably simple.
* Sort linkspecs in the same order as tor doesNick Mathewson2020-09-174-4/+27
|
* use more correct expiration timesNick Mathewson2020-09-171-3/+2
|
* More tests for tor_bytes::implNick Mathewson2020-09-151-1/+25
|
* tor_bytes: Remove an extraneous printlnNick Mathewson2020-09-151-4/+2
|
* bytes: add tests for impl.rsNick Mathewson2020-09-151-0/+113
|
* bytes: add tests for Writer traitNick Mathewson2020-09-142-0/+56
|
* bytes: more test for Reader.Nick Mathewson2020-09-141-4/+86
|
* Add test for failing RSA identity constructionNick Mathewson2020-09-131-0/+7
|
* Add some test vectors for rsa, taken from chutneyNick Mathewson2020-09-132-0/+78
|
* Now that the rsa crate has pkcs1 decoding, use it.Nick Mathewson2020-09-131-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 oaepNick Mathewson2020-09-132-4/+2
|
* stop exposing rsa::errors::Result.Nick Mathewson2020-09-131-7/+4
|
* Add unit test for ValidatableEd25519SignatureNick Mathewson2020-09-131-0/+28
|
* caret tests: Test debug output for caret_enumNick Mathewson2020-09-131-0/+1
|
* Add test vectors for curve25519->ed25519 parts of llcryptoNick Mathewson2020-09-132-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 conversionNick Mathewson2020-09-132-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 kludgeNick Mathewson2020-09-134-0/+31
|
* More tests for caret_int.Nick Mathewson2020-09-131-0/+45
|
* yet more readme updtesNick Mathewson2020-09-131-2/+7
|
* Add documentation for tor-netdir crateNick Mathewson2020-09-133-37/+140
|
* more readme tweaksNick Mathewson2020-09-121-4/+3
|
* Explain the demo in the readme.Nick Mathewson2020-09-121-0/+7
|
* Make client-demo launch a request to www.torproject.org:80Nick Mathewson2020-09-125-7/+75
|
* Implement extend2/extended2 handshake.Nick Mathewson2020-09-124-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 Mathewson2020-09-122-0/+18
|
* tor_bytes::Reader: fix a bug in truncate.Nick Mathewson2020-09-121-1/+1
|
* Fix a bug in encoding extend2 cells.Nick Mathewson2020-09-121-0/+2
|
* WIP: extend.Nick Mathewson2020-09-124-17/+166
|
* Simple functions to send and receive relay cells.Nick Mathewson2020-09-125-3/+77
|
* Add a function to pad relay cells.Nick Mathewson2020-09-121-0/+28
|
* Refactoring around our 509-byte array type.Nick Mathewson2020-09-126-43/+66
|
* more todo editsNick Mathewson2020-09-121-3/+5
|
* Revise TODO; add some milestones.Nick Mathewson2020-09-121-37/+65
|
* Ntor handshake (first hop) is go.Nick Mathewson2020-09-114-2/+61
|
* Wrap ntor handshake in appropriate trait.Nick Mathewson2020-09-111-10/+39
|
* Parameterize the circuit create code.Nick Mathewson2020-09-111-20/+45
|
* Make create_fast implementation a little more generic.Nick Mathewson2020-09-112-20/+31
|
* For circuits: Implement first hop create via create_fast.Nick Mathewson2020-09-119-29/+201
|
* proto: add minimal (raw) circuit support.Nick Mathewson2020-09-117-18/+141
| | | | | This is about enough to make a circuit, send a create_fast cell, and get a created_fast cell back.