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 d55db0b

Browse files
committedMay 1, 2024·
lint
1 parent a681a41 commit d55db0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/aws_encryption_sdk/internal/crypto/wrapping_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def decrypt(self, encrypted_wrapped_data_key, encryption_context):
102102
return self._wrapping_key.decrypt(
103103
ciphertext=encrypted_wrapped_data_key.ciphertext, padding=self.wrapping_algorithm.padding
104104
)
105-
except ValueError as e:
105+
except ValueError:
106106
raise IncorrectMasterKeyError("_wrapping_key cannot decrypt provided ciphertext")
107107
serialized_encryption_context = serialize_encryption_context(encryption_context=encryption_context)
108108
return decrypt(

0 commit comments

Comments
 (0)
Please sign in to comment.