Merge lp:~pedronis/ubuntu-push/no-rc4-cipher-suites-no-ssl-v3 into lp:ubuntu-push/automatic

Proposed by Samuele Pedroni
Status: Merged
Approved by: Samuele Pedroni
Approved revision: 376
Merged at revision: 376
Proposed branch: lp:~pedronis/ubuntu-push/no-rc4-cipher-suites-no-ssl-v3
Merge into: lp:ubuntu-push/automatic
Diff against target: 22 lines (+12/-0)
1 file modified
server/tlsconfig.go (+12/-0)
To merge this branch: bzr merge lp:~pedronis/ubuntu-push/no-rc4-cipher-suites-no-ssl-v3
Reviewer Review Type Date Requested Status
Guillermo Gonzalez Approve
Bret Barker (community) Approve
Review via email: mp+253377@code.launchpad.net

Commit message

servers shouldn't allow sslv3 and shouldn't advertize rc4 cipher suites

Description of the change

servers shouldn't allow sslv3 and shouldn't advertize rc4 cipher suites

To post a comment you must log in.
376. By Samuele Pedroni

remove debug print

Revision history for this message
Bret Barker (noise) wrote :

looks good.

review: Approve
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'server/tlsconfig.go'
2--- server/tlsconfig.go 2014-09-04 12:51:08 +0000
3+++ server/tlsconfig.go 2015-03-18 14:44:53 +0000
4@@ -48,6 +48,18 @@
5 tlsCfg := &tls.Config{
6 Certificates: []tls.Certificate{cfg.cert},
7 SessionTicketsDisabled: true,
8+ // order from crypto/tls/cipher_suites.go, no RC4
9+ CipherSuites: []uint16{
10+ tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
11+ tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
12+ tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
13+ tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
14+ tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
15+ tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
16+ tls.TLS_RSA_WITH_AES_128_CBC_SHA,
17+ tls.TLS_RSA_WITH_AES_256_CBC_SHA,
18+ },
19+ MinVersion: tls.VersionTLS12,
20 }
21 return tlsCfg
22 }

Subscribers

People subscribed via source and target branches