tor/src/test
David Goulet ae1d4cfdad prop224: Change encryption keys descriptor encoding
A descriptor only contains the curve25519 public key in the enc-key field so
the private key should not be in that data structure. The service data
structures will have access to the full keypair (#20657).

Furthermore, ticket #21871 has highlighted an issue in the proposal 224 about
the encryption key and legacy key being mutually exclusive. This is very wrong
and this commit fixes the code to follow the change to the proposal of that
ticket.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-05-11 08:33:26 -04:00
..
fuzz bug#22143/prop#140: identify input diffs by their digest-as-signed 2017-05-03 13:09:08 -04:00
bench.c Use atomic counters for compressor allocation. 2017-04-25 10:29:07 -04:00
bt_test.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
ed25519_exts_ref.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
ed25519_vectors.inc Add comments to ed25519_vectors.inc 2014-09-25 15:08:32 -04:00
example_extrainfo.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
failing_routerdescs.inc Sign extrainfo documents with ed25519 2015-05-28 10:42:22 -04:00
fakechans.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
fuzz_static_testcases.sh Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_ntor_ref.py prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
hs_test_helpers.c prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
hs_test_helpers.h test: Move duplicate HS test code and unify it 2017-05-09 10:30:37 -04:00
include.am test: Move duplicate HS test code and unify it 2017-05-09 10:30:37 -04:00
log_test_helpers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
log_test_helpers.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
Makefile.nmake Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
ntor_ref.py Run the copyright update script. 2017-03-15 16:13:17 -04:00
rend_test_helpers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
rend_test_helpers.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
slow_ed25519.py Add a reference implementation of our ed25519 modifications 2014-09-25 15:08:32 -04:00
slownacl_curve25519.py Make the python test scripts work on python3 2014-04-27 22:54:24 -04:00
sr_commit_calc_ref.py test: Fix shared random unit test for big endian 2016-08-26 14:46:29 -04:00
sr_srv_calc_ref.py prop250: Add unit tests 2016-07-01 14:01:41 -04:00
test_accounting.c Added AccountRule in and AccountingRule out options 2016-01-08 15:52:10 -08:00
test_addr.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_address.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_bt_cl.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_bt.sh More coverage in backtrace.c 2016-06-20 10:31:36 -04:00
test_buffers.c Merge branch 'compress_none_v2_squashed' 2017-05-02 08:33:35 -04:00
test_cell_formats.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_cell_queue.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_channel.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_channelpadding.c Fix an implicit conversion warning 2017-05-09 07:26:14 -04:00
test_channeltls.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_checkdir.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_circuitbuild.c Capture expected log in test_circuitbuild.c 2017-04-03 15:24:59 -04:00
test_circuitlist.c prop224 tests: Remove useless NULL check before circuit_free(). 2017-04-17 16:36:55 +03:00
test_circuitmux.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_circuituse.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_compat_libevent.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_config.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_connection.c Fix a comment that held the remaining reference to the old api. 2017-04-21 16:39:05 -04:00
test_conscache.c New force-delete option on consensus_cache_delete_pending() 2017-04-27 21:40:13 -04:00
test_consdiff.c Add a test for $ with non-delete commands. 2017-05-04 08:36:50 -04:00
test_consdiffmgr.c Remove some unused digests from test_consdiffmgr.c 2017-05-04 08:36:50 -04:00
test_containers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_controller_events.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_controller.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_crypto_openssl.c Remove openssl/evp.h dependency from test_crypto.c 2017-03-31 10:04:44 -04:00
test_crypto_slow.c Remove some now-needless openssl includes from src/test. 2017-03-31 10:04:44 -04:00
test_crypto.c Test odd-sized base64 decodes 2017-04-07 18:16:45 -04:00
test_data.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_descriptors.inc Move test_descriptors.txt to an include file 2014-07-16 22:37:00 +02:00
test_dir_common.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_common.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_dir_handle_get.c Store the sha3 of a networkstatus as part of the networkstatus_t 2017-05-04 08:37:41 -04:00
test_dir.c Merge branch 'dirreq' 2017-04-27 10:08:32 -04:00
test_dns.c DefecTor countermeasure: change server- and client-side DNS TTL clipping 2017-01-18 08:55:57 -05:00
test_entryconn.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_entrynodes.c Merge remote-tracking branch 'origin/maint-0.3.0' 2017-03-26 12:30:45 +02:00
test_extorport.c Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_guardfraction.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_handles.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_helpers.c Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_helpers.h Clean up mentions of 'zlib' and rename the mentions to 'compressed'. 2017-04-27 15:51:14 +02:00
test_hs_cache.c test: Move duplicate HS test code and unify it 2017-05-09 10:30:37 -04:00
test_hs_descriptor.c prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
test_hs_intropoint.c prop224 tests: Don't use tt_size_op to compare ssize_t. 2017-04-17 16:23:58 +03:00
test_hs_ntor_cl.c prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_ntor.sh prop224: Add Python integration tests for HS ntor. 2017-04-13 09:22:19 -04:00
test_hs_service.c Fix implicit conversion warnings in the period_num tests 2017-04-24 15:38:16 -04:00
test_hs.c control: Fix NULL pointer access in HS desc event 2017-05-03 09:26:17 -04:00
test_introduce.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_keygen.sh Fix windows test_keygen.sh. This time I think I have it! 2015-09-03 15:23:10 -04:00
test_keypin.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_link_handshake.c Move "change cert expiration and re-sign" fn into tortls.c 2017-03-31 10:04:45 -04:00
test_logging.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_microdesc.c Remove some now-needless openssl includes from src/test. 2017-03-31 10:04:44 -04:00
test_nodelist.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_ntor_cl.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_ntor.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test_oom.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_oos.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_options.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
test_policy.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_procmon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_protover.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_pt.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_pubsub.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_relay.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_relaycell.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_rendcache.c Remove some now-needless openssl includes from src/test. 2017-03-31 10:04:44 -04:00
test_replay.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_routerkeys.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_routerlist.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_routerset.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_scheduler.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_shared_random.c Convert remaining files to smartlist_add_strdup 2016-10-27 11:15:57 +01:00
test_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_socks.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_status.c Merge remote-tracking branch 'public/solaris_warnings_028' 2016-09-11 16:52:24 -04:00
test_storagedir.c Unit tests for labelled storagedir entries 2017-04-06 11:48:41 -04:00
test_switch_id.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_switch_id.sh Coverage hack for test_switch_id.sh 2016-06-20 11:15:47 -04:00
test_threads.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_tortls.c Mark many private tortls.h APIs as openssl-only. 2017-03-31 10:04:45 -04:00
test_util_format.c Fix some no-longer-reasonable unit tests for base64_decode() 2017-04-10 12:08:31 -04:00
test_util_process.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_util_slow.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_util.c Merge branch 'compress_none_v2_squashed' 2017-05-02 08:33:35 -04:00
test_workqueue_cancel.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_efd2.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_efd.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_pipe2.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_pipe.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue_socketpair.sh Add several test scripts wrapping test_workqueue 2016-06-08 17:29:06 -04:00
test_workqueue.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test_zero_length_keys.sh Add more quotes in the test scripts 2015-09-24 15:25:53 -04:00
test-child.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test-memwipe.c Use the standard OpenBSD preprocessor definition 2017-02-03 09:37:39 -05:00
test-network.sh Make test-network.sh always call chutney's test-network.sh 2017-03-01 13:28:30 +11:00
test-timers.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
test.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
test.h Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
testing_common.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
testing_rsakeys.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
vote_descriptors.inc Add -Wmissing-variable-declarations, with attendant fixes 2016-06-11 10:11:54 -04:00
zero_length_keys.sh Integrate zero_length_keys test into the automake test suite. 2015-04-23 09:56:12 -04:00