From a86650736e90d6dcbbfa7390ffce853d24e9d0e8 Mon Sep 17 00:00:00 2001 From: Robin Salkeld Date: Tue, 27 Apr 2021 16:25:52 -0700 Subject: [PATCH] fix: Downgrade decrypt oracle commitment policy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The policy set earlier doesn’t exist in the 1.x branch. and this value should be perfectly equivalent since the decrypt oracle only decrypts. --- decrypt_oracle/test/integration/integration_test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decrypt_oracle/test/integration/integration_test_utils.py b/decrypt_oracle/test/integration/integration_test_utils.py index 03e50cd0a..eeb6219ac 100644 --- a/decrypt_oracle/test/integration/integration_test_utils.py +++ b/decrypt_oracle/test/integration/integration_test_utils.py @@ -29,7 +29,7 @@ _KMS_MKP = None _ENDPOINT = None -CLIENT = aws_encryption_sdk.EncryptionSDKClient(commitment_policy=CommitmentPolicy.REQUIRE_ENCRYPT_ALLOW_DECRYPT) +CLIENT = aws_encryption_sdk.EncryptionSDKClient(commitment_policy=CommitmentPolicy.FORBID_ENCRYPT_ALLOW_DECRYPT) def decrypt_endpoint() -> Text: