I'm currently working with the AWS Encryption SDK to encrypt a file using a KMS keyring. However, I've run into an error that states: CryptographyDeprecationWarning: Curve argument must be an instance of an EllipticCurve class. Did you pass a class by mistake? This will be an exception in a future version of cryptography. private_key = ec.generate_private_key(...) AttributeError: 'Error_Opaque' object has no attribute 'message' I am using the latest versions of all related libraries and tools. Has anyone else encountered this issue, and if so, how did you resolve it? my code Continue reading...