Skip to content

Commit 7bb3b19

Browse files
authored
Bug/curve (#160)
* bug: Use function call for curve value Closes #159
1 parent c5507b2 commit 7bb3b19

File tree

3 files changed

+2
-89
lines changed

3 files changed

+2
-89
lines changed

.circleci/config.yml

-87
This file was deleted.

pywebpush/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def encode(self, data, content_encoding="aes128gcm"):
202202
logging.debug("Salt: {}".format(salt))
203203
# The server key is an ephemeral ECDH key used only for this
204204
# transaction
205-
server_key = ec.generate_private_key(ec.SECP256R1, default_backend())
205+
server_key = ec.generate_private_key(ec.SECP256R1(), default_backend())
206206
crypto_key = server_key.public_key().public_bytes(
207207
encoding=serialization.Encoding.X962,
208208
format=serialization.PublicFormat.UncompressedPoint

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import find_packages, setup
55

66

7-
__version__ = "1.14.0"
7+
__version__ = "1.14.1"
88

99

1010
def read_from(file):

0 commit comments

Comments
 (0)