You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The assumption here is that all newly-created buckets will support v4 signing and that amazon will support both v2 and v4 signing with older buckets <- needs to be verified.
[This seems to indicate that v2 will continue to be supported with older buckets; however, there can never be a guarantee as to what Amazon will decide to do in the future: "Any new buckets created after June 24, 2020 will not support SigV2 signed requests, although existing buckets will continue to support SigV2 while we work with customers to move off this older request signing method." https://aws.amazon.com/blogs/aws/amazon-s3-update-sigv2-deprecation-period-extended-modified/]
Bookshelf needs to be made v4 compliant. As a next task we can think of migration from bookshelf to minio. Automate also currently supports bookshelf.
https://aws.amazon.com/blogs/aws/amazon-s3-update-sigv2-deprecation-period-extended-modified/
Please see: #1911
The authentication protocol for aws request signing has changed to v4. To support this work needs to be in 2 parts:
Tasks:
1) Update Erlang R20DONE2) Update Chef Server aws request signing to v4:
Some things to consider while choosing the library:
some eg libraries
LICENSE: compliant https://github.com/erlcloud/erlcloud/blob/master/COPYRIGHT
sts assumerole and instance profiles: supported
Erlang versions: supported erlang version only until erlang 21. [ADDENDUM: Appears to compile and run under Erlang 22 in limited testing]
Documentation: NONE
Notes:
It appears that erlcloud does not do any signing; you must roll that yourself.Appears to do signing, but not presigning.Issues and PRs regarding presigning:
Add erlcloud_s3:make_presigned_v4_url function erlcloud/erlcloud#562
Added functions to create pre-signed URLs for S3 erlcloud/erlcloud#586
Add erlcloud_s3:make_presigned_v4_url function erlcloud/erlcloud#560
Use V4 signature for signing S3 urls erlcloud/erlcloud#342
LICENSE: https://github.com/AdRoll/erliam/blob/master/LICENSE (BSD)
supports sts
supported erlang version 20 and 21
LICENSE: Apache 2.0
appears to support erlang 22 as well?
Signing for aws is done in very limited places in erchef:
[This seems to indicate that v2 will continue to be supported with older buckets; however, there can never be a guarantee as to what Amazon will decide to do in the future: "Any new buckets created after June 24, 2020 will not support SigV2 signed requests, although existing buckets will continue to support SigV2 while we work with customers to move off this older request signing method." https://aws.amazon.com/blogs/aws/amazon-s3-update-sigv2-deprecation-period-extended-modified/]
NOTE:
Related issues:
chef/mini_s3#23 (comment)