storj/pkg/peertls/tlsopts
JT Olio 6ede140df1
pkg/rpc: defeat MITM attacks in most cases (#3215)
This change adds a trusted registry (via the source code) of node address to node id mappings (currently only for well known Satellites) to defeat MITM attacks to Satellites. It also extends the uplink UI such that when entering a satellite address by hand, a node id prefix can also be added to defeat MITM attacks with unknown satellites.

When running uplink setup, satellite addresses can now be of the form 12EayRS2V1k@us-central-1.tardigrade.io (not even using a full node id) to ensure that the peer contacted is the peer that was expected. When using a known satellite address, the known node ids are used if no override is provided.
2019-10-12 14:34:41 -06:00
..
cert.go pkg/transport: require tls configuration for dialing (#1286) 2019-02-11 13:17:32 +02:00
config.go cmd/storagenode: pull more things into releaseDefaults (#1980) 2019-05-21 13:48:47 +02:00
options_internal_test.go tlsopts: fix helper (#1515) 2019-04-10 09:07:51 -04:00
options_test.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
options.go pkg/revocation: ensure we close revocation databases (#2825) 2019-08-20 18:04:17 +03:00
tls_helpers_test.go [V3-1320] fix empty node ID verification non-error (#1395) 2019-03-04 15:03:33 -05:00
tls_test.go pkg/revocation: ensure we close revocation databases (#2825) 2019-08-20 18:04:17 +03:00
tls.go pkg/rpc: defeat MITM attacks in most cases (#3215) 2019-10-12 14:34:41 -06:00