mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-04-08 19:25:06 +02:00
The cryptography release 39.0.0 added a new parameter to the backend.load_pem_private_key and backend.load_der_private_key that's required. This patch uses the serialization method to load keys because there the new parameter is optional. https://cryptography.io/en/latest/changelog/#v39-0-0 This patch fixes the tests test_encrypt_decrypt_asymmetric