$ ./eventinvoke.py
/usr/local/lib/python3.5/dist-packages/py_vapid/init.py:292: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
self.public_key.public_numbers().encode_point())
/usr/local/lib/python3.5/dist-packages/pywebpush/init.py:189: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
crypto_key = server_key.public_key().public_numbers().encode_point()
/usr/local/lib/python3.5/dist-packages/http_ece/init.py:72: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
numbers = ec.EllipticCurvePublicNumbers.from_encoded_point(ec.SECP256R1(), dh)
/usr/local/lib/python3.5/dist-packages/http_ece/init.py:75: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
encoded = private_key.public_key().public_numbers().encode_point()
/usr/local/lib/python3.5/dist-packages/http_ece/init.py:389: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
kid = private_key.public_key().public_numbers().encode_point()
$ ./eventinvoke.py /usr/local/lib/python3.5/dist-packages/py_vapid/init.py:292: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding. self.public_key.public_numbers().encode_point()) /usr/local/lib/python3.5/dist-packages/pywebpush/init.py:189: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding. crypto_key = server_key.public_key().public_numbers().encode_point() /usr/local/lib/python3.5/dist-packages/http_ece/init.py:72: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point numbers = ec.EllipticCurvePublicNumbers.from_encoded_point(ec.SECP256R1(), dh) /usr/local/lib/python3.5/dist-packages/http_ece/init.py:75: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding. encoded = private_key.public_key().public_numbers().encode_point() /usr/local/lib/python3.5/dist-packages/http_ece/init.py:389: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding. kid = private_key.public_key().public_numbers().encode_point()