tor/src/or
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
..
addressmap.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
addressmap.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
bridges.c Make launch_direct_bridge_descriptor_fetch use dirreqs. 2017-04-21 14:47:14 -04:00
bridges.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
buffers.c Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
buffers.h Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
channel.c Fix a warning about an extraneous semicolon 2017-05-09 07:25:34 -04:00
channel.h Fix some clang-i386 warnings in master. 2017-05-08 15:34:37 -04:00
channelpadding.c Fix a warning about a shadowed global 2017-05-09 07:25:52 -04:00
channelpadding.h Fix issues from dgoulet's code review. 2017-05-08 13:49:23 -04:00
channeltls.c whitespace fixes 2017-05-08 13:57:08 -04:00
channeltls.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circpathbias.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circpathbias.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitbuild.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
circuitbuild.h Add tests for new_route_len() 2017-04-03 11:58:11 -04:00
circuitlist.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
circuitlist.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux_ewma.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitmux_ewma.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitstats.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuitstats.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
circuituse.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
circuituse.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
command.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
command.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
config.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
config.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
confparse.c Delete useless checks in confparse.c 2017-05-02 16:12:30 -04:00
confparse.h Move config_line_t functions from confparse.c into common. 2017-04-04 11:11:01 -04:00
connection.c Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
connection.h Rename write_to_buf_zlib() to write_to_buf_compress(). 2017-04-18 01:23:39 +02:00
connection_edge.c Replace remaining directory_initiate_command_* instances 2017-04-21 15:08:28 -04:00
connection_edge.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
connection_or.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
connection_or.h Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
conscache.c Functionality to ensure there is space to add files to cache. 2017-04-27 21:40:13 -04:00
conscache.h Functionality to ensure there is space to add files to cache. 2017-04-27 21:40:13 -04:00
consdiff.c Request (and try to use) consensus diffs. 2017-05-04 08:37:41 -04:00
consdiff.h Request (and try to use) consensus diffs. 2017-05-04 08:37:41 -04:00
consdiffmgr.c Do not BUG on missing sha3-as-signed field 2017-05-04 08:50:21 -04:00
consdiffmgr.h Merge branches 'consdiffmgr_orig_squashed' and 'actually_compute_diffs_squashed' 2017-04-27 21:43:06 -04:00
control.c control: Fix NULL pointer access in HS desc event 2017-05-03 09:26:17 -04:00
control.h Add regression test for #22304 2017-04-24 09:20:59 -04:00
cpuworker.c Make cpuworker_queue_work function mockable. 2017-04-24 10:59:25 -04:00
cpuworker.h Make cpuworker_queue_work function mockable. 2017-04-24 10:59:25 -04:00
dircollate.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dircollate.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
directory.c Fix memory leak found in CID #1405876. 2017-05-05 11:35:12 +02:00
directory.h New function to add additional headers to a directory request 2017-05-04 08:37:41 -04:00
dirserv.c Update the consdiff directory code based on #22143 fixes 2017-05-04 08:49:02 -04:00
dirserv.h Store the sha3 of a networkstatus as part of the networkstatus_t 2017-05-04 08:37:41 -04:00
dirvote.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dirvote.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dns.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dns.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dns_structs.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
dnsserv.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
dnsserv.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
entrynodes.c Merge remote-tracking branch 'public/bug21415_testfix_030' into maint-0.3.0 2017-04-03 09:27:40 -04:00
entrynodes.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
ext_orport.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
ext_orport.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
fallback_dirs.inc Update the fallback directory mirror list in December 2016 2016-12-19 15:44:20 +11:00
fp_pair.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
fp_pair.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
geoip.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
geoip.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
hibernate.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
hibernate.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_cache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_cache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
hs_circuitmap.c hs: Add service-side circuitmap API. 2017-04-13 14:23:51 -04:00
hs_circuitmap.h hs: Add service-side circuitmap API. 2017-04-13 14:23:51 -04:00
hs_common.c prop224: Add time period functions and unittests 2017-04-18 11:03:15 -04:00
hs_common.h prop224: Add time period functions and unittests 2017-04-18 11:03:15 -04:00
hs_descriptor.c prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
hs_descriptor.h prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
hs_intropoint.c Merge branch 'ticket21891_031_01_squashed' 2017-04-13 16:43:13 -04:00
hs_intropoint.h hs: Change trunnel prop224 cell's namespace 2017-04-11 13:46:41 -04:00
hs_ntor.c prop224: Add module that performs the HS ntor handshake. 2017-04-13 09:22:19 -04:00
hs_ntor.h prop224: Add module that performs the HS ntor handshake. 2017-04-13 09:22:19 -04:00
hs_service.c Merge branch 'ticket21891_031_01_squashed' 2017-04-13 16:43:13 -04:00
hs_service.h hs: Change trunnel prop224 cell's namespace 2017-04-11 13:46:41 -04:00
include.am Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
keypin.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
keypin.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
main.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
main.h clang-i386: use house style for public-when-testing variables 2017-05-08 15:38:05 -04:00
Makefile.nmake Netflow record collapsing defense. 2017-05-08 13:49:21 -04:00
microdesc.c Merge branch 'spooling_squashed' 2017-03-28 19:55:18 +02:00
microdesc.h Merge branch 'spooling_squashed' 2017-03-28 19:55:18 +02:00
networkstatus.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
networkstatus.h clang-i386: use house style for public-when-testing variables 2017-05-08 15:38:05 -04:00
nodelist.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
nodelist.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
ntmain.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
ntmain.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_fast.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_fast.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_ntor.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_ntor.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
onion_tap.c Teach cov-exclude to detect runaway LCOV_EXCL_START lines 2017-04-25 10:59:19 -04:00
onion_tap.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
or.h Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
parsecommon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
parsecommon.h prop224: Change encryption keys descriptor encoding 2017-05-11 08:33:26 -04:00
periodic.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
periodic.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
policies.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
policies.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
protover.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
protover.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
reasons.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
reasons.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
relay.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
relay.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendclient.c Merge branch 'dgoulet_bug22042_031_01_squashed' 2017-05-01 16:08:23 -04:00
rendclient.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcommon.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendcommon.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendmid.c hs: Add service-side circuitmap API. 2017-04-13 14:23:51 -04:00
rendmid.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
rendservice.c Merge remote-tracking branch 'dgoulet/ticket21978_031_02' 2017-05-05 16:32:25 -04:00
rendservice.h hs: Make the service list pruning function public 2017-04-13 16:25:49 -04:00
rephist.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
rephist.h Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
replaycache.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
replaycache.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
router.c Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
router.h Merge branch 'ahf_bugs_21641_squashed' 2017-03-17 11:16:24 -04:00
routerkeys.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
routerkeys.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
routerlist.c Merge branch 'dirreq' 2017-04-27 10:08:32 -04:00
routerlist.h Add regression test for #22304 2017-04-24 09:20:59 -04:00
routerparse.c Update the consdiff directory code based on #22143 fixes 2017-05-04 08:49:02 -04:00
routerparse.h bug#22143/prop#140: identify input diffs by their digest-as-signed 2017-05-03 13:09:08 -04:00
routerset.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
routerset.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
scheduler.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
scheduler.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
shared_random.c Remove SR_COMMIT_LEN workaround 2017-04-07 18:19:15 -04:00
shared_random.h Use macros for base64 lengths in shared_random.h 2017-04-06 17:43:17 -04:00
shared_random_state.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
shared_random_state.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
statefile.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
statefile.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
status.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
status.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
tor_main.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
torcert.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
torcert.h Run the copyright update script. 2017-03-15 16:13:17 -04:00
transports.c Run the copyright update script. 2017-03-15 16:13:17 -04:00
transports.h Run the copyright update script. 2017-03-15 16:13:17 -04:00