Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[P2 Release] HTTP_S3_download demo updates using SigV4 Library #1692

Merged
merged 82 commits into from
Aug 14, 2021

Conversation

gshvang
Copy link
Contributor

@gshvang gshvang commented Aug 10, 2021

This PR contains changes related to use of SigV4 library in HTTP_S3_download demo for generation of Authorization header.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@gshvang gshvang requested a review from a team as a code owner August 10, 2021 21:12
yourslab
yourslab previously approved these changes Aug 12, 2021
Copy link
Contributor

@yourslab yourslab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

demos/http/http_demo_s3_download/demo_config.h Outdated Show resolved Hide resolved
demos/http/http_demo_s3_download/http_demo_s3_download.c Outdated Show resolved Hide resolved
demos/http/http_demo_s3_download/demo_config.h Outdated Show resolved Hide resolved
demos/http/http_demo_s3_download/sigv4_config.h Outdated Show resolved Hide resolved
manifest.yml Outdated Show resolved Hide resolved
.hashFinal = sha256Final,
.pHashContext = &hashContext,
.hashBlockLen = SIGV4_HASH_MAX_BLOCK_LENGTH,
.hashDigestLen = SIGV4_HASH_MAX_DIGEST_LENGTH,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it works with this macro. However, that won't work when multiple hash algorithms are used at the same time. Pls create a macro in the demo that specifies the block and digest length for SHA256.

yourslab
yourslab previously approved these changes Aug 12, 2021
aggarw13
aggarw13 previously approved these changes Aug 13, 2021
aggarw13
aggarw13 previously approved these changes Aug 14, 2021
yourslab
yourslab previously approved these changes Aug 14, 2021
@abhidixi11 abhidixi11 merged commit abb735b into aws:main Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants