From 8fc14a73087d0f5533b6a3a305b9fb2e6205c32c Mon Sep 17 00:00:00 2001 From: John Date: Tue, 19 Sep 2017 04:45:31 +0100 Subject: [PATCH] rpc: add additional go 1.8 TLS cipher suites --- lnd.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lnd.go b/lnd.go index 485bf97d..8aeb92cd 100644 --- a/lnd.go +++ b/lnd.go @@ -262,15 +262,18 @@ func lndMain() error { * primitives, but the client's preference order has more * effect during negotiation. **/ - // TODO(aakselrod): add more cipher suites when 1.7 isn't - // supported. CipherSuites: []uint16{ tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, tls.TLS_RSA_WITH_AES_256_GCM_SHA384, + tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, + tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, + tls.TLS_RSA_WITH_AES_128_CBC_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, tls.TLS_RSA_WITH_AES_128_GCM_SHA256, + tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, + tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, }, MinVersion: tls.VersionTLS12, }