On Wed, Jun 11, 2014 at 9:56 AM, <
matthi...@gmail.com> wrote:
> Any ideas?
let's listen to the conversation of two tls entities. seems, a) the
server wants at least tls1.2; tls.Config{MinVersion:
tls.VersionTLS12}, b) also wants sha384/rsa and/or sha384/ecdsa
hash/sig algorithms in negotiation.
--- a/src/pkg/crypto/tls/common.go Tue Jun 10 20:20:49 2014 -0400
+++ b/src/pkg/crypto/tls/common.go Wed Jun 11 14:40:10 2014 +0900
@@ -122,6 +122,7 @@
const (
hashSHA1 uint8 = 2
hashSHA256 uint8 = 4
+ hashSHA384 uint8 = 5
)
// Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1)
@@ -143,6 +144,8 @@
{hashSHA256, signatureECDSA},
{hashSHA1, signatureRSA},
{hashSHA1, signatureECDSA},
+ {hashSHA384, signatureRSA},
+ {hashSHA384, signatureECDSA},
}