Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change root CA key size to 256 bits #1375

Closed
aaronlehmann opened this issue Aug 15, 2016 · 0 comments
Closed

Change root CA key size to 256 bits #1375

aaronlehmann opened this issue Aug 15, 2016 · 0 comments

Comments

@aaronlehmann
Copy link
Collaborator

Our current root CA key generation creates P384 ECDSA keys. It turns out that Go's P384 implementaiton is very slow. Doing a TLS handshake with keys signed by this root CA key takes 100 ms on a modern laptop, and nearly 2 seconds on a slow ARM machine - see #1364. This could potentially cause problems when many nodes reconnect at the same time, say after a network partition is resolved.

I think we should change the root CA key size to 256 bits, to take advantage of P256 optimizations. I think this will provide a sufficient security level. In my benchmarks, the handshakes go down to about 3 ms on my laptop.

cc @tonistiigi @diogomonica @NathanMcCauley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant