- Package Name: azure-identity
- Package Version:
- Operating System:
- Python Version:
Describe the bug
Per
cryptography stopped requiring the use of backend arguments in version 3.1 and deprecated their use in version 36.0. If you are on an older version that requires these arguments please view the appropriate documentation version or upgrade to the latest release.
Note that for forward compatibility backend is still silently accepted by functions that previously required it, but it is ignored and no longer documented.
Expected behavior
Azure Identity currently requires
and passes backend arguments:
|
private_key = serialization.load_pem_private_key(certificate_data, password, backend=default_backend()) |
|
cert = x509.load_pem_x509_certificate(certificate_data, default_backend()) |
but the best practice is to bump cryptography to newer version and stop using deprecated backend argument.
Describe the bug
Per
Expected behavior
Azure Identity currently requires
azure-sdk-for-python/sdk/identity/azure-identity/setup.py
Line 63 in d840732
and passes
backendarguments:azure-sdk-for-python/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py
Lines 95 to 96 in 07d1063
but the best practice is to bump
cryptographyto newer version and stop using deprecatedbackendargument.