Skip to content

Commit 23246f6

Browse files
committed
fix
1 parent 6ff24fd commit 23246f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/src/keyrings/set_encryption_algorithm_suite_example.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
data using the data key. By setting this algorithm, you can configure the algorithm used
99
to encrypt and decrypt your data.
1010
11-
Encryption algorithms can be set in a similar manner in other keyrings as well. However,
11+
Algorithm suites can be set in a similar manner in other keyrings as well. However,
1212
please make sure that you're using a logical algorithm suite that is compatible with your
1313
keyring. For more information on algorithm suites supported by the AWS Encryption SDK, see
1414
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/supported-algorithms.html
@@ -19,8 +19,8 @@
1919
latter, which is the algorithm suite for protecting your data. When the commitment policy is
2020
REQUIRE_ENCRYPT_REQUIRE_DECRYPT, the default algorithm used in the encrypt method is
2121
AES_256_GCM_HKDF_SHA512_COMMIT_KEY_ECDSA_P384, which is a committing and signing algorithm.
22-
Signature verification is extremely useful to ensure the integrity of a digital message as it goes
23-
between systems. However, signature verification adds a significant performance cost to encryption
22+
Signature verification ensures the integrity of a digital message as it goes across trust
23+
boundaries. However, signature verification adds a significant performance cost to encryption
2424
and decryption. If encryptors and decryptors are equally trusted, we can consider using an algorithm
2525
suite that does not include signing. This example sets the algorithm suite as
2626
AES_256_GCM_HKDF_SHA512_COMMIT_KEY, which is a committing but non-signing algorithm.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3-
"""Test suite for the Set Encryption Algorithm Suite example for a Raw AES keyring."""
3+
"""Test suite for the Set Algorithm Suite example for a Raw AES keyring."""
44
import pytest
55

66
from ...src.keyrings.set_encryption_algorithm_suite_example import encrypt_and_decrypt_with_keyring
@@ -9,5 +9,5 @@
99

1010

1111
def test_encrypt_and_decrypt_with_keyring():
12-
"""Test function for setting an encryption algorithm suite in a Raw AES Keyring."""
12+
"""Test function for setting an algorithm suite in a Raw AES Keyring."""
1313
encrypt_and_decrypt_with_keyring()

0 commit comments

Comments
 (0)