storj/pkg/peertls/tlsopts
Bryan White 675e0ef683 [V3-1320] fix empty node ID verification non-error (#1395)
* small identity refactor:

+ Optimize? iterative cert chain methods to use array instead of slice
+ Add `ToChain` helper for converting 1d to 2d cert chain
  TODO: replace literal declarations with this
+ rename `ChainRaw/RestChainRaw` to `RawChain/RawRestChain`
  (adjective noun, instead of nound adjective)

* add regression tests for V3-1320

* fix V3-1320

* separate `DialUnverifiedIDOption` from `DialOption`

* separate `PingNode` and `DialNode` from `PingAddress` and `DialAddress`

* update node ID while bootstrapping

* goimports & fix comment

* add test case
2019-03-04 15:03:33 -05:00
..
cert.go pkg/transport: require tls configuration for dialing (#1286) 2019-02-11 13:17:32 +02:00
config.go pkg/transport: require tls configuration for dialing (#1286) 2019-02-11 13:17:32 +02:00
options_test.go [V3-1320] fix empty node ID verification non-error (#1395) 2019-03-04 15:03:33 -05:00
options.go [V3-1320] fix empty node ID verification non-error (#1395) 2019-03-04 15:03:33 -05: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 [V3-1320] fix empty node ID verification non-error (#1395) 2019-03-04 15:03:33 -05:00
tls.go [V3-1320] fix empty node ID verification non-error (#1395) 2019-03-04 15:03:33 -05:00