CryptographyDeprecationWarning: int_from_bytes is deprecated #6605
Labels
external
This issue is blocked on a bug with the actual product.
priority: p2
Moderately-important priority. Fix may not be included in next release.
samples
Issues that are directly related to samples.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Executing the IAP sample https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/iap I'm getting the warning:
/usr/local/lib/python3.8/site-packages/google/auth/crypt/es256.py:56: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
r = utils.int_from_bytes(sig_bytes[:32], byteorder="big")
As a consequence, my code is failing. Is Someone else having this error?
The text was updated successfully, but these errors were encountered: