Repository navigation
[cloudfront] Upgrade sign command: ECDSA, SHA-256, wildcard policies, input validation #10716
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
Merged
+2,236
−420
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
77b6101
Support ecdsa cloudfront
23f8d3c
Add CloudFront URL sign command and refactor signing logic
d6ae904
Add URL sign functional test suite and test key files
76742e6
Add changelog entries for CloudFront sign
24607cb
Refactor CloudFront sign validation and improve backward compat
5379221
Remove strict validation for CloudFront sign command inputs for backw…
4dfb5aa
Add input validation and wildcard support for sign command
0fc6289
Refactor date parsing, add key validation and sign tests
e7529bc
Simplify sign validation and consolidate sign changelog entries
ba8fa64
Fix sign.py: add AwsCrtError import, remove extra _validate_signing_a…
e975da6
Fix test_sign.py: update mock paths to cloudfront.sign module, trim T…
038553c
Move sign-cookies botocore method and cookie tests to feat-cloudfront…
64c5e37
Move PEM-leak tests to feat-log-redaction
376ff73
Address comment: remove left over from splitting PRs
341fbc7
Address comment: drop signed cookie wording from CloudFrontSigner doc…
54abf1b
Address feedback: Passing keep_blank_values=True to parse_qsl
24a753e
address feedback: fix comment
7e12417
Address feedback: double wrapping error message
5987d1b
Address feedback: signin example
0ab6cee
Address feedback
90cb690
Add testing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "type": "bugfix", | ||
| "category": "``cloudfront``", | ||
| "description": "Fix ``aws cloudfront sign`` to support ``fileb://`` private keys and PEM files that contain other blocks, such as a certificate." | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "type": "enhancement", | ||
| "category": "``cloudfront``", | ||
| "description": "``aws cloudfront sign`` now supports ECDSA (P-256) private keys, SHA-256 signing with ``--hash-algorithm``, and wildcard policies with ``--policy-resource``, and rejects input that would produce a URL CloudFront rejects." | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.