Skip to content

cryptography int_from_bytes is deprecated #902

Closed
@jgriffith-cp

Description

@jgriffith-cp

Error: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead

r = utils.int_from_bytes(sig_bytes[:32], byteorder="big")

Environment details

  • OS: Ubuntu 20.04.3
  • Python version: 3.8.10
  • pip version: 20.0.2
  • google-auth version: 2.3.2

Steps to reproduce

  1. install google auth using pip
  2. Python: from google.oauth2 import service_account

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.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