Skip to content

Commit

Permalink
Run yaml, end of file, and whitespace checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaily committed Jan 13, 2025
1 parent 941482d commit 320f80a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions awscli/customizations/cloudtrail/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ def validate(self, bucket, key, public_key, digest_data, inflated_digest):
signature_bytes = binascii.unhexlify(digest_data['_signature'])

result = public_key.verify(
signature_algorithm=RSASignatureAlgorithm.PKCS1_5_SHA256,
digest=hashlib.sha256(to_sign).digest(),
signature_algorithm=RSASignatureAlgorithm.PKCS1_5_SHA256,
digest=hashlib.sha256(to_sign).digest(),
signature=signature_bytes
)
if not result:
Expand Down
2 changes: 1 addition & 1 deletion awscli/customizations/cloudtrail/verifyqueryresults.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class CloudTrailVerifyQueryResult(BasicCommand):
CloudTrail delivered them.
.. note::
For verify export file from S3, this command requires that the user or
For verify export file from S3, this command requires that the user or
role executing the command has permission to call GetObject, and
GetBucketLocation for the bucket that store the export file.
"""
Expand Down

0 comments on commit 320f80a

Please sign in to comment.