Skip to content

CryptographyDeprecationWarning with latest version of cryptography and aws-encryption-sdk #319

Closed
@tleonhardt

Description

@tleonhardt

I'm using the following package versions:

  • aws-encryption-sdk==2.0.0
  • cryptography==3.4.4

When I import a module which uses aws_encryption_sdk, I get the following warning:

/usr/local/lib/python3.7/site-packages/aws_encryption_sdk/internal/crypto/elliptic_curve.py:21: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import InterfaceNotImplemented, int_from_bytes, int_to_bytes, verify_interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions