]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: deprecate SSLv3 support
authorFilippo Valsorda <filippo@golang.org>
Thu, 27 Jun 2019 23:00:08 +0000 (19:00 -0400)
committerFilippo Valsorda <filippo@golang.org>
Mon, 15 Jul 2019 23:00:52 +0000 (23:00 +0000)
Updates #32716

Change-Id: Ia0c03918e8f2da4d9824c49c6d4cfca1b0787b0a
Reviewed-on: https://go-review.googlesource.com/c/go/+/184102
Reviewed-by: Andrew Bonventre <andybons@golang.org>
doc/go1.13.html
src/crypto/tls/common.go

index 9d2c65be2bab29398dc62ab1d5cf593caf410c68..4240d4b1a7a00ba591981821a3e99f26ef3653c8 100644 (file)
@@ -534,6 +534,14 @@ godoc
 
 <dl id="crypto/tls"><dt><a href="/pkg/crypto/tls/">crypto/tls</a></dt>
   <dd>
+    <p>
+      Support for SSL version 3.0 (SSLv3) <a href="https://golang.org/issue/32716">
+      is now deprecated and will be removed in Go 1.14</a>. Note that SSLv3
+      <a href="https://tools.ietf.org/html/rfc7568">is cryptographically
+      broken</a>, is already disabled by default in <code>crypto/tls</code>,
+      and was never supported by Go clients.
+    </p>
+
     <p><!-- CL 177698 -->
       Ed25519 certificates are now supported in TLS versions 1.2 and 1.3.
     </p>
index d135b1fc994cf4bc1c653cc08eb0896d3acad33b..da1eae08009f1ee2acfd64aa144c378572650198 100644 (file)
@@ -23,11 +23,14 @@ import (
 )
 
 const (
-       VersionSSL30 = 0x0300
        VersionTLS10 = 0x0301
        VersionTLS11 = 0x0302
        VersionTLS12 = 0x0303
        VersionTLS13 = 0x0304
+
+       // Deprecated: SSLv3 is cryptographically broken, and will be
+       // removed in Go 1.14. See golang.org/issue/32716.
+       VersionSSL30 = 0x0300
 )
 
 const (