diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-08-27 17:31:41 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-08-27 17:31:41 +0200 |
commit | 325ecffb37c24ca9538d105b830aaf1e5991c716 (patch) | |
tree | 3e111dd93f46ef8a2750a150bd884024fd4aada1 /python | |
parent | 4615ca63b9b5bb08e11b50cb07d57b5610e9aaf9 (diff) |
Use a cheaper elliptic curve
Diffstat (limited to 'python')
-rw-r--r-- | python/vespa/vespa/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vespa/vespa/package.py b/python/vespa/vespa/package.py index 4312380dcfe..03f394f4aa5 100644 --- a/python/vespa/vespa/package.py +++ b/python/vespa/vespa/package.py @@ -527,7 +527,7 @@ class VespaCloud(object): @staticmethod def create_certificate_pair() -> (ec.EllipticCurvePrivateKey, x509.Certificate): - key = ec.generate_private_key(ec.SECP521R1, default_backend()) + key = ec.generate_private_key(ec.SECP384R1, default_backend()) name = x509.Name([x509.NameAttribute(x509.NameOID.COMMON_NAME, u'localhost')]) certificate = x509.CertificateBuilder() \ .subject_name(name) \ |