Skip to content

Support SHA-256 on CloudFront signing#3406

Open
Madrigal wants to merge 3 commits into
mainfrom
feat-cloudfront-sign-sha256
Open

Support SHA-256 on CloudFront signing#3406
Madrigal wants to merge 3 commits into
mainfrom
feat-cloudfront-sign-sha256

Conversation

@Madrigal
Copy link
Copy Markdown
Contributor

@Madrigal Madrigal commented May 4, 2026

CloudFront supports SHA-256 as of April 2026 https://aws.amazon.com/about-aws/whats-new/2026/04/amazon-cloudfront-sha-256-signed-urls/

We add support for CloudFront signing via customization, so extending it to support SHA-256 as another algorithm to use by adding SignWithAlgorithm function. Existing Sign uses SHA-1 and not providing an algorithm defaults to SHA-1, so existing users won't be impacted by this.

There's no guidance from CloudFront about this being preferred over SHA-1, so not marking any existing functions as deprecated or on path to deprecation, or marking any preference between one or the other.

This was verified on a similar fashion as a previous PR #3325 (comment)

This closes #3373

@Madrigal Madrigal requested a review from a team as a code owner May 4, 2026 18:26
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.

feature/cloudfront/sign: Add SHA-256 support for signed URLs and cookies

1 participant