Created
March 6, 2016 21:23
-
-
Save AudriusButkevicius/f8d148d0cec5216b9152 to your computer and use it in GitHub Desktop.
syncthing crypto patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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