1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 12:12:43 +01:00
phorge-phorge/src/docs
epriestley 3dfa89dd5d Update SES API to use AWSv4 signatures
Summary:
Ref T13570. Fixes T13235. In most cases, we use modern (v4) signatures for almost all AWS API calls, and have for several years.

However, sending email via SES currently uses an older piece of external code which uses the older (v3) signature method.

AWS is retiring v3 signatures on October 1 2020, so this pathway will stop working.

Update the pathway to use `PhutilAWSFuture`, which provides v4 signatures.

T13235 discusses poor error messages from SES. Switching to Futures fixes this for free, as they have more useful error handling.

Test Plan:
  - Configured an SES mailer, including the new `region` parameter.
  - Used `bin/mail send-test` to send mail via SES.
  - Sent invalid mail (from an unverified address); got a more useful error message.
  - Grepped for removed external, no hits.

Maniphest Tasks: T13570, T13235

Differential Revision: https://secure.phabricator.com/D21461
2020-09-15 13:03:49 -07:00
..
book Merge "Audit" more completely into "Diffusion" 2017-01-11 16:28:42 -08:00
contributor Fix spelling 2017-10-09 10:48:04 -07:00
flavor Remove "Large Changes" documentation and make some minor behavioral improvements 2018-04-05 06:40:46 -07:00
tech Remove all "Phabricator Bot" code 2017-04-21 12:48:35 -07:00
user Update SES API to use AWSv4 signatures 2020-09-15 13:03:49 -07:00