File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ def migration_aws_kms_key(
152
152
# that the encryption context used in the decrypt operation
153
153
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
154
154
assert all (
155
- pair in decrypted_header_keyring_using_mkp .encryption_context .items () \
156
- for pair in enc_header_keyring .encryption_context .items ()
155
+ pair in decrypted_header_keyring_using_mkp .encryption_context .items ()
156
+ for pair in enc_header_keyring .encryption_context .items ()
157
157
)
158
158
159
159
assert decrypted_ciphertext_keyring_using_keyring == decrypted_ciphertext_keyring_using_mkp \
@@ -179,8 +179,8 @@ def migration_aws_kms_key(
179
179
# that the encryption context used in the decrypt operation
180
180
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
181
181
assert all (
182
- pair in decrypted_header_mkp_using_mkp .encryption_context .items () \
183
- for pair in enc_header_mkp .encryption_context .items ()
182
+ pair in decrypted_header_mkp_using_mkp .encryption_context .items ()
183
+ for pair in enc_header_mkp .encryption_context .items ()
184
184
)
185
185
186
186
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def migration_raw_aes_key():
193
193
# that the encryption context used in the decrypt operation
194
194
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
195
195
assert all (
196
- pair in decrypted_header_keyring_using_mkp .encryption_context .items () \
196
+ pair in decrypted_header_keyring_using_mkp .encryption_context .items ()
197
197
for pair in enc_header_keyring .encryption_context .items ()
198
198
)
199
199
@@ -220,8 +220,8 @@ def migration_raw_aes_key():
220
220
# that the encryption context used in the decrypt operation
221
221
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
222
222
assert all (
223
- pair in decrypted_header_mkp_using_mkp .encryption_context .items () \
224
- for pair in enc_header_mkp .encryption_context .items ()
223
+ pair in decrypted_header_mkp_using_mkp .encryption_context .items ()
224
+ for pair in enc_header_mkp .encryption_context .items ()
225
225
)
226
226
227
227
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \
Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ def migration_raw_rsa_key(
245
245
# that the encryption context used in the decrypt operation
246
246
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
247
247
assert all (
248
- pair in decrypted_header_keyring_using_mkp .encryption_context .items () \
249
- for pair in enc_header_keyring .encryption_context .items ()
248
+ pair in decrypted_header_keyring_using_mkp .encryption_context .items ()
249
+ for pair in enc_header_keyring .encryption_context .items ()
250
250
)
251
251
252
252
assert decrypted_ciphertext_keyring_using_keyring == decrypted_ciphertext_keyring_using_mkp \
@@ -272,8 +272,8 @@ def migration_raw_rsa_key(
272
272
# that the encryption context used in the decrypt operation
273
273
# includes all key pairs from the encrypt operation. (The SDK can add pairs, so don't require an exact match.)
274
274
assert all (
275
- pair in decrypted_header_mkp_using_mkp .encryption_context .items () \
276
- for pair in enc_header_mkp .encryption_context .items ()
275
+ pair in decrypted_header_mkp_using_mkp .encryption_context .items ()
276
+ for pair in enc_header_mkp .encryption_context .items ()
277
277
)
278
278
279
279
assert decrypted_ciphertext_mkp_using_keyring == decrypted_ciphertext_mkp_using_mkp \
You can’t perform that action at this time.
0 commit comments