AWS boto (python) 是否支持 SES 签名版本 4?
Is AWS boto (python) supporting SES signature version 4?
由于 AWS 于 2020 年 10 月弃用 SES 的签名版本 3,我想使用 AWS boto (Python) 处理此问题。但我没有看到任何与支持 SES 签名版本 4 的 boto 相关的文档。
有人遇到类似问题并有解决方案吗?
我的建议是您从基本上已弃用的 boto 迁移到 boto3,因为 boto3 默认支持签名 v4(必须显式配置的 S3 预签名 URL 除外)。
将 j0nam1el's 提升为答案,因为它直接回答了问题:
I found where SignatureV4 support was added to boto (in 2012). However, cross-referencing this and this, it appears that the boto.ses code still uses HmacAuthV3Handler. From this, I conclude that users of the older 'boto.ses' library will not be able to continue utilizing AWS SES past 2020-10-01.
如this github issue所述,截止日期已延长:
We are extending support for Signature Version 3 until February 28, 2021 (the previously announced deprecation date was October 1, 2020). Beginning March 1 2021, support for Signature Version 3 will be turned off in Amazon SES, and only Signature Version 4 will be supported going forward. Amazon SES customers who are currently using Signature Version 3 must migrate to Signature Version 4 by February 28, 2021. After that, requests using Signature Version 3 will be progressively throttled in Amazon SES.
我不确定“逐步限制”的确切含义 - old-style 请求会随机失败,还是只需要更长时间?如果您知道,请编辑此答案。
由于 AWS 于 2020 年 10 月弃用 SES 的签名版本 3,我想使用 AWS boto (Python) 处理此问题。但我没有看到任何与支持 SES 签名版本 4 的 boto 相关的文档。 有人遇到类似问题并有解决方案吗?
我的建议是您从基本上已弃用的 boto 迁移到 boto3,因为 boto3 默认支持签名 v4(必须显式配置的 S3 预签名 URL 除外)。
将 j0nam1el's
I found where SignatureV4 support was added to boto (in 2012). However, cross-referencing this and this, it appears that the boto.ses code still uses HmacAuthV3Handler. From this, I conclude that users of the older 'boto.ses' library will not be able to continue utilizing AWS SES past 2020-10-01.
如this github issue所述,截止日期已延长:
We are extending support for Signature Version 3 until February 28, 2021 (the previously announced deprecation date was October 1, 2020). Beginning March 1 2021, support for Signature Version 3 will be turned off in Amazon SES, and only Signature Version 4 will be supported going forward. Amazon SES customers who are currently using Signature Version 3 must migrate to Signature Version 4 by February 28, 2021. After that, requests using Signature Version 3 will be progressively throttled in Amazon SES.
我不确定“逐步限制”的确切含义 - old-style 请求会随机失败,还是只需要更长时间?如果您知道,请编辑此答案。