Skip to content

Commit 862734a

Browse files
Update examples/src/one_kms_cmk_unsigned.py
Co-Authored-By: Matt Bullock <bullocm@amazon.com>
1 parent a7fcb4a commit 862734a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/one_kms_cmk_unsigned.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def encrypt_decrypt(key_arn, source_plaintext, botocore_session=None):
3636

3737
# Encrypt the plaintext using the AWS Encryption SDK. It returns the encrypted message and the header
3838
ciphertext, encrypted_message_header = encrypt(
39-
algorithm=Algorithm.AES_256_GCM_IV12_TAG16, source=source_plaintext, key_provider=kms_key_provider
39+
algorithm=Algorithm.AES_256_GCM_IV12_TAG16_HKDF_SHA256, source=source_plaintext, key_provider=kms_key_provider
4040
)
4141

4242
# Decrypt the encrypted message using the AWS Encryption SDK. It returns the decrypted message and the header

0 commit comments

Comments
 (0)