Skip to content

Commit 2e13c51

Browse files
committed
Remove trailing period on CEK-alg mismatch error to match the majority of error messages
1 parent 23c2179 commit 2e13c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/s3_encryption/materials/kms_keyring.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def on_decrypt(self, dec_materials, encrypted_data_keys=None):
205205
raise S3EncryptionClientError(
206206
f"The content encryption algorithm in the KMS-authenticated encryption context "
207207
f"'{kms_authenticated_algorithm}' does not match the algorithm suite selected "
208-
f"for decryption '{decryption_cek_algorithm}'."
208+
f"for decryption '{decryption_cek_algorithm}'"
209209
)
210210

211211
##= specification/s3-encryption/materials/s3-kms-keyring.md#decryptdatakey

0 commit comments

Comments
 (0)