Skip to content

Commit

Permalink
Merge pull request #8903 from kdaily/kdaily-fix-cloudtrail-rsa-test
Browse files Browse the repository at this point in the history
[v2] Update RSA private key size to 2048 in CloudTrail unit test
  • Loading branch information
kdaily authored Sep 6, 2024
2 parents 9137cbb + 456bf3f commit 2aaa023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/customizations/cloudtrail/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def setUp(self):
self._digest_data['_signature'] = 'aeff'

def test_validates_digests(self):
private_key = rsa.generate_private_key(65537, 512, default_backend())
private_key = rsa.generate_private_key(65537, 2048, default_backend())
sha256_hash = hashlib.sha256(self._inflated_digest)
string_to_sign = "%s\n%s/%s\n%s\n%s" % (
self._digest_data['digestEndTime'],
Expand Down

0 comments on commit 2aaa023

Please sign in to comment.