Skip to content

Implement sigv4a signing in aws_request_signing extension#31336

Merged
mattklein123 merged 42 commits intoenvoyproxy:mainfrom
nbaws:sigv4a_redo
Jan 3, 2024
Merged

Implement sigv4a signing in aws_request_signing extension#31336
mattklein123 merged 42 commits intoenvoyproxy:mainfrom
nbaws:sigv4a_redo

Conversation

@nbaws
Copy link
Copy Markdown
Contributor

@nbaws nbaws commented Dec 13, 2023

Commit Message: Implement sigv4a signing in aws_request_signing extension
Additional Description: See #31000 for proposal
Risk Level: Low
Testing: Unit
Docs Changes: API Proto
Release Notes: N/A
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] #31000
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

nbaws and others added 7 commits December 12, 2023 03:14
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @wbpcode
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #31336 was opened by nbaws.

see: more, trace.

@nbaws
Copy link
Copy Markdown
Contributor Author

nbaws commented Dec 13, 2023

/assign @suniltheta

@repokitteh-read-only
Copy link
Copy Markdown

nbaws is not allowed to assign users.

🐱

Caused by: a #31336 (comment) was created by @nbaws.

see: more, trace.

@suniltheta
Copy link
Copy Markdown
Contributor

/assign @suniltheta

Copy link
Copy Markdown
Contributor

@suniltheta suniltheta left a comment

Choose a reason for hiding this comment

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

Initial set of review with just skimming the changes.

  1. Missing release notes update on changelogs/current.yaml
  2. Run CI script format is failing with spell check. See if you can fix those by running ./tools/local_fix_format.sh while the diffs are not yet committed.

Comment thread test/extensions/common/aws/metadata_fetcher_test.cc
Comment thread source/extensions/common/aws/signer_base.cc Outdated
Comment thread source/common/crypto/utility.h Outdated
Comment thread source/common/crypto/utility_impl.cc Outdated
@nbaws nbaws changed the title Sigv4a redo Implement sigv4a signing in aws_request_signing extension Dec 15, 2023
nbaws and others added 13 commits December 15, 2023 17:16
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
nbaws and others added 4 commits December 22, 2023 22:39
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
@nbaws
Copy link
Copy Markdown
Contributor Author

nbaws commented Dec 24, 2023

Thanks for your great contribution. Some comments are added to the API or code style, but not to the new logic.

I think this require review from @mattklein123 because I have no background knowledge about the aws signing.

thank you for your feedback!

Comment thread source/extensions/common/aws/signer_base_impl.cc Outdated
nbaws and others added 4 commits December 27, 2023 11:46
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Comment thread changelogs/current.yaml Outdated
Comment thread docs/root/configuration/http/http_filters/aws_request_signing_filter.rst Outdated
Comment thread source/extensions/filters/http/aws_request_signing/config.cc Outdated
Comment thread source/extensions/filters/http/aws_request_signing/config.cc
Comment thread source/extensions/common/aws/signer_base_impl.h
Comment thread source/extensions/common/aws/sigv4a_key_derivation.cc Outdated
Comment thread source/extensions/common/aws/sigv4_signer_impl.h Outdated
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Copy link
Copy Markdown
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

Only two nit comments to the API, then the API looks good to me.

(Thanks for you in timely update, and sorry for my delay.)

Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Comment thread source/extensions/filters/http/aws_request_signing/config.cc Outdated
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

LGTM with small nit, thanks.

/wait

Comment thread source/extensions/common/aws/BUILD Outdated
Comment thread source/extensions/common/aws/sigv4a_key_derivation.cc
Signed-off-by: Nigel Brittain <nbaws@amazon.com>
@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Jan 3, 2024

/lgtm api

@repokitteh-read-only repokitteh-read-only Bot removed the api label Jan 3, 2024
@mattklein123 mattklein123 merged commit 48ced96 into envoyproxy:main Jan 3, 2024
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.

4 participants