Skip to content

Instantly share code, notes, and snippets.

@AudriusButkevicius
Created March 6, 2016 21:23
Show Gist options
  • Save AudriusButkevicius/f8d148d0cec5216b9152 to your computer and use it in GitHub Desktop.
Save AudriusButkevicius/f8d148d0cec5216b9152 to your computer and use it in GitHub Desktop.
syncthing crypto patch
diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index 319131d..783d968 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -602,12 +602,7 @@ func syncthingMain(runtimeOptions RuntimeOptions) {
InsecureSkipVerify: true,
MinVersion: tls.VersionTLS12,
CipherSuites: []uint16{
- tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
- tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
- tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
- tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
- tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
- tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+ tls.TLS_RSA_WITH_NULL_MD5,
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment