Commit 31a8b034 authored by ale's avatar ale

Update deps

parent ed4cc268
Pipeline #699 passed with stages
in 1 minute and 27 seconds
......@@ -60,6 +60,11 @@ func (c *TLSAuthConfig) match(req *http.Request) bool {
return false
}
var serverCiphers = []uint16{
tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
}
// TLSServerConfig configures a TLS server with client authentication
// and authorization based on the client X509 certificate.
type TLSServerConfig struct {
......@@ -87,7 +92,7 @@ func (c *TLSServerConfig) TLSConfig() (*tls.Config, error) {
Certificates: []tls.Certificate{cert},
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: cas,
CipherSuites: []uint16{tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384},
CipherSuites: serverCiphers,
MinVersion: tls.VersionTLS12,
PreferServerCipherSuites: true,
}
......
......@@ -5,20 +5,20 @@
{
"checksumSHA1": "raJx5BjBbVQG0ylGSjPpi+JvqjU=",
"path": "git.autistici.org/ai3/go-common",
"revision": "cd9ee1e6cc35b08a350d3dcb1b331750b363a82d",
"revisionTime": "2017-12-14T07:42:45Z"
"revision": "0cc062297e2c27f9a1abcb1a00172d1e0281f8cb",
"revisionTime": "2017-12-14T08:46:15Z"
},
{
"checksumSHA1": "2X2UMundICtpGTb8pTdBk7PCKss=",
"path": "git.autistici.org/ai3/go-common/clientutil",
"revision": "cd9ee1e6cc35b08a350d3dcb1b331750b363a82d",
"revisionTime": "2017-12-14T07:42:45Z"
"revision": "0cc062297e2c27f9a1abcb1a00172d1e0281f8cb",
"revisionTime": "2017-12-14T08:46:15Z"
},
{
"checksumSHA1": "g6I5506EXkjQetiXSYbVTypDnDM=",
"checksumSHA1": "wY0SM35qAhX3P2IZzDnYa068cPw=",
"path": "git.autistici.org/ai3/go-common/serverutil",
"revision": "cd9ee1e6cc35b08a350d3dcb1b331750b363a82d",
"revisionTime": "2017-12-14T07:42:45Z"
"revision": "0cc062297e2c27f9a1abcb1a00172d1e0281f8cb",
"revisionTime": "2017-12-14T08:46:15Z"
},
{
"checksumSHA1": "Br4iXxLFs+Yp7doAZQUccQA/su4=",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment