Skip to content
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

AuthorizationHeaderMalformed while trying to download #10

Open
dernasherbrezon opened this issue Mar 2, 2022 · 0 comments
Open

AuthorizationHeaderMalformed while trying to download #10

dernasherbrezon opened this issue Mar 2, 2022 · 0 comments

Comments

@dernasherbrezon
Copy link

Seems like S3 changed protocol or apt-s3 doesn't support non-default s3 region.

# apt-s3 -download s3://${BUCKET_NAME}.s3-${BUCKET_REGION}.amazonaws.com/pool/main/r/myfile.deb -path myfile.deb
2022/03/02 12:21:40 AuthorizationHeaderMalformed: The authorization header is malformed; the authorization component "Credential=aws_access_key_id= something/20220302/eu-west-2/s3/aws4_request" is malformed.
	status code: 400, request id: something, host id: something

Version:

# apt-s3 -version
apt-s3 0.1.5 (Go version: go1.17.6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant