Skip to content

Conversation

fenos
Copy link
Contributor

@fenos fenos commented Jun 13, 2024

What kind of change does this PR introduce?

Bug fix

What is the new behavior?

  • Refactored SignatureV4 class to make it more readable

  • When signing keys with the AWS CLI for fetching an object, the payloadHash is UNSIGNED.
    This PR will honour this behaviour

@fenos fenos force-pushed the storage/fix-get-presigned-urls branch from 8370d7c to e0234c0 Compare June 13, 2024 08:55
@coveralls
Copy link

coveralls commented Jun 13, 2024

Pull Request Test Coverage Report for Build 9496647184

Details

  • 122 of 158 (77.22%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.05%) to 80.011%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/storage/protocols/s3/signature-v4.ts 122 158 77.22%
Files with Coverage Reduction New Missed Lines %
src/storage/protocols/s3/signature-v4.ts 3 81.84%
Totals Coverage Status
Change from base Build 9483026076: 0.05%
Covered Lines: 12623
Relevant Lines: 15631

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jun 13, 2024

Pull Request Test Coverage Report for Build 9496700286

Details

  • 122 of 158 (77.22%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.05%) to 80.011%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/storage/protocols/s3/signature-v4.ts 122 158 77.22%
Files with Coverage Reduction New Missed Lines %
src/storage/protocols/s3/signature-v4.ts 3 81.84%
Totals Coverage Status
Change from base Build 9483026076: 0.05%
Covered Lines: 12623
Relevant Lines: 15631

💛 - Coveralls

@fenos fenos merged commit 8483e05 into master Jun 13, 2024
@fenos fenos deleted the storage/fix-get-presigned-urls branch June 13, 2024 09:26
Copy link

🎉 This PR is included in version 1.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants