Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-03 | Make the current time an argument to x509 cert-checking functions | Nick Mathewson | |
This makes the code a bit cleaner by having more of the functions be pure functions that don't depend on the current time. | |||
2016-11-03 | Add function to check RSA->Ed cross-certifications | Nick Mathewson | |
Also, adjust signing approach to more closely match the signing scheme in the proposal. (The format doesn't quite match the format in the proposal, since RSA signatures aren't fixed-length.) Closes 19020. | |||
2016-11-03 | Refactor RSA certificate checking into its own function. | Nick Mathewson | |
2016-11-03 | Free rsa_ed_crosscert at exit. | Nick Mathewson | |
Fixes bug 17779; bugfix on 0.2.7.2-alpha. | |||
2016-11-03 | Migrate certificates into a sub-structure of or_handshake_state | Nick Mathewson | |
This will help us do cert-checking in the background in the future, perhaps. | |||
2016-11-03 | Refactor ...compute_authenticate_cell_body() to return a var_cell_t. | Nick Mathewson | |
This means we don't need to precompute the length. Helps simplify the implementation of 19156. | |||
2016-11-03 | Code to send correct authentication data when we are using AUTHTYPE>2 | Nick Mathewson | |
Implements the major part of 19156, except doesn't actually send the new cell type yet. | |||
2016-11-03 | New authentication types to use RFC5705. | Nick Mathewson | |
See proposal 244. This feature lets us stop looking at the internals of SSL objects, *and* should let us port better to more SSL libraries, if they have RFC5705 support. Preparatory for #19156 | |||
2016-11-03 | Send ed25519 certificates in certs cell, when we have them. | Nick Mathewson | |
Implements 19155 (send CERTS cells correctly for Ed25519) Also send RSA->Ed crosscert | |||
2016-11-03 | Refactor connection_or_send_certs_cell() to use trunnel | Nick Mathewson | |
We no longer generate certs cells by pasting the certs together one by one. Instead we use trunnel to generate them. Preliminary work for 19155 (send CERTS cell with ed certs) | |||
2016-11-03 | When parsing certs cells, allow more certs types | Nick Mathewson | |
Implements the parsing part of #19157 | |||
2016-09-09 | make check-spaces | Nick Mathewson | |
2016-09-09 | Fix a coupole of coverity complaints. | Nick Mathewson | |
2016-09-09 | Fix cases where the tests were doing closesocket() on a non-socket | Nick Mathewson | |
These seem to have caused warnings on windows. Hmmm. | |||
2016-09-09 | Oh dear, I was missing an extern. | Nick Mathewson | |
2016-09-09 | Make a couple more tests run faster. | Nick Mathewson | |
The point of diminishing returns has been reached. | |||
2016-09-09 | Disable a single pbkdf2 test vector | Nick Mathewson | |
The other test vectors are pretty complete, and get full coverage, I believe. This one test vector accounted for half the time spent in test-slow. "Now that's slow!" | |||
2016-09-09 | Chop another ~93 RSA key generations out of the unit tests | Nick Mathewson | |
We have a mock for our RSA key generation function, so we now wire it to pk_generate(). This covers all the cases that were not using pk_generate() before -- all ~93 of them. | |||
2016-09-09 | Move the donna-fuzzing tests into test_slow. | Nick Mathewson | |
This shaves another 3-4 seconds off the main-path tests for me, which is again worth it, according to XKCD#1204. | |||
2016-09-09 | Re-enable RSA cacheing in tests, with a better design. | Nick Mathewson | |
This makes tests faster and saves about 6 seconds for me, which makes it worth it, according to https://xkcd.com/1205. | |||
2016-09-08 | Reinstate a couple of teardown_capture_of_logs that I missed | Nick Mathewson | |
Patch from rubiate. See #19999 | |||
2016-09-08 | Placate "make check-spaces" | Nick Mathewson | |
2016-09-08 | Fix remaining test warnings. (in test_relay.c) | Nick Mathewson | |
2016-09-08 | Fix typo error in bug warning in relay.c | Nick Mathewson | |
2016-09-08 | capture and detect expected BUG messages in shared-random tests | Nick Mathewson | |
2016-09-08 | Simplify log_test_helpers interface | Nick Mathewson | |
Previously, you needed to store the previous log severity in a local variable, and it wasn't clear if you were allowed to call these functions more than once. | |||
2016-09-08 | Resolve more BUG warnings in the unit tests | Nick Mathewson | |
2016-09-08 | Fix bug warnings in test_circuitlist. | Nick Mathewson | |
2016-09-08 | Treat all nonfatal assertion failures as unit test failures. | Nick Mathewson | |
Part of 19999. | |||
2016-09-08 | Tolerate another failure mode of get_if_addres6_list in tests | Nick Mathewson | |
2016-09-08 | more consistent use of expect_log_msg_containing | Nick Mathewson | |
2016-09-08 | Suppress a really impressive pile of warnings in conection/.. tests | Nick Mathewson | |
2016-09-08 | Fix a bug in connection/download_status.. tests | Nick Mathewson | |
2016-09-08 | Revise log-testing macros to dump the actual log contents on failure | Nick Mathewson | |
2016-09-08 | Remove redundant definitions of expect_{no_,}log_msg() | Nick Mathewson | |
2016-09-08 | Unit test fix: windows should be able to handle DNSPort just fine. | Nick Mathewson | |
2016-09-08 | Patch from rubiate: disable openbsd memory protections in test-memwipe | Nick Mathewson | |
Test-memwipe is *supposed* to invoke undefined behavior, alas. Closes 20066. | |||
2016-09-07 | set the "addr" field in the dir_handle_get tests, to resolve bug warnings. | Nick Mathewson | |
2016-09-07 | Remove the useless (and uninitialized) MOCK_TOR_ADDR in test_dir_handle_get.c | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2016-09-07 | Capture and enforce BUG warnings in dir/param_voting_lookup | Nick Mathewson | |
2016-09-07 | Fix unit test failure introduced by #20002 | Nick Mathewson | |
Updating the consensus algorithm made a non-valid node never get listed, which messed up some other tests. | |||
2016-09-07 | Capture and enforce bug warnings in util/time test | Nick Mathewson | |
2016-09-07 | Merge remote-tracking branch 'dgoulet/ticket18693_029_01' | Nick Mathewson | |
2016-09-07 | Merge remote-tracking branch 'sebastian/bug20064' | Nick Mathewson | |
2016-09-07 | Update geoip and geoip6 to the September 6 2016 database. | Karsten Loesing | |