encode_point has been deprecated on EllipticCurvePublicNumbers
See original GitHub issueI’m getting this deprecation warning:
\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()
Python v3.6.8 Cryptography v2.5
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to silence EllipticCurvePublicNumbers.encode_point ...
encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.
Read more >25094 – python-paramiko produces warnings - Mageia Bugzilla
py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version.
Read more >Paramiko/cryptography deprecation warnings - Anycodings.com
Paramikocryptography deprecation warnings: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

1.9.0 has been published https://pypi.org/project/pywebpush/
Sorry, had to work on the real job for a bit.
Patch is pending review https://github.com/web-push-libs/pywebpush/pull/103