Closed
Description
Environment details
- OS: Debian 11 (bullseye)
- Python version: 3.9.2
- pip version: 20.3.4
google-auth
version: 1.30
Steps to reproduce
Decode a JWT token from Google Cloud Identity-Aware Proxy
Error
The following deprecation warnings are issues from the cryptography
library:
/usr/local/lib/python3.9/dist-packages/google/auth/crypt/es256.py:56: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
/usr/local/lib/python3.9/dist-packages/google/auth/crypt/es256.py:57: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
The changes necessary seem self evident. The function in question exists in Python 3.2+ and therefore falls within the currently stated supported versions (3.5+).