DescriptionPersona non grata
2017-09-27 13:02:03 UTC
Created attachment 1331433[details]
In this script, creation of bucket ,object, setting encryption and downloading object are present
Description of problem:
With boto3, after setting object encryption,I was not getting information about encryption. Also, I was able to download the object without encryption key too!.
Link: http://boto3.readthedocs.io/en/latest/reference/services/s3.html#S3.Client.put_object
Version-Release number of selected component (if applicable):
Ceph 3.0
How reproducible:
Always
Steps to Reproduce:
1. Set up ceph 3.0 cluster.
2. Using boto3, try to create bucket,putting objects into the bucket and set encryption to the object.
3. Try to download the object with encryption key.
Actual results:
For put_object(), which returns info about the object,info about encryption was not displayed, also, object was getting downloaded without encryption key.
==
Expected results:
After put_object(), should return
Example--
{
'Expiration': 'string',
'ETag': 'string',
'ServerSideEncryption': 'AES256'|'aws:kms',
'VersionId': 'string',
'SSECustomerAlgorithm': 'string',
'SSECustomerKeyMD5': 'string',
'SSEKMSKeyId': 'string',
'RequestCharged': 'requester'
}
and ,for downloading object, should ask for encryption key.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:3387