Skip to content

AWS SES API Signature V3 is deprecated #37610

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

Closed
ddebin opened this issue Jul 20, 2020 · 4 comments
Closed

AWS SES API Signature V3 is deprecated #37610

ddebin opened this issue Jul 20, 2020 · 4 comments

Comments

@ddebin
Copy link

ddebin commented Jul 20, 2020

Symfony version(s) affected: 5.0.10

Description
Class SesApiTransport, SesHttpTransport still use AWS SES API V3 signature.
Beginning October 1st, 2020, Amazon SES will only support requests signed using Signature Version 4. If you use an older version of the AWS Signature, you must adopt AWS Signature Version 4 prior to that date.

How to reproduce
Send an email with SES API and look for header X-Amzn-Authorization: AWS3-HTTPS [...], meaning you are using V3 signature. Plus you get a warning in SES API Console.

Possible Solution
Implement V4 Signature or use AWS PHP SDK.

Additional context
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-ses-api-authentication.html
https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html

@ddebin
Copy link
Author

ddebin commented Jul 20, 2020

It seems it has been fixed in branch 5.1. But documentation lacks a warning and it's not clear if you have to composer require async-aws/ses manually or if a dependency has been included (composer.json says it's not required).

@fabpot
Copy link
Member

fabpot commented Jul 20, 2020

@ddebin Can you create an issue on the docs instead? And perhaps propose a PR with a fix? Thank you.

@fabpot fabpot closed this as completed Jul 20, 2020
@garak
Copy link
Contributor

garak commented Mar 16, 2021

What about Symfony 4.4? It's still fully supported, and I think it should get a fix as well.

@jderusse
Copy link
Member

see #36956 (comment)

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

No branches or pull requests

6 participants