Skip to content

api/encrypt: Get() on encrypted object should be a readCloser#699

Merged
harshavardhana merged 1 commit into
minio:masterfrom
harshavardhana:cbc-reader
Jun 3, 2017
Merged

api/encrypt: Get() on encrypted object should be a readCloser#699
harshavardhana merged 1 commit into
minio:masterfrom
harshavardhana:cbc-reader

Conversation

@harshavardhana
Copy link
Copy Markdown
Member

We should implement io.Closer for the encryption materials
to close the underlying reader whenever a caller requests.

GetEncryptedObject() should have returned io.ReadCloser
in the first place.

We should implement `io.Closer` for the encryption materials
to close the underlying reader whenever a caller requests.

GetEncryptedObject() should have returned `io.ReadCloser`
in the first place.
@harshavardhana harshavardhana changed the title bapi/encrypt: Get() on encrypted object should be a reader. api/encrypt: Get() on encrypted object should be a reader. Jun 1, 2017
@deekoder deekoder requested review from balamurugana and vadmeste June 1, 2017 23:49
@vadmeste
Copy link
Copy Markdown
Member

vadmeste commented Jun 2, 2017

LGTM and tested.

@deekoder deekoder requested review from krisis and removed request for balamurugana June 2, 2017 23:21
@tejaycar
Copy link
Copy Markdown
Contributor

tejaycar commented Jun 3, 2017

@harshavardhana anything else I can do to help this along? I assume we're just waiting on that final review?

@harshavardhana harshavardhana changed the title api/encrypt: Get() on encrypted object should be a reader. api/encrypt: Get() on encrypted object should be a readCloser Jun 3, 2017
@deekoder deekoder requested review from nitisht and removed request for krisis June 3, 2017 01:30
Copy link
Copy Markdown
Contributor

@nitisht nitisht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM

@harshavardhana harshavardhana merged commit f2362d9 into minio:master Jun 3, 2017
@harshavardhana harshavardhana deleted the cbc-reader branch June 3, 2017 02:47
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

Successfully merging this pull request may close these issues.

4 participants