summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose --flood and --dl switches on client-demoNick Mathewson2020-10-091-4/+22
| | | | These are for testing sendmes.
* Add routerdesc examplesNick Mathewson2020-10-077-0/+343
|
* netdoc: more tests for routerdesc parsingNick Mathewson2020-10-072-5/+107
|
* A few more tests in tor-netdocNick Mathewson2020-10-072-3/+90
|
* netdoc: test for signature/key checking funcNick Mathewson2020-10-071-0/+11
|
* mdconsensus: add tests for a few accessorsNick Mathewson2020-10-061-3/+26
|
* tests for some failing cases in mdconsensusNick Mathewson2020-10-0612-7/+781
|
* Tokenize: report accurate positions for more parsing errorsNick Mathewson2020-10-021-2/+18
|
* microdesc parsing: tests for bad microdescsNick Mathewson2020-10-023-0/+66
|
* tests and fixes for md content parsingNick Mathewson2020-10-022-11/+46
|
* Make rsa::PublicKey derive Debug.Nick Mathewson2020-10-021-1/+1
|
* Remove an unwrap() from tor-cert.Nick Mathewson2020-10-021-6/+6
|
* Use batch verification in client<->relay handshake.Nick Mathewson2020-10-022-7/+20
|
* Enable batch ed25519 verification.Nick Mathewson2020-10-024-3/+62
|
* netdoc: remove some outdated/unused stuff.Nick Mathewson2020-10-022-12/+6
|
* authcert: test error recovery.Nick Mathewson2020-10-021-10/+36
|
* Netdoc: use a more bulletproof pattern to prevent infinite loopsNick Mathewson2020-10-025-15/+84
| | | | | | | | | | | | | | | | Previously our "read a bunch of this kind of document" functions had a common problem, where they could get into an infinite loop if the underlying "read this kind of document" function failed without consuming any tokens. I _think_ that this error case was unreachable (or else fuzzing would have found it, right?), but proving that it was unreachable was a bit fiddly, and I couldn't follow my own arguments about it. Instead, we just store the position of the reader before we start reading, and make sure that it has consumed at least some data. If it hasn't, then we consume and drop a token before advancing to the next document.
* authcert: add tests for several ways certs can fail.Nick Mathewson2020-10-026-1/+263
|
* authcert: fix an error, and detect mismatched fingerprintsNick Mathewson2020-10-021-4/+14
|
* netdoc: rename BadVersion to BadTorVersion for clarityNick Mathewson2020-10-012-7/+7
|
* improve errors in authcert.rsNick Mathewson2020-10-012-12/+30
|
* Remove redundant signature check in authcert parsing.Nick Mathewson2020-09-301-4/+0
|
* More tests on parsing, plus remove dead code.Nick Mathewson2020-09-302-20/+56
|
* Start on some parser backend testsNick Mathewson2020-09-301-0/+77
|
* tokenize: accept base64 with funny linewraps.Nick Mathewson2020-09-301-3/+3
|
* README editsNick Mathewson2020-09-301-10/+19
|
* More tests for tokenize.rs, with some bugfixesNick Mathewson2020-09-302-47/+192
|
* Start on some tests for parse::tokenize.rsNick Mathewson2020-09-294-4/+60
|
* Add tests for macros module in tor-netdoc.Nick Mathewson2020-09-291-4/+57
| | | | Also improve output for multi-keyword tokens.
* cargo upgradeNick Mathewson2020-09-292-3/+3
|
* Throw a rudimentary CLI onto client-demo.Nick Mathewson2020-09-292-14/+37
|
* Tests and minor debugging in tor_netdoc::types::policyNick Mathewson2020-09-294-23/+250
|
* More tests for tor_netdoc::typesNick Mathewson2020-09-294-4/+264
|
* Move around the modules inside tor-netdoc.Nick Mathewson2020-09-2926-350/+353
| | | | | This change just gives them a more logical breakdown into parsing, documents, and misc other types.
* Move RelayCell into a more reasonable place.Nick Mathewson2020-09-296-116/+118
|
* Remove idmap as needlessly complex.Nick Mathewson2020-09-294-52/+39
|
* make it work on rust 1.45Nick Mathewson2020-09-281-1/+1
|
* test vectors for cell crypto.Nick Mathewson2020-09-283-3/+61
|
* Mark most of the cell crypto code as crate-local.Nick Mathewson2020-09-281-7/+7
|
* Add a round-trip test for cell encryption.Nick Mathewson2020-09-281-0/+74
|
* tor-cert: comment out cert-generation codeNick Mathewson2020-09-281-25/+37
| | | | This won't be used until we have onion service or relay support.
* Rename remaining get_ accessorsNick Mathewson2020-09-2822-209/+196
|
* tor_cert: rename accessorsNick Mathewson2020-09-287-28/+28
|
* Tests for CircTarget::linkspecs()Nick Mathewson2020-09-281-0/+89
|
* Rename some identifiers in tor-linkspec.Nick Mathewson2020-09-286-33/+33
| | | | By convention, rust accessor functions don't start with 'get'.
* Rename ExtendTarget to CircTarget.Nick Mathewson2020-09-284-6/+6
|
* Rewrite the TODO file.Nick Mathewson2020-09-281-67/+49
|
* Tests for tor-certNick Mathewson2020-09-282-0/+101
|
* A few more unit tests for tor-cellNick Mathewson2020-09-281-0/+26
|
* Fix a few clippy issuesNick Mathewson2020-09-274-9/+8
|