Skip to content

aptly publish update removes encryption #647

Closed
@rtkghesselink

Description

When using server side encryption on S3 buckets, I found that running a aptly publish update does not pass through the encryption method:

2017/09/28 14:33:07 DEBUG: Response s3/CopyObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 403 Forbidden
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 28 Sep 2017 14:33:07 GMT
Server: AmazonS3
X-Amz-Id-2: PkQDQbeOWrp869GCThKMOIn0LJ5dVV5RInU18wkzeLclG5CFEkOKbRJtYMFj6d3CjfTODm6np5E=
X-Amz-Request-Id: D019B1DA28A54485

but
aws s3 cp s3://bucket/Release.tmp s3:/bucket/Release --sse AES256 works.
Also confirmed by turning off the requirement of encryption on my bucket, that the Release file that is uploaded is not encrypted.

This is on aptly 1.1.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions