Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: decrypt filter does not cross multipart boundaries
multipart uploads with sse encrypts each part separately, using an initialization vector based on the part offset decryption must respect the same part boundaries, and start each part with a fresh initialization vector. this means that the decrypt filter must flush data up to part boundaries before starting the next Fixes: http://tracker.ceph.com/issues/38700 Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit b782902)
- Loading branch information
1 parent
64524b5
commit 67f2b9c
Showing
3 changed files
with
57 additions
and
41 deletions.
There are no files selected for viewing
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
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
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