Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d489af9

Browse files
committedAug 12, 2024·
cleanup
1 parent 0ca1c28 commit d489af9

16 files changed

+25
-25
lines changed
 

‎examples/src/aws_kms_discovery_keyring_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def encrypt_and_decrypt_with_keyring(
157157
source=ciphertext,
158158
keyring=discovery_keyring,
159159
# Verify that the encryption context in the result contains the
160-
# encryption context supplied to the encryptData method
160+
# encryption context supplied to the encrypt method
161161
encryption_context=encryption_context,
162162
)
163163

@@ -191,7 +191,7 @@ def encrypt_and_decrypt_with_keyring(
191191
source=ciphertext,
192192
keyring=discovery_keyring_bob,
193193
# Verify that the encryption context in the result contains the
194-
# encryption context supplied to the encryptData method
194+
# encryption context supplied to the encrypt method
195195
encryption_context=encryption_context,
196196
)
197197

‎examples/src/aws_kms_discovery_multi_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def encrypt_and_decrypt_with_keyring(
155155
source=ciphertext,
156156
keyring=discovery_multi_keyring,
157157
# Verify that the encryption context in the result contains the
158-
# encryption context supplied to the encryptData method
158+
# encryption context supplied to the encrypt method
159159
encryption_context=encryption_context,
160160
)
161161

‎examples/src/aws_kms_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def encrypt_and_decrypt_with_keyring(
101101
source=ciphertext,
102102
keyring=kms_keyring,
103103
# Verify that the encryption context in the result contains the
104-
# encryption context supplied to the encryptData method
104+
# encryption context supplied to the encrypt method
105105
encryption_context=encryption_context,
106106
)
107107

‎examples/src/aws_kms_mrk_discovery_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def encrypt_and_decrypt_with_keyring(
167167
source=ciphertext,
168168
keyring=decrypt_discovery_keyring,
169169
# Verify that the encryption context in the result contains the
170-
# encryption context supplied to the encryptData method
170+
# encryption context supplied to the encrypt method
171171
encryption_context=encryption_context,
172172
)
173173

‎examples/src/aws_kms_mrk_discovery_multi_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def encrypt_and_decrypt_with_keyring(
176176
source=ciphertext,
177177
keyring=decrypt_discovery_keyring,
178178
# Verify that the encryption context in the result contains the
179-
# encryption context supplied to the encryptData method
179+
# encryption context supplied to the encrypt method
180180
encryption_context=encryption_context,
181181
)
182182

‎examples/src/aws_kms_mrk_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def encrypt_and_decrypt_with_keyring(
136136
source=ciphertext,
137137
keyring=decrypt_keyring,
138138
# Verify that the encryption context in the result contains the
139-
# encryption context supplied to the encryptData method
139+
# encryption context supplied to the encrypt method
140140
encryption_context=encryption_context,
141141
)
142142

‎examples/src/aws_kms_mrk_multi_keyring_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def encrypt_and_decrypt_with_keyring(
128128
source=ciphertext,
129129
keyring=kms_mrk_multi_keyring,
130130
# Verify that the encryption context in the result contains the
131-
# encryption context supplied to the encryptData method
131+
# encryption context supplied to the encrypt method
132132
encryption_context=encryption_context,
133133
)
134134

@@ -160,7 +160,7 @@ def encrypt_and_decrypt_with_keyring(
160160
source=ciphertext,
161161
keyring=second_region_mrk_keyring,
162162
# Verify that the encryption context in the result contains the
163-
# encryption context supplied to the encryptData method
163+
# encryption context supplied to the encrypt method
164164
encryption_context=encryption_context,
165165
)
166166

‎examples/src/aws_kms_multi_keyring_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def encrypt_and_decrypt_with_keyring(
135135
source=ciphertext,
136136
keyring=kms_multi_keyring,
137137
# Verify that the encryption context in the result contains the
138-
# encryption context supplied to the encryptData method
138+
# encryption context supplied to the encrypt method
139139
encryption_context=encryption_context,
140140
)
141141

@@ -169,7 +169,7 @@ def encrypt_and_decrypt_with_keyring(
169169
source=ciphertext,
170170
keyring=default_region_kms_keyring,
171171
# Verify that the encryption context in the result contains the
172-
# encryption context supplied to the encryptData method
172+
# encryption context supplied to the encrypt method
173173
encryption_context=encryption_context,
174174
)
175175

@@ -200,7 +200,7 @@ def encrypt_and_decrypt_with_keyring(
200200
source=ciphertext,
201201
keyring=second_region_kms_keyring,
202202
# Verify that the encryption context in the result contains the
203-
# encryption context supplied to the encryptData method
203+
# encryption context supplied to the encrypt method
204204
encryption_context=encryption_context,
205205
)
206206

‎examples/src/aws_kms_rsa_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def encrypt_and_decrypt_with_keyring(
107107
source=ciphertext,
108108
keyring=kms_rsa_keyring,
109109
# Verify that the encryption context in the result contains the
110-
# encryption context supplied to the encryptData method
110+
# encryption context supplied to the encrypt method
111111
encryption_context=encryption_context,
112112
)
113113

‎examples/src/default_cryptographic_materials_manager_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def encrypt_and_decrypt_with_default_cmm(
113113
source=ciphertext,
114114
materials_manager=cmm,
115115
# Verify that the encryption context in the result contains the
116-
# encryption context supplied to the encryptData method
116+
# encryption context supplied to the encrypt method
117117
encryption_context=encryption_context,
118118
)
119119

‎examples/src/hierarchical_keyring_example.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def encrypt_and_decrypt_with_keyring(
202202
source=ciphertext_a,
203203
keyring=hierarchical_keyring_b,
204204
# Verify that the encryption context in the result contains the
205-
# encryption context supplied to the encryptData method
205+
# encryption context supplied to the encrypt method
206206
encryption_context=encryption_context_a,
207207
)
208208
except AWSEncryptionSDKClientError:
@@ -215,7 +215,7 @@ def encrypt_and_decrypt_with_keyring(
215215
source=ciphertext_b,
216216
keyring=hierarchical_keyring_a,
217217
# Verify that the encryption context in the result contains the
218-
# encryption context supplied to the encryptData method
218+
# encryption context supplied to the encrypt method
219219
encryption_context=encryption_context_b,
220220
)
221221
except AWSEncryptionSDKClientError:
@@ -227,7 +227,7 @@ def encrypt_and_decrypt_with_keyring(
227227
source=ciphertext_a,
228228
keyring=hierarchical_keyring_a,
229229
# Verify that the encryption context in the result contains the
230-
# encryption context supplied to the encryptData method
230+
# encryption context supplied to the encrypt method
231231
encryption_context=encryption_context_a,
232232
)
233233
assert plaintext_bytes_a == EXAMPLE_DATA, \
@@ -237,7 +237,7 @@ def encrypt_and_decrypt_with_keyring(
237237
source=ciphertext_b,
238238
keyring=hierarchical_keyring_b,
239239
# Verify that the encryption context in the result contains the
240-
# encryption context supplied to the encryptData method
240+
# encryption context supplied to the encrypt method
241241
encryption_context=encryption_context_b,
242242
)
243243
assert plaintext_bytes_b == EXAMPLE_DATA, \

‎examples/src/migration/migration_set_commitment_policy_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def encrypt_and_decrypt_with_keyring(
109109
source=ciphertext,
110110
keyring=kms_keyring,
111111
# Verify that the encryption context in the result contains the
112-
# encryption context supplied to the encryptData method
112+
# encryption context supplied to the encrypt method
113113
encryption_context=encryption_context,
114114
)
115115

‎examples/src/multi_keyring_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def encrypt_and_decrypt_with_keyring(
166166
source=ciphertext,
167167
keyring=multi_keyring,
168168
# Verify that the encryption context in the result contains the
169-
# encryption context supplied to the encryptData method
169+
# encryption context supplied to the encrypt method
170170
encryption_context=encryption_context,
171171
)
172172

@@ -187,7 +187,7 @@ def encrypt_and_decrypt_with_keyring(
187187
source=ciphertext,
188188
keyring=kms_keyring,
189189
# Verify that the encryption context in the result contains the
190-
# encryption context supplied to the encryptData method
190+
# encryption context supplied to the encrypt method
191191
encryption_context=encryption_context,
192192
)
193193

@@ -205,7 +205,7 @@ def encrypt_and_decrypt_with_keyring(
205205
source=ciphertext,
206206
keyring=raw_aes_keyring,
207207
# Verify that the encryption context in the result contains the
208-
# encryption context supplied to the encryptData method
208+
# encryption context supplied to the encrypt method
209209
encryption_context=encryption_context,
210210
)
211211

‎examples/src/raw_aes_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def encrypt_and_decrypt_with_keyring():
111111
source=ciphertext,
112112
keyring=raw_aes_keyring,
113113
# Verify that the encryption context in the result contains the
114-
# encryption context supplied to the encryptData method
114+
# encryption context supplied to the encrypt method
115115
encryption_context=encryption_context,
116116
)
117117

‎examples/src/raw_rsa_keyring_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def encrypt_and_decrypt_with_keyring(public_key_file_name=None, private_key_file
209209
source=ciphertext,
210210
keyring=raw_rsa_keyring,
211211
# Verify that the encryption context in the result contains the
212-
# encryption context supplied to the encryptData method
212+
# encryption context supplied to the encrypt method
213213
encryption_context=encryption_context,
214214
)
215215

‎examples/src/set_encryption_algorithm_suite_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def encrypt_and_decrypt_with_keyring():
132132
source=ciphertext,
133133
keyring=raw_aes_keyring,
134134
# Verify that the encryption context in the result contains the
135-
# encryption context supplied to the encryptData method
135+
# encryption context supplied to the encrypt method
136136
encryption_context=encryption_context,
137137
)
138138

0 commit comments

Comments
 (0)
Please sign in to comment.