question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

encode_point has been deprecated on EllipticCurvePublicNumbers

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jrconlincommented, Mar 13, 2019

1.9.0 has been published https://pypi.org/project/pywebpush/

1reaction
jrconlincommented, Mar 13, 2019

Sorry, had to work on the real job for a bit.

Patch is pending review https://github.com/web-push-libs/pywebpush/pull/103

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found