|
|
ECDSA TLS cert support, default for new certs
ECDSA P-256 provides an equivalent to 128-bits of security, an improvement
over RSA-1024 (equivalent to 80-bits of security)[1].
Provided benchmarks indicate that a P-256 TLS handshake incurs a 3ms increase
in CPU time over RSA-1024 (about 48%). However, RSA-2048 (still weaker
than P-256) incurs a 90% increase in CPU time for a TLS handshake.
PASS: cert_test.go:172: certSuite.BenchmarkEcdsa256Handshake 200
9425053 ns/op
PASS: cert_test.go:185: certSuite.BenchmarkEcdsa256Sha256Handshake
200 9396808 ns/op
PASS: cert_test.go:146: certSuite.BenchmarkRsa1024Handshake 500
6355974 ns/op
PASS: cert_test.go:159: certSuite.BenchmarkRsa2048Handshake 100
12092335 ns/op
[1] http://csrc.nist.gov/publications/nistpubs/800-57/sp800-57_part1_rev3_general.pdf,
Table 2, p. 64
https://code.launchpad.net/~cmars/juju-core/ecdsa-tls/+merge/219230
(do not edit description out of merge proposal)
Total comments: 6
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+514 lines, -160 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/agent.go
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/agent_test.go
|
View
|
|
5 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
 |
M |
agent/bootstrap_test.go
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/format-1.18.go
|
View
|
|
3 chunks |
+6 lines, -0 lines |
1 comment
|
Download
|
 |
M |
agent/format_whitebox_test.go
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
agent/identity_test.go
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
agent/mongo/mongo.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
agent/mongo/mongo_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cert/cert.go
|
View
|
1
2
|
9 chunks |
+199 lines, -38 lines |
3 comments
|
Download
|
 |
M |
cert/cert_test.go
|
View
|
1
2
|
7 chunks |
+182 lines, -66 lines |
4 comments
|
Download
|
 |
M |
cmd/jujud/agent_test.go
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/bootstrap_test.go
|
View
|
1
2
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
environs/cloudinit.go
|
View
|
1
2
|
3 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
M |
environs/cloudinit/cloudinit_test.go
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
environs/config/config.go
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
1 comment
|
Download
|
 |
M |
environs/config/config_test.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
environs/httpstorage/backend.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
environs/open.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/api/params/params.go
|
View
|
1
2
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
testing/cert.go
|
View
|
|
4 chunks |
+19 lines, -13 lines |
1 comment
|
Download
|
 |
M |
testing/mgo.go
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/rsyslog/worker.go
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8
|