Skip to content

CryptographyDeprecationWarning: int_from_bytes is deprecated #6605

@randalb1991

Description

@randalb1991

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?

Metadata

Metadata

Assignees

Labels

externalThis issue is blocked on a bug with the actual product.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions