Last active
February 17, 2016 10:22
-
-
Save hc2p/4b4d8352073c7323515a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"AWS4-HMAC-SHA256 Credential=AKIAJ4NXC5Z5PTTEN5AQ/" strftime({"%Y%m%d"}, now) "/eu-central-1/s3/aws4_request, SignedHeaders=date;host;x-amz-content-sha256, Signature=" | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64( | |
digest.hmac_sha256_base64("AWS4Zen9WnHAHYF5QeTdZIFyKcFW6DbrCCYXMJIKgTI5", strftime({"%Y%m%d"}, now)) | |
, "eu-central-1") | |
, "s3") | |
, "aws4_request") | |
, | |
"AWS4-HMAC-SHA256/n" | |
strftime({"%Y%m%dT%H%M%S%z"}, now) "/n" | |
strftime({"%Y%m%d"}, now) "/eu-central-1/s3/aws4_request/n" | |
digest.hash_sha256( | |
"GET/n" | |
req.url.path "/n" | |
"/n" | |
"date:" strftime({"%Y%m%dT%H%M%S%z"}, now) "/n" | |
"host:tapetv-de-transcoding-production.s3.eu-central-1.amazonaws.com/n" | |
"x-amz-content-sha256:" digest.hash_sha256("") "/n" | |
"/n" | |
"date;host;x-amz-content-sha256/n" | |
digest.hash_sha256("") | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
something is wrong with this