Skip to content

Commit

Permalink
filter all encryption headers in gateway (minio#9661)
Browse files Browse the repository at this point in the history
  • Loading branch information
kannappanr authored May 21, 2020
1 parent a546047 commit fade056
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/crypto/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ func RemoveSensitiveEntries(metadata map[string]string) { // The functions is te
// header entries from the metadata map.
func RemoveSSEHeaders(metadata map[string]string) {
delete(metadata, SSEHeader)
delete(metadata, SSEKmsID)
delete(metadata, SSEKmsContext)
delete(metadata, SSECKeyMD5)
delete(metadata, SSECAlgorithm)
}
Expand Down

0 comments on commit fade056

Please sign in to comment.